@hybridcore/ui 1.5.87 → 1.5.89

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 (50) hide show
  1. package/README.md +65 -2
  2. package/dist/{FormControlLabel-DzNokgFD.js → FormControlLabel-BrdX4R71.js} +1 -1
  3. package/dist/{Input-B7ry6o4t.js → Input-CoIrGZAh.js} +1 -1
  4. package/dist/{InputLabel-rrSJo8M_.js → InputLabel-CBuAYyuT.js} +163 -162
  5. package/dist/{OutlinedInput-BDK6qOwW.js → OutlinedInput-B-iZoc9l.js} +1 -1
  6. package/dist/{Select-jjAc5JX1.js → Select-t3ewnSdf.js} +3 -3
  7. package/dist/{TextField-Bf46COnQ.js → TextField-BQ8a50fA.js} +4 -4
  8. package/dist/components/charts/candlestick/logic.js +6 -6
  9. package/dist/components/charts/candlestick/styled.js +1 -1
  10. package/dist/components/charts/highlighting-line-data/logic.js +1 -1
  11. package/dist/components/charts/highlighting-line-data/styled.js +1 -1
  12. package/dist/components/data-security-selectors/dissemination-list/index.js +652 -742
  13. package/dist/components/data-security-selectors/dissemination-list/logic.js +62 -0
  14. package/dist/components/data-security-selectors/dissemination-list/styled.js +88 -0
  15. package/dist/components/date-time-picker/index.js +57 -94
  16. package/dist/components/date-time-picker/logic.js +70 -0
  17. package/dist/components/date-time-picker/styled.js +83 -0
  18. package/dist/components/geometry-picker/index.js +45 -43
  19. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  20. package/dist/components/instance-form/components/variable/index.js +5 -5
  21. package/dist/components/instance-form/components/variables/index.js +1 -1
  22. package/dist/components/metric-card/MetricChart.js +210 -192
  23. package/dist/components/metric-card/index.js +101 -76
  24. package/dist/components/metric-card/logic.js +142 -65
  25. package/dist/components/metric-card/styled.js +69 -46
  26. package/dist/components/paginated-list/logic.js +13 -13
  27. package/dist/components/paginated-list/styled.js +12 -12
  28. package/dist/components/profile-card/logic.js +5 -5
  29. package/dist/components/profile-card/styled.js +4 -4
  30. package/dist/components/property-mapping/index.js +1 -1
  31. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  32. package/dist/components/range-selector/components/date-range/index.js +1 -1
  33. package/dist/components/range-selector/components/number-range/index.js +38 -35
  34. package/dist/components/range-selector/components/string-range/index.js +15 -14
  35. package/dist/components/range-selector/index.js +1 -1
  36. package/dist/components/search-input/index.js +2 -2
  37. package/dist/components/template-form/components/property-list/index.js +1 -1
  38. package/dist/components/template-form/components/property-list/property-list-form.js +5 -5
  39. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +3 -3
  40. package/dist/components/template-form/index.js +3 -3
  41. package/dist/components/template-property-filters/property.js +4 -4
  42. package/dist/components/tree-select/index.js +52 -50
  43. package/dist/components/widget/index.js +4 -0
  44. package/dist/components/widget/styled.js +38 -0
  45. package/dist/{index-MMaYBAn0.js → index-CGNxsLVm.js} +6 -6
  46. package/dist/{index-NNOChRJ7.js → index-SpeaLUQD.js} +2 -2
  47. package/dist/main.d.ts +397 -122
  48. package/dist/main.js +14 -12
  49. package/dist/{property-list-form-BvnaooEW.js → property-list-form-C5hcK2y2.js} +4 -4
  50. package/package.json +4 -1
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ThemeProvider as Ft, createTheme as Ht } from "@mui/material";
2
2
  import { LocalizationProvider as Bt } from "@mui/x-date-pickers";
3
3
  import { Access as Pt } from "./components/access/index.js";
4
- import { b as $t } from "./helpers-DaCoWmi2.js";
4
+ import { b as Wt } from "./helpers-DaCoWmi2.js";
5
5
  import { Card as Et } from "./components/card/index.js";
6
6
  import { CardAlternate as zt } from "./components/card-alternate/index.js";
7
7
  import { CandlestickChart as Nt } from "./components/charts/candlestick/index.js";
@@ -28,7 +28,7 @@ import { Loading as Fe } from "./components/loading/index.js";
28
28
  import { i as Ce } from "./index-JrtqxUdI.js";
29
29
  import { MetricCard as Ie } from "./components/metric-card/index.js";
30
30
  import { PaginatedList as je } from "./components/paginated-list/index.js";
31
- import { PhoneInput as We } from "./components/phone-input/index.js";
31
+ import { PhoneInput as $e } from "./components/phone-input/index.js";
32
32
  import { SearchInput as Ue } from "./components/search-input/index.js";
33
33
  import { Tabs as Ze } from "./components/tabs/index.js";
34
34
  import { TemplateFilters as Je } from "./components/template-filters/index.js";
@@ -38,12 +38,13 @@ import { Property as Ke } from "./components/template-property-filters/property.
38
38
  import { TreeSelect as Xe } from "./components/tree-select/index.js";
39
39
  import { TreeViewFilter as er } from "./components/treeview-filter/index.js";
40
40
  import { Uploader as sr } from "./components/uploader/index.js";
41
- import { FlexCol as or } from "./components/flex-col/index.js";
42
- import { FlexRow as ir } from "./components/flex-row/index.js";
41
+ import { Widget as or } from "./components/widget/styled.js";
42
+ import { FlexCol as ir } from "./components/flex-col/index.js";
43
+ import { FlexRow as dr } from "./components/flex-row/index.js";
43
44
  import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
44
45
  import B from "dayjs";
45
46
  import { c as U, a as z } from "./index-DMSHuq6l.js";
46
- import { b as ut } from "./index-NNOChRJ7.js";
47
+ import { b as ut } from "./index-SpeaLUQD.js";
47
48
  var tt = { exports: {} };
48
49
  (function(l, x) {
49
50
  (function(f, c) {
@@ -168,10 +169,10 @@ var et = { exports: {} };
168
169
  w && (y = L[2]), n = this.$locale(), !b && y && (n = d.Ls[y]), this.$d = function(P, C, A, j) {
169
170
  try {
170
171
  if (["x", "X"].indexOf(C) > -1) return new Date((C === "X" ? 1e3 : 1) * P);
171
- var m = H(C)(P), N = m.year, $ = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, Q = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), V = nt || (N || $ ? 1 : J.getDate()), _ = N || J.getFullYear(), W = 0;
172
- N && !$ || (W = $ > 0 ? $ - 1 : J.getMonth());
172
+ var m = H(C)(P), N = m.year, W = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, Q = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), V = nt || (N || W ? 1 : J.getDate()), _ = N || J.getFullYear(), $ = 0;
173
+ N && !W || ($ = W > 0 ? W - 1 : J.getMonth());
173
174
  var E, R = ot || 0, q = at || 0, G = it || 0, K = ht || 0;
174
- return Q ? new Date(Date.UTC(_, W, V, R, q, G, K + 60 * Q.offset * 1e3)) : A ? new Date(Date.UTC(_, W, V, R, q, G, K)) : (E = new Date(_, W, V, R, q, G, K), X && (E = j(E).week(X).toDate()), E);
175
+ return Q ? new Date(Date.UTC(_, $, V, R, q, G, K + 60 * Q.offset * 1e3)) : A ? new Date(Date.UTC(_, $, V, R, q, G, K)) : (E = new Date(_, $, V, R, q, G, K), X && (E = j(E).week(X).toDate()), E);
175
176
  } catch {
176
177
  return /* @__PURE__ */ new Date("");
177
178
  }
@@ -396,7 +397,7 @@ class bt {
396
397
  }
397
398
  export {
398
399
  Pt as Access,
399
- $t as AccessUtils,
400
+ Wt as AccessUtils,
400
401
  bt as AdapterDayjs,
401
402
  Nt as CandlestickChart,
402
403
  Et as Card,
@@ -408,8 +409,8 @@ export {
408
409
  de as DateTimePicker,
409
410
  oe as DisseminationList,
410
411
  ce as DocumentViewer,
411
- or as FlexCol,
412
- ir as FlexRow,
412
+ ir as FlexCol,
413
+ dr as FlexRow,
413
414
  me as GeometryPicker,
414
415
  Vt as HighlightLineChart,
415
416
  pe as IconButton,
@@ -425,7 +426,7 @@ export {
425
426
  Ce as Map,
426
427
  Ie as MetricCard,
427
428
  je as PaginatedList,
428
- We as PhoneInput,
429
+ $e as PhoneInput,
429
430
  Ke as PropertyFilterInput,
430
431
  Ue as SearchInput,
431
432
  ie as SecurityLevel,
@@ -437,6 +438,7 @@ export {
437
438
  Xe as TreeSelect,
438
439
  er as TreeViewFilter,
439
440
  sr as Uploader,
441
+ or as Widget,
440
442
  Qt as alert,
441
443
  Xt as confirm,
442
444
  Ht as createTheme
@@ -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-DLPYMuH1.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-Bf46COnQ.js";
8
- import { f as te, F as C, I as F } from "./InputLabel-rrSJo8M_.js";
9
- import { S as _ } from "./Select-jjAc5JX1.js";
7
+ import { T as w } from "./TextField-BQ8a50fA.js";
8
+ import { f as te, F as C, I as F } from "./InputLabel-CBuAYyuT.js";
9
+ import { S as _ } from "./Select-t3ewnSdf.js";
10
10
  import { M as g } from "./MenuItem-C6qlUyV3.js";
11
11
  import { a as M, _ as re } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
12
12
  import { P as n } from "./index-DMSHuq6l.js";
@@ -14,7 +14,7 @@ import { g as ae, u as oe, c as le, a as ne } from "./useThemeProps-DRP1dikX.js"
14
14
  import { s as ie } from "./styled-B8ugzvji.js";
15
15
  import { g as se } from "./createTheme-CNnKNxwL.js";
16
16
  import { u as me } from "./useFormControl-CatNKXAi.js";
17
- import { F as p } from "./FormControlLabel-DzNokgFD.js";
17
+ import { F as p } from "./FormControlLabel-BrdX4R71.js";
18
18
  import { C as f } from "./Checkbox-CrU2hpWB.js";
19
19
  import { B as ce } from "./Box-B1AVyJ_s.js";
20
20
  import { B as Y } from "./Button-eqWvpDuh.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.87",
4
+ "version": "1.5.89",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -16,6 +16,8 @@
16
16
  "scripts": {
17
17
  "dev": "vite",
18
18
  "build": "tsc -b ./tsconfig.lib.json && vite build",
19
+ "build:watch": "vite build --watch",
20
+ "build:push": "YALC_PUSH=1 vite build --watch",
19
21
  "lint": "eslint .",
20
22
  "preview": "vite preview",
21
23
  "prepublishOnly": "yarn build",
@@ -34,6 +36,7 @@
34
36
  "@mui/x-data-grid": "6.0.4",
35
37
  "@mui/x-date-pickers": "6.3.0",
36
38
  "@mui/x-tree-view": "^7.23.0",
39
+ "@tabler/icons-react": "^3.41.1",
37
40
  "@terraformer/wkt": "^2.2.1",
38
41
  "@turf/turf": "^7.0.0",
39
42
  "dayjs": "^1.11.7",