halo-fe 1.0.16 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/dist/main.js +1934 -1853
  2. package/esm/coms/Code.vue.d.ts +41 -0
  3. package/esm/coms/Col.vue.d.ts +11 -0
  4. package/esm/coms/Compare.vue.d.ts +40 -0
  5. package/esm/coms/Container.vue.d.ts +23 -0
  6. package/esm/coms/RichText.vue.d.ts +24 -0
  7. package/esm/coms/Row.vue.d.ts +21 -0
  8. package/esm/coms/types/CodeEmit.d.ts +23 -0
  9. package/esm/coms/types/CodeProps.d.ts +18 -0
  10. package/esm/coms/types/RichTextOptions.d.ts +14 -0
  11. package/esm/coms/types/RichTextProps.d.ts +12 -0
  12. package/esm/coms/types/RowProps.d.ts +14 -0
  13. package/esm/drivers/IDriver.d.ts +10 -0
  14. package/esm/drivers/cdns/Cdn.d.ts +8 -4
  15. package/esm/drivers/cdns/ICdn.d.ts +0 -4
  16. package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
  17. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +15 -0
  18. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -2
  19. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +21 -0
  20. package/esm/drivers/cdns/implements/ThirdCdn.d.ts +0 -7
  21. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +12 -0
  22. package/esm/drivers/factories/DriverFactory.d.ts +64 -0
  23. package/esm/drivers/factories/Factory.d.ts +18 -0
  24. package/esm/drivers/factories/IFactory.d.ts +18 -0
  25. package/esm/drivers/factories/index.d.ts +42 -0
  26. package/esm/drivers/providers/implements/StorageHelper.d.ts +34 -0
  27. package/esm/drivers/tasks/ITask.d.ts +4 -1
  28. package/esm/drivers/tasks/Task.d.ts +2 -1
  29. package/esm/drivers/tasks/implement/MemoryTask.d.ts +2 -2
  30. package/esm/factorying/Factories.d.ts +5 -0
  31. package/esm/factorying/Factory.d.ts +1 -0
  32. package/esm/helpers/ArrayHelper.d.ts +4 -0
  33. package/esm/helpers/ScriptHelper.d.ts +19 -0
  34. package/esm/helpers/array-helper.d.ts +97 -0
  35. package/esm/helpers/component-helper.d.ts +18 -0
  36. package/esm/helpers/cookie-helper.d.ts +6 -0
  37. package/esm/helpers/dictionary-helper.d.ts +18 -0
  38. package/esm/helpers/dom-helper.d.ts +86 -0
  39. package/esm/helpers/event-helper.d.ts +30 -0
  40. package/esm/helpers/file-helper.d.ts +22 -0
  41. package/esm/helpers/html-helper.d.ts +10 -0
  42. package/esm/helpers/i18n-helper.d.ts +14 -0
  43. package/esm/helpers/image-helper.d.ts +10 -0
  44. package/esm/helpers/json-helper.d.ts +39 -0
  45. package/esm/helpers/math-helper.d.ts +46 -0
  46. package/esm/helpers/micro-helper.d.ts +10 -0
  47. package/esm/helpers/mount-helper.d.ts +14 -0
  48. package/esm/helpers/object-helper.d.ts +38 -0
  49. package/esm/helpers/script-helper.d.ts +31 -0
  50. package/esm/helpers/scroll-helper.d.ts +14 -0
  51. package/esm/helpers/sign-helper.d.ts +14 -0
  52. package/esm/helpers/storage-helper.d.ts +34 -0
  53. package/esm/helpers/string-helper.d.ts +94 -0
  54. package/esm/helpers/task-helper.d.ts +26 -0
  55. package/esm/helpers/time-helper.d.ts +66 -0
  56. package/esm/helpers/tree-helper.d.ts +54 -0
  57. package/esm/helpers/type-helper.d.ts +26 -0
  58. package/esm/helpers/url-helper.d.ts +96 -0
  59. package/esm/plugins/HtmlTransform.d.ts +6 -0
  60. package/esm/plugins/index.d.ts +1 -2
  61. package/esm/plugins/types/IMessager.d.ts +34 -0
  62. package/esm/plugins/types/index.d.ts +7 -0
  63. package/esm/services/ConfigService.d.ts +66 -0
  64. package/esm/services/DriverService.d.ts +36 -0
  65. package/esm/services/EnvService.d.ts +14 -0
  66. package/esm/services/LogService.d.ts +19 -0
  67. package/esm/services/SettingService.d.ts +42 -0
  68. package/esm/services/SocketService.d.ts +23 -0
  69. package/esm/services/UserService.d.ts +47 -0
  70. package/esm/services/index.d.ts +15 -0
  71. package/esm/services/types/IMessage.d.ts +14 -0
  72. package/esm/services/types/IMessager.d.ts +34 -0
  73. package/esm/services/types/index.d.ts +2 -0
  74. package/esm/servs/ConfigServ.d.ts +66 -0
  75. package/esm/servs/DriverServ.d.ts +36 -0
  76. package/esm/servs/EnvServ.d.ts +14 -0
  77. package/esm/servs/IServ.d.ts +6 -0
  78. package/esm/servs/LogServ.d.ts +19 -0
  79. package/esm/servs/Serv.d.ts +4 -0
  80. package/esm/servs/ServFactory.d.ts +11 -0
  81. package/esm/servs/SettingServ.d.ts +42 -0
  82. package/esm/servs/SocketServ.d.ts +38 -0
  83. package/esm/servs/UserServ.d.ts +47 -0
  84. package/esm/servs/implement/ConfigServ.d.ts +66 -0
  85. package/esm/servs/implement/DriverServ.d.ts +36 -0
  86. package/esm/servs/implement/EnvServ.d.ts +14 -0
  87. package/esm/servs/implement/LogServ.d.ts +19 -0
  88. package/esm/servs/implement/SettingServ.d.ts +42 -0
  89. package/esm/servs/implement/SocketServ.d.ts +38 -0
  90. package/esm/servs/implement/UserServ.d.ts +47 -0
  91. package/esm/servs/index.d.ts +15 -0
  92. package/esm/stores/config.d.ts +63 -0
  93. package/esm/stores/driver.d.ts +37 -0
  94. package/esm/stores/env.d.ts +12 -0
  95. package/esm/stores/index.d.ts +8 -0
  96. package/esm/stores/log.d.ts +20 -0
  97. package/esm/stores/setting.d.ts +43 -0
  98. package/esm/stores/socket.d.ts +27 -0
  99. package/esm/stores/user.d.ts +40 -0
  100. package/esm/svcs/SvcFactory.d.ts +4 -3
  101. package/esm/svcs/entities/AppConfig.d.ts +30 -0
  102. package/esm/svcs/entities/SysConfig.d.ts +8 -0
  103. package/esm/svcs/entities/UserConfig.d.ts +7 -0
  104. package/esm/svcs/entities/index.d.ts +4 -0
  105. package/esm/svcs/implement/ConfigSvc.d.ts +17 -28
  106. package/esm/svcs/implement/DriverSvc.d.ts +3 -1
  107. package/esm/svcs/implement/I18nSvc.d.ts +1 -1
  108. package/esm/svcs/index.d.ts +2 -1
  109. package/esm/svcs/types/Dictionary.d.ts +4 -0
  110. package/esm/svcs/types/index.d.ts +2 -0
  111. package/esm/types/CreateFeOptions.d.ts +1 -1
  112. package/esm/types/CreateOptions.d.ts +18 -0
  113. package/package.json +1 -2
  114. package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
  115. package/dist/assets/state-local-CEworIRt.js +0 -131
  116. package/esm/drivers/builders/types/ProviderTable.d.ts +0 -6
  117. package/esm/drivers/builders/types/index.d.ts +0 -2
@@ -1,258 +0,0 @@
1
- import { i as w } from "./state-local-CEworIRt.js";
2
- function O(n, e, r) {
3
- return e in n ? Object.defineProperty(n, e, {
4
- value: r,
5
- enumerable: !0,
6
- configurable: !0,
7
- writable: !0
8
- }) : n[e] = r, n;
9
- }
10
- function d(n, e) {
11
- var r = Object.keys(n);
12
- if (Object.getOwnPropertySymbols) {
13
- var t = Object.getOwnPropertySymbols(n);
14
- e && (t = t.filter(function(o) {
15
- return Object.getOwnPropertyDescriptor(n, o).enumerable;
16
- })), r.push.apply(r, t);
17
- }
18
- return r;
19
- }
20
- function m(n) {
21
- for (var e = 1; e < arguments.length; e++) {
22
- var r = arguments[e] != null ? arguments[e] : {};
23
- e % 2 ? d(Object(r), !0).forEach(function(t) {
24
- O(n, t, r[t]);
25
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach(function(t) {
26
- Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(r, t));
27
- });
28
- }
29
- return n;
30
- }
31
- function I(n, e) {
32
- if (n == null) return {};
33
- var r = {}, t = Object.keys(n), o, i;
34
- for (i = 0; i < t.length; i++)
35
- o = t[i], !(e.indexOf(o) >= 0) && (r[o] = n[o]);
36
- return r;
37
- }
38
- function S(n, e) {
39
- if (n == null) return {};
40
- var r = I(n, e), t, o;
41
- if (Object.getOwnPropertySymbols) {
42
- var i = Object.getOwnPropertySymbols(n);
43
- for (o = 0; o < i.length; o++)
44
- t = i[o], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(n, t) && (r[t] = n[t]);
45
- }
46
- return r;
47
- }
48
- function P(n, e) {
49
- return A(n) || E(n, e) || T(n, e) || C();
50
- }
51
- function A(n) {
52
- if (Array.isArray(n)) return n;
53
- }
54
- function E(n, e) {
55
- if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(n)))) {
56
- var r = [], t = !0, o = !1, i = void 0;
57
- try {
58
- for (var a = n[Symbol.iterator](), u; !(t = (u = a.next()).done) && (r.push(u.value), !(e && r.length === e)); t = !0)
59
- ;
60
- } catch (c) {
61
- o = !0, i = c;
62
- } finally {
63
- try {
64
- !t && a.return != null && a.return();
65
- } finally {
66
- if (o) throw i;
67
- }
68
- }
69
- return r;
70
- }
71
- }
72
- function T(n, e) {
73
- if (n) {
74
- if (typeof n == "string") return v(n, e);
75
- var r = Object.prototype.toString.call(n).slice(8, -1);
76
- if (r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set") return Array.from(n);
77
- if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return v(n, e);
78
- }
79
- }
80
- function v(n, e) {
81
- (e == null || e > n.length) && (e = n.length);
82
- for (var r = 0, t = new Array(e); r < e; r++) t[r] = n[r];
83
- return t;
84
- }
85
- function C() {
86
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
87
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
88
- }
89
- var z = {
90
- paths: {
91
- vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
92
- }
93
- };
94
- function D(n) {
95
- return function e() {
96
- for (var r = this, t = arguments.length, o = new Array(t), i = 0; i < t; i++)
97
- o[i] = arguments[i];
98
- return o.length >= n.length ? n.apply(this, o) : function() {
99
- for (var a = arguments.length, u = new Array(a), c = 0; c < a; c++)
100
- u[c] = arguments[c];
101
- return e.apply(r, [].concat(o, u));
102
- };
103
- };
104
- }
105
- function M(n) {
106
- return {}.toString.call(n).includes("Object");
107
- }
108
- function q(n) {
109
- return n || g("configIsRequired"), M(n) || g("configType"), n.urls ? (L(), {
110
- paths: {
111
- vs: n.urls.monacoBase
112
- }
113
- }) : n;
114
- }
115
- function L() {
116
- console.warn(b.deprecation);
117
- }
118
- function $(n, e) {
119
- throw new Error(n[e] || n.default);
120
- }
121
- var b = {
122
- configIsRequired: "the configuration object is required",
123
- configType: "the configuration object should be an object",
124
- default: "an unknown error accured in `@monaco-editor/loader` package",
125
- deprecation: `Deprecation warning!
126
- You are using deprecated way of configuration.
127
-
128
- Instead of using
129
- monaco.config({ urls: { monacoBase: '...' } })
130
- use
131
- monaco.config({ paths: { vs: '...' } })
132
-
133
- For more please check the link https://github.com/suren-atoyan/monaco-loader#config
134
- `
135
- }, g = D($)(b), R = {
136
- config: q
137
- }, _ = function() {
138
- for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
139
- r[t] = arguments[t];
140
- return function(o) {
141
- return r.reduceRight(function(i, a) {
142
- return a(i);
143
- }, o);
144
- };
145
- };
146
- function h(n, e) {
147
- return Object.keys(e).forEach(function(r) {
148
- e[r] instanceof Object && n[r] && Object.assign(e[r], h(n[r], e[r]));
149
- }), m(m({}, n), e);
150
- }
151
- var x = {
152
- type: "cancelation",
153
- msg: "operation is manually canceled"
154
- };
155
- function s(n) {
156
- var e = !1, r = new Promise(function(t, o) {
157
- n.then(function(i) {
158
- return e ? o(x) : t(i);
159
- }), n.catch(o);
160
- });
161
- return r.cancel = function() {
162
- return e = !0;
163
- }, r;
164
- }
165
- var W = w.create({
166
- config: z,
167
- isInitialized: !1,
168
- resolve: null,
169
- reject: null,
170
- monaco: null
171
- }), y = P(W, 2), f = y[0], l = y[1];
172
- function B(n) {
173
- var e = R.config(n), r = e.monaco, t = S(e, ["monaco"]);
174
- l(function(o) {
175
- return {
176
- config: h(o.config, t),
177
- monaco: r
178
- };
179
- });
180
- }
181
- function H() {
182
- var n = f(function(e) {
183
- var r = e.monaco, t = e.isInitialized, o = e.resolve;
184
- return {
185
- monaco: r,
186
- isInitialized: t,
187
- resolve: o
188
- };
189
- });
190
- if (!n.isInitialized) {
191
- if (l({
192
- isInitialized: !0
193
- }), n.monaco)
194
- return n.resolve(n.monaco), s(p);
195
- if (window.monaco && window.monaco.editor)
196
- return j(window.monaco), n.resolve(window.monaco), s(p);
197
- _(N, G)(K);
198
- }
199
- return s(p);
200
- }
201
- function N(n) {
202
- return document.body.appendChild(n);
203
- }
204
- function F(n) {
205
- var e = document.createElement("script");
206
- return n && (e.src = n), e;
207
- }
208
- function G(n) {
209
- var e = f(function(t) {
210
- var o = t.config, i = t.reject;
211
- return {
212
- config: o,
213
- reject: i
214
- };
215
- }), r = F("".concat(e.config.paths.vs, "/loader.js"));
216
- return r.onload = function() {
217
- return n();
218
- }, r.onerror = e.reject, r;
219
- }
220
- function K() {
221
- var n = f(function(r) {
222
- var t = r.config, o = r.resolve, i = r.reject;
223
- return {
224
- config: t,
225
- resolve: o,
226
- reject: i
227
- };
228
- }), e = window.require;
229
- e.config(n.config), e(["vs/editor/editor.main"], function(r) {
230
- j(r), n.resolve(r);
231
- }, function(r) {
232
- n.reject(r);
233
- });
234
- }
235
- function j(n) {
236
- f().monaco || l({
237
- monaco: n
238
- });
239
- }
240
- function U() {
241
- return f(function(n) {
242
- var e = n.monaco;
243
- return e;
244
- });
245
- }
246
- var p = new Promise(function(n, e) {
247
- return l({
248
- resolve: n,
249
- reject: e
250
- });
251
- }), J = {
252
- config: B,
253
- init: H,
254
- __getMonacoInstance: U
255
- };
256
- export {
257
- J as l
258
- };
@@ -1,131 +0,0 @@
1
- function O(e, t, n) {
2
- return t in e ? Object.defineProperty(e, t, {
3
- value: n,
4
- enumerable: !0,
5
- configurable: !0,
6
- writable: !0
7
- }) : e[t] = n, e;
8
- }
9
- function g(e, t) {
10
- var n = Object.keys(e);
11
- if (Object.getOwnPropertySymbols) {
12
- var r = Object.getOwnPropertySymbols(e);
13
- t && (r = r.filter(function(i) {
14
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
15
- })), n.push.apply(n, r);
16
- }
17
- return n;
18
- }
19
- function v(e) {
20
- for (var t = 1; t < arguments.length; t++) {
21
- var n = arguments[t] != null ? arguments[t] : {};
22
- t % 2 ? g(Object(n), !0).forEach(function(r) {
23
- O(e, r, n[r]);
24
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function(r) {
25
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
26
- });
27
- }
28
- return e;
29
- }
30
- function y() {
31
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
32
- t[n] = arguments[n];
33
- return function(r) {
34
- return t.reduceRight(function(i, a) {
35
- return a(i);
36
- }, r);
37
- };
38
- }
39
- function c(e) {
40
- return function t() {
41
- for (var n = this, r = arguments.length, i = new Array(r), a = 0; a < r; a++)
42
- i[a] = arguments[a];
43
- return i.length >= e.length ? e.apply(this, i) : function() {
44
- for (var f = arguments.length, s = new Array(f), o = 0; o < f; o++)
45
- s[o] = arguments[o];
46
- return t.apply(n, [].concat(i, s));
47
- };
48
- };
49
- }
50
- function h(e) {
51
- return {}.toString.call(e).includes("Object");
52
- }
53
- function m(e) {
54
- return !Object.keys(e).length;
55
- }
56
- function l(e) {
57
- return typeof e == "function";
58
- }
59
- function j(e, t) {
60
- return Object.prototype.hasOwnProperty.call(e, t);
61
- }
62
- function w(e, t) {
63
- return h(t) || u("changeType"), Object.keys(t).some(function(n) {
64
- return !j(e, n);
65
- }) && u("changeField"), t;
66
- }
67
- function P(e) {
68
- l(e) || u("selectorType");
69
- }
70
- function T(e) {
71
- l(e) || h(e) || u("handlerType"), h(e) && Object.values(e).some(function(t) {
72
- return !l(t);
73
- }) && u("handlersType");
74
- }
75
- function S(e) {
76
- e || u("initialIsRequired"), h(e) || u("initialType"), m(e) && u("initialContent");
77
- }
78
- function E(e, t) {
79
- throw new Error(e[t] || e.default);
80
- }
81
- var D = {
82
- initialIsRequired: "initial state is required",
83
- initialType: "initial state should be an object",
84
- initialContent: "initial state shouldn't be an empty object",
85
- handlerType: "handler should be an object or a function",
86
- handlersType: "all handlers should be a functions",
87
- selectorType: "selector should be a function",
88
- changeType: "provided value of changes should be an object",
89
- changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
90
- default: "an unknown error accured in `state-local` package"
91
- }, u = c(E)(D), p = {
92
- changes: w,
93
- selector: P,
94
- handler: T,
95
- initial: S
96
- };
97
- function q(e) {
98
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
99
- p.initial(e), p.handler(t);
100
- var n = {
101
- current: e
102
- }, r = c(I)(n, t), i = c(F)(n), a = c(p.changes)(e), f = c(C)(n);
103
- function s() {
104
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(b) {
105
- return b;
106
- };
107
- return p.selector(d), d(n.current);
108
- }
109
- function o(d) {
110
- y(r, i, a, f)(d);
111
- }
112
- return [s, o];
113
- }
114
- function C(e, t) {
115
- return l(t) ? t(e.current) : t;
116
- }
117
- function F(e, t) {
118
- return e.current = v(v({}, e.current), t), t;
119
- }
120
- function I(e, t, n) {
121
- return l(t) ? t(e.current) : Object.keys(n).forEach(function(r) {
122
- var i;
123
- return (i = t[r]) === null || i === void 0 ? void 0 : i.call(t, e.current[r]);
124
- }), n;
125
- }
126
- var R = {
127
- create: q
128
- };
129
- export {
130
- R as i
131
- };
@@ -1,6 +0,0 @@
1
- interface ProviderTable {
2
- name: string;
3
- columns: any[];
4
- rows: any[];
5
- }
6
- export default ProviderTable;
@@ -1,2 +0,0 @@
1
- import ProviderTable from "./ProviderTable";
2
- export { type ProviderTable };