@hybridcore/ui 1.5.67 → 1.5.70
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/dist/{DialogContent-B8pD_s9h.js → DialogContent-WDuguvBY.js} +1 -1
- package/dist/{Modal-DpmJpbob.js → Modal-Csc9jNOg.js} +22 -22
- package/dist/{Select-DuyWoyoF.js → Select-BQ4C15bt.js} +1 -1
- package/dist/{TextField-CdKnj6de.js → TextField-Db_pNPbv.js} +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/charts/candlestick/index.js +19881 -0
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/variable/index.js +3 -3
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/map/index.js +1 -1
- package/dist/components/paginated-list/index.js +90 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +1 -1
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
- package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
- package/dist/components/template-form/index.js +2 -2
- package/dist/components/template-property-filters/property.js +1 -1
- package/dist/components/tree-select/index.js +2 -2
- package/dist/{dialog-C7_6_FBz.js → dialog-D6oTCUrm.js} +1 -1
- package/dist/{index-B6DDeKlQ.js → index-BmlSd3mA.js} +2 -2
- package/dist/{index-DlnzUkwe.js → index-JrtqxUdI.js} +1 -1
- package/dist/{index-CNMnXD0q.js → index-R_b1ETBe.js} +4 -4
- package/dist/main.d.ts +90 -0
- package/dist/main.js +104 -100
- package/dist/{property-list-form-BMdYISml.js → property-list-form-B7SCqmD0.js} +2 -2
- package/package.json +2 -1
package/dist/main.js
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
1
|
+
import { ThemeProvider as Ht, createTheme as Ft } from "@mui/material";
|
|
2
|
+
import { LocalizationProvider as Ct } from "@mui/x-date-pickers";
|
|
3
|
+
import { Access as Pt } from "./components/access/index.js";
|
|
4
|
+
import { b as $t } from "./helpers-DaCoWmi2.js";
|
|
5
|
+
import { Card as Et } from "./components/card/index.js";
|
|
6
|
+
import { CardAlternate as zt } from "./components/card-alternate/index.js";
|
|
7
|
+
import { CandlestickChart as Nt } from "./components/charts/candlestick/index.js";
|
|
8
|
+
import { CollapsibleCard as Vt } from "./components/collapsible-card/index.js";
|
|
9
|
+
import { ConditionalWrapper as qt } from "./components/conditional-wrapper/index.js";
|
|
10
|
+
import { alert as Kt, confirm as Qt } from "./components/confirm/index.js";
|
|
11
|
+
import { Container as Xt } from "./components/container/index.js";
|
|
12
|
+
import { ContextMenu as ee } from "./components/context-menu/index.js";
|
|
13
|
+
import { DisseminationList as se } from "./components/data-security-selectors/dissemination-list/index.js";
|
|
14
|
+
import { SecurityLevel as oe } from "./components/data-security-selectors/security-level/index.js";
|
|
15
|
+
import { DateTimePicker as ie } from "./components/date-time-picker/index.js";
|
|
16
|
+
import { DocumentViewer as de } from "./components/document-viewer/index.js";
|
|
17
|
+
import { GeometryPicker as ce } from "./components/geometry-picker/index.js";
|
|
18
|
+
import { IconButton as me } from "./components/icon-button/index.js";
|
|
19
|
+
import { InstanceForm as pe } from "./components/instance-form/index.js";
|
|
20
|
+
import { InstanceHierarchyTable as Me } from "./components/instance-hierarchy-table/index.js";
|
|
21
|
+
import { InstanceTable as De } from "./components/instance-table/index.js";
|
|
22
|
+
import { InstanceVariableList as Ye } from "./components/instance-variable-list/index.js";
|
|
23
|
+
import { KeyProtectionMenu as Te } from "./components/key-protection/menu.js";
|
|
24
|
+
import { S as ke } from "./utils-Bq0ye5vf.js";
|
|
25
|
+
import { LinearIndicator as Oe } from "./components/linear-indicator/index.js";
|
|
26
|
+
import { Loading as Se } from "./components/loading/index.js";
|
|
27
|
+
import { i as He } from "./index-JrtqxUdI.js";
|
|
28
|
+
import { PaginatedList as Be } from "./components/paginated-list/index.js";
|
|
29
|
+
import { PhoneInput as Ie } from "./components/phone-input/index.js";
|
|
30
|
+
import { SearchInput as je } from "./components/search-input/index.js";
|
|
31
|
+
import { Tabs as We } from "./components/tabs/index.js";
|
|
32
|
+
import { TemplateFilters as Ue } from "./components/template-filters/index.js";
|
|
33
|
+
import { TemplateForm as Ze } from "./components/template-form/index.js";
|
|
34
|
+
import { TemplatePropertyFilters as Je } from "./components/template-property-filters/index.js";
|
|
35
|
+
import { Property as _e } from "./components/template-property-filters/property.js";
|
|
36
|
+
import { TreeSelect as Ge } from "./components/tree-select/index.js";
|
|
37
|
+
import { TreeViewFilter as Qe } from "./components/treeview-filter/index.js";
|
|
38
|
+
import { Uploader as Xe } from "./components/uploader/index.js";
|
|
37
39
|
import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
38
|
-
import
|
|
40
|
+
import C from "dayjs";
|
|
39
41
|
import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
|
|
40
|
-
import { b as ut } from "./index-
|
|
42
|
+
import { b as ut } from "./index-R_b1ETBe.js";
|
|
41
43
|
var tt = { exports: {} };
|
|
42
44
|
(function(l, x) {
|
|
43
45
|
(function(f, c) {
|
|
@@ -129,23 +131,23 @@ var et = { exports: {} };
|
|
|
129
131
|
return v || S.slice(1);
|
|
130
132
|
});
|
|
131
133
|
})).match(c), g = u.length, Y = 0; Y < g; Y += 1) {
|
|
132
|
-
var
|
|
133
|
-
u[Y] =
|
|
134
|
+
var I = u[Y], O = Z[I], L = O && O[0], T = O && O[1];
|
|
135
|
+
u[Y] = T ? { regex: L, parser: T } : I.replace(/^\[|\]$/g, "");
|
|
134
136
|
}
|
|
135
137
|
return function(b) {
|
|
136
138
|
for (var w = {}, M = 0, y = 0; M < g; M += 1) {
|
|
137
139
|
var k = u[M];
|
|
138
140
|
if (typeof k == "string") y += k.length;
|
|
139
141
|
else {
|
|
140
|
-
var v = k.regex, S = k.parser,
|
|
142
|
+
var v = k.regex, S = k.parser, P = b.slice(y), B = v.exec(P)[0];
|
|
141
143
|
S.call(w, B), b = b.replace(B, "");
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
return function(A) {
|
|
145
|
-
var
|
|
146
|
-
if (
|
|
147
|
+
var j = A.afternoon;
|
|
148
|
+
if (j !== void 0) {
|
|
147
149
|
var m = A.hours;
|
|
148
|
-
|
|
150
|
+
j ? m < 12 && (A.hours += 12) : m === 12 && (A.hours = 0), delete A.afternoon;
|
|
149
151
|
}
|
|
150
152
|
}(w), w;
|
|
151
153
|
};
|
|
@@ -154,25 +156,25 @@ var et = { exports: {} };
|
|
|
154
156
|
d.p.customParseFormat = !0, r && r.parseTwoDigitYear && (i = r.parseTwoDigitYear);
|
|
155
157
|
var u = h.prototype, g = u.parse;
|
|
156
158
|
u.parse = function(Y) {
|
|
157
|
-
var
|
|
159
|
+
var I = Y.date, O = Y.utc, L = Y.args;
|
|
158
160
|
this.$u = O;
|
|
159
|
-
var
|
|
160
|
-
if (typeof
|
|
161
|
-
var b =
|
|
162
|
-
w && (y =
|
|
161
|
+
var T = L[1];
|
|
162
|
+
if (typeof T == "string") {
|
|
163
|
+
var b = L[2] === !0, w = L[3] === !0, M = b || w, y = L[2];
|
|
164
|
+
w && (y = L[2]), n = this.$locale(), !b && y && (n = d.Ls[y]), this.$d = function(P, B, A, j) {
|
|
163
165
|
try {
|
|
164
|
-
if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) *
|
|
165
|
-
var m = F(B)(
|
|
166
|
+
if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * P);
|
|
167
|
+
var m = F(B)(P), N = m.year, $ = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, R = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), V = nt || (N || $ ? 1 : J.getDate()), _ = N || J.getFullYear(), W = 0;
|
|
166
168
|
N && !$ || (W = $ > 0 ? $ - 1 : J.getMonth());
|
|
167
169
|
var E, q = ot || 0, G = at || 0, K = it || 0, Q = ht || 0;
|
|
168
|
-
return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : A ? new Date(Date.UTC(_, W, V, q, G, K, Q)) : (E = new Date(_, W, V, q, G, K, Q), X && (E =
|
|
170
|
+
return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : A ? new Date(Date.UTC(_, W, V, q, G, K, Q)) : (E = new Date(_, W, V, q, G, K, Q), X && (E = j(E).week(X).toDate()), E);
|
|
169
171
|
} catch {
|
|
170
172
|
return /* @__PURE__ */ new Date("");
|
|
171
173
|
}
|
|
172
|
-
}(
|
|
173
|
-
} else if (
|
|
174
|
-
|
|
175
|
-
var S = d.apply(this,
|
|
174
|
+
}(I, T, O, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), M && I != this.format(T) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
|
|
175
|
+
} else if (T instanceof Array) for (var k = T.length, v = 1; v <= k; v += 1) {
|
|
176
|
+
L[1] = T[v - 1];
|
|
177
|
+
var S = d.apply(this, L);
|
|
176
178
|
if (S.isValid()) {
|
|
177
179
|
this.$d = S.$d, this.$L = S.$L, this.init();
|
|
178
180
|
break;
|
|
@@ -226,9 +228,9 @@ var st = { exports: {} };
|
|
|
226
228
|
})(st);
|
|
227
229
|
var Mt = st.exports;
|
|
228
230
|
const xt = /* @__PURE__ */ z(Mt);
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
C.extend(lt);
|
|
232
|
+
C.extend(yt);
|
|
233
|
+
C.extend(xt);
|
|
232
234
|
const Dt = ut(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale with `require('dayjs/locale/{localeUsed}')`", "fallback on English locale"]), gt = {
|
|
233
235
|
// Year
|
|
234
236
|
YY: "year",
|
|
@@ -339,7 +341,7 @@ const Dt = ut(["Your locale has not been found.", "Either the locale key is not
|
|
|
339
341
|
keyboardDateTime: "L LT",
|
|
340
342
|
keyboardDateTime12h: "L hh:mm A",
|
|
341
343
|
keyboardDateTime24h: "L HH:mm"
|
|
342
|
-
},
|
|
344
|
+
}, Lt = (l, x) => x ? (...f) => l(...f).locale(x) : l;
|
|
343
345
|
class bt {
|
|
344
346
|
constructor({
|
|
345
347
|
locale: x,
|
|
@@ -351,7 +353,7 @@ class bt {
|
|
|
351
353
|
end: "]"
|
|
352
354
|
}, this.formatTokenMap = gt, this.getLocaleFormats = () => {
|
|
353
355
|
var t;
|
|
354
|
-
const e = (t = this.rawDayJsInstance.Ls) != null ? t :
|
|
356
|
+
const e = (t = this.rawDayJsInstance.Ls) != null ? t : C.Ls, s = this.locale || "en";
|
|
355
357
|
let o = e[s];
|
|
356
358
|
return o === void 0 && (Dt(), o = e.en), o.formats;
|
|
357
359
|
}, this.date = (t) => t === null ? null : this.dayjs(t), this.toJsDate = (t) => t.toDate(), this.parseISO = (t) => this.dayjs(t), this.toISO = (t) => t.toISOString(), this.parse = (t, e) => t === "" ? null : this.dayjs(t, e, this.locale, !0), this.getCurrentLocaleCode = () => this.locale || "en", this.is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || ""), this.expandFormat = (t) => {
|
|
@@ -385,47 +387,49 @@ class bt {
|
|
|
385
387
|
for (; i.isBefore(o); )
|
|
386
388
|
n.push(i), i = i.add(1, "year");
|
|
387
389
|
return n;
|
|
388
|
-
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c ||
|
|
390
|
+
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c || C, this.dayjs = Lt(this.rawDayJsInstance, x), this.locale = x, this.formats = dt({}, Yt, f), C.extend(ft);
|
|
389
391
|
}
|
|
390
392
|
}
|
|
391
393
|
export {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
+
Pt as Access,
|
|
395
|
+
$t as AccessUtils,
|
|
394
396
|
bt as AdapterDayjs,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
397
|
+
Nt as CandlestickChart,
|
|
398
|
+
Et as Card,
|
|
399
|
+
zt as CardAlternate,
|
|
400
|
+
Vt as CollapsibleCard,
|
|
401
|
+
qt as ConditionalWrapper,
|
|
402
|
+
Xt as Container,
|
|
403
|
+
ee as ContextMenu,
|
|
404
|
+
ie as DateTimePicker,
|
|
405
|
+
se as DisseminationList,
|
|
406
|
+
de as DocumentViewer,
|
|
407
|
+
ce as GeometryPicker,
|
|
408
|
+
me as IconButton,
|
|
409
|
+
pe as InstanceForm,
|
|
410
|
+
Me as InstanceHierarchyTable,
|
|
411
|
+
De as InstanceTable,
|
|
412
|
+
Ye as InstanceVariableList,
|
|
413
|
+
ke as KeyProductionUtils,
|
|
414
|
+
Te as KeyProtectionMenu,
|
|
415
|
+
Oe as LinearIndicator,
|
|
416
|
+
Se as Loading,
|
|
417
|
+
Ct as LocalizationProvider,
|
|
418
|
+
He as Map,
|
|
419
|
+
Be as PaginatedList,
|
|
420
|
+
Ie as PhoneInput,
|
|
421
|
+
_e as PropertyFilterInput,
|
|
422
|
+
je as SearchInput,
|
|
423
|
+
oe as SecurityLevel,
|
|
424
|
+
We as Tabs,
|
|
425
|
+
Ue as TemplateFilters,
|
|
426
|
+
Ze as TemplateForm,
|
|
427
|
+
Je as TemplatePropertyFilters,
|
|
428
|
+
Ht as ThemeProvider,
|
|
429
|
+
Ge as TreeSelect,
|
|
430
|
+
Qe as TreeViewFilter,
|
|
431
|
+
Xe as Uploader,
|
|
432
|
+
Kt as alert,
|
|
433
|
+
Qt as confirm,
|
|
434
|
+
Ft as createTheme
|
|
431
435
|
};
|
|
@@ -4,9 +4,9 @@ import I from "react";
|
|
|
4
4
|
import Q from "lodash";
|
|
5
5
|
import { r as X, i as Z } from "./createSvgIcon-CsckVnG-.js";
|
|
6
6
|
import { DATA_TYPES as R, COORDINATE_FORMAT as ee, PRIVACY_PRESERVATION_METHOD as L } from "./constants/index.js";
|
|
7
|
-
import { T as w } from "./TextField-
|
|
7
|
+
import { T as w } from "./TextField-Db_pNPbv.js";
|
|
8
8
|
import { f as te, F as C, I as F } from "./InputLabel-ClDXuWBr.js";
|
|
9
|
-
import { S as _ } from "./Select-
|
|
9
|
+
import { S as _ } from "./Select-BQ4C15bt.js";
|
|
10
10
|
import { M as g } from "./MenuItem-Lcjh1XlV.js";
|
|
11
11
|
import { a as M, _ as re } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
12
|
import { P as n } from "./createTheme-DrgvKMA_.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybridcore/ui",
|
|
3
3
|
"description": "Hybrid Core UI Library",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.70",
|
|
5
5
|
"author": "Hybrid Core",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"type": "module",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"tsc": "tsc -b ./tsconfig.lib.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@amcharts/amcharts5": "^5.14.4",
|
|
28
29
|
"@cyntler/react-doc-viewer": "^1.17.0",
|
|
29
30
|
"@emotion/react": "^11.10.6",
|
|
30
31
|
"@emotion/styled": "^11.10.6",
|