@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.
Files changed (35) hide show
  1. package/dist/{DialogContent-B8pD_s9h.js → DialogContent-WDuguvBY.js} +1 -1
  2. package/dist/{Modal-DpmJpbob.js → Modal-Csc9jNOg.js} +22 -22
  3. package/dist/{Select-DuyWoyoF.js → Select-BQ4C15bt.js} +1 -1
  4. package/dist/{TextField-CdKnj6de.js → TextField-Db_pNPbv.js} +1 -1
  5. package/dist/assets/index.css +1 -1
  6. package/dist/assets/index2.css +1 -1
  7. package/dist/components/charts/candlestick/index.js +19881 -0
  8. package/dist/components/confirm/dialog.js +2 -2
  9. package/dist/components/confirm/index.js +1 -1
  10. package/dist/components/geometry-picker/map/index.js +1 -1
  11. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  12. package/dist/components/instance-form/components/variable/index.js +3 -3
  13. package/dist/components/instance-form/components/variables/index.js +1 -1
  14. package/dist/components/map/index.js +1 -1
  15. package/dist/components/paginated-list/index.js +90 -0
  16. package/dist/components/phone-input/index.js +1 -1
  17. package/dist/components/property-mapping/index.js +1 -1
  18. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  19. package/dist/components/range-selector/components/date-range/index.js +1 -1
  20. package/dist/components/range-selector/index.js +1 -1
  21. package/dist/components/template-form/components/property-list/index.js +3 -3
  22. package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
  23. package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
  24. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
  25. package/dist/components/template-form/index.js +2 -2
  26. package/dist/components/template-property-filters/property.js +1 -1
  27. package/dist/components/tree-select/index.js +2 -2
  28. package/dist/{dialog-C7_6_FBz.js → dialog-D6oTCUrm.js} +1 -1
  29. package/dist/{index-B6DDeKlQ.js → index-BmlSd3mA.js} +2 -2
  30. package/dist/{index-DlnzUkwe.js → index-JrtqxUdI.js} +1 -1
  31. package/dist/{index-CNMnXD0q.js → index-R_b1ETBe.js} +4 -4
  32. package/dist/main.d.ts +90 -0
  33. package/dist/main.js +104 -100
  34. package/dist/{property-list-form-BMdYISml.js → property-list-form-B7SCqmD0.js} +2 -2
  35. package/package.json +2 -1
package/dist/main.js CHANGED
@@ -1,43 +1,45 @@
1
- import { Access as Ht } from "./components/access/index.js";
2
- import { alert as Bt, confirm as It } from "./components/confirm/index.js";
3
- import { Card as jt } from "./components/card/index.js";
4
- import { CardAlternate as $t } from "./components/card-alternate/index.js";
5
- import { CollapsibleCard as Et } from "./components/collapsible-card/index.js";
6
- import { ConditionalWrapper as zt } from "./components/conditional-wrapper/index.js";
7
- import { Container as Nt } from "./components/container/index.js";
8
- import { ContextMenu as Vt } from "./components/context-menu/index.js";
9
- import { DateTimePicker as qt } from "./components/date-time-picker/index.js";
10
- import { DocumentViewer as Kt } from "./components/document-viewer/index.js";
11
- import { DisseminationList as Rt } from "./components/data-security-selectors/dissemination-list/index.js";
12
- import { GeometryPicker as te } from "./components/geometry-picker/index.js";
13
- import { IconButton as re } from "./components/icon-button/index.js";
14
- import { InstanceForm as ne } from "./components/instance-form/index.js";
15
- import { InstanceHierarchyTable as ae } from "./components/instance-hierarchy-table/index.js";
16
- import { InstanceTable as he } from "./components/instance-table/index.js";
17
- import { InstanceVariableList as ue } from "./components/instance-variable-list/index.js";
18
- import { KeyProtectionMenu as fe } from "./components/key-protection/menu.js";
19
- import { LinearIndicator as le } from "./components/linear-indicator/index.js";
20
- import { Loading as ye } from "./components/loading/index.js";
21
- import { LocalizationProvider as xe } from "@mui/x-date-pickers";
22
- import { PhoneInput as ge } from "./components/phone-input/index.js";
23
- import { SearchInput as Te } from "./components/search-input/index.js";
24
- import { SecurityLevel as we } from "./components/data-security-selectors/security-level/index.js";
25
- import { Tabs as ve } from "./components/tabs/index.js";
26
- import { TemplateForm as be } from "./components/template-form/index.js";
27
- import { TemplateFilters as Ae } from "./components/template-filters/index.js";
28
- import { TemplatePropertyFilters as Fe } from "./components/template-property-filters/index.js";
29
- import { Property as Ie } from "./components/template-property-filters/property.js";
30
- import { TreeSelect as je } from "./components/tree-select/index.js";
31
- import { TreeViewFilter as $e } from "./components/treeview-filter/index.js";
32
- import { Uploader as Ee } from "./components/uploader/index.js";
33
- import { S as ze } from "./utils-Bq0ye5vf.js";
34
- import { i as Ne } from "./index-DlnzUkwe.js";
35
- import { b as Ve } from "./helpers-DaCoWmi2.js";
36
- import { ThemeProvider as qe, createTheme as Ge } from "@mui/material";
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 I from "dayjs";
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-CNMnXD0q.js";
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 C = u[Y], O = Z[C], T = O && O[0], L = O && O[1];
133
- u[Y] = L ? { regex: T, parser: L } : C.replace(/^\[|\]$/g, "");
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, j = b.slice(y), B = v.exec(j)[0];
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 P = A.afternoon;
146
- if (P !== void 0) {
147
+ var j = A.afternoon;
148
+ if (j !== void 0) {
147
149
  var m = A.hours;
148
- P ? m < 12 && (A.hours += 12) : m === 12 && (A.hours = 0), delete A.afternoon;
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 C = Y.date, O = Y.utc, T = Y.args;
159
+ var I = Y.date, O = Y.utc, L = Y.args;
158
160
  this.$u = O;
159
- var L = T[1];
160
- if (typeof L == "string") {
161
- var b = T[2] === !0, w = T[3] === !0, M = b || w, y = T[2];
162
- w && (y = T[2]), n = this.$locale(), !b && y && (n = d.Ls[y]), this.$d = function(j, B, A, P) {
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) * j);
165
- var m = F(B)(j), 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
+ 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 = P(E).week(X).toDate()), 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
- }(C, L, O, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), M && C != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
173
- } else if (L instanceof Array) for (var k = L.length, v = 1; v <= k; v += 1) {
174
- T[1] = L[v - 1];
175
- var S = d.apply(this, T);
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
- I.extend(lt);
230
- I.extend(yt);
231
- I.extend(xt);
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
- }, Tt = (l, x) => x ? (...f) => l(...f).locale(x) : l;
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 : I.Ls, s = this.locale || "en";
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 || I, this.dayjs = Tt(this.rawDayJsInstance, x), this.locale = x, this.formats = dt({}, Yt, f), I.extend(ft);
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
- Ht as Access,
393
- Ve as AccessUtils,
394
+ Pt as Access,
395
+ $t as AccessUtils,
394
396
  bt as AdapterDayjs,
395
- jt as Card,
396
- $t as CardAlternate,
397
- Et as CollapsibleCard,
398
- zt as ConditionalWrapper,
399
- Nt as Container,
400
- Vt as ContextMenu,
401
- qt as DateTimePicker,
402
- Rt as DisseminationList,
403
- Kt as DocumentViewer,
404
- te as GeometryPicker,
405
- re as IconButton,
406
- ne as InstanceForm,
407
- ae as InstanceHierarchyTable,
408
- he as InstanceTable,
409
- ue as InstanceVariableList,
410
- ze as KeyProductionUtils,
411
- fe as KeyProtectionMenu,
412
- le as LinearIndicator,
413
- ye as Loading,
414
- xe as LocalizationProvider,
415
- Ne as Map,
416
- ge as PhoneInput,
417
- Ie as PropertyFilterInput,
418
- Te as SearchInput,
419
- we as SecurityLevel,
420
- ve as Tabs,
421
- Ae as TemplateFilters,
422
- be as TemplateForm,
423
- Fe as TemplatePropertyFilters,
424
- qe as ThemeProvider,
425
- je as TreeSelect,
426
- $e as TreeViewFilter,
427
- Ee as Uploader,
428
- Bt as alert,
429
- It as confirm,
430
- Ge as createTheme
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-CdKnj6de.js";
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-DuyWoyoF.js";
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.67",
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",