@hybridcore/ui 1.5.18 → 1.5.19
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/main.d.ts +7 -0
- package/dist/main.js +52 -50
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -425,6 +425,13 @@ declare interface InstanceTableProps {
|
|
|
425
425
|
onTitleClick?(instance: INSTANCE.GenericInstanceView): void;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
+
export declare const InstanceVariableList: FC<InstanceVariableListProps>;
|
|
429
|
+
|
|
430
|
+
declare interface InstanceVariableListProps {
|
|
431
|
+
template: ONTOLOGY.TemplateType;
|
|
432
|
+
data: INSTANCE.InstanceType;
|
|
433
|
+
}
|
|
434
|
+
|
|
428
435
|
declare interface ItemProps {
|
|
429
436
|
id: string | number;
|
|
430
437
|
name: string;
|
package/dist/main.js
CHANGED
|
@@ -14,24 +14,25 @@ import { IconButton as re } from "./components/icon-button/index.js";
|
|
|
14
14
|
import { InstanceForm as ne } from "./components/instance-form/index.js";
|
|
15
15
|
import { InstanceHierarchyTable as ae } from "./components/instance-hierarchy-table/index.js";
|
|
16
16
|
import { InstanceTable as he } from "./components/instance-table/index.js";
|
|
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 {
|
|
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 De } 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 { S as Ee } from "./utils-Bq0ye5vf.js";
|
|
33
|
+
import { i as ze } from "./index-DlnzUkwe.js";
|
|
34
|
+
import { b as Ne } from "./helpers-DaCoWmi2.js";
|
|
35
|
+
import { ThemeProvider as Ve, createTheme as _e } from "@mui/material";
|
|
35
36
|
import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
36
37
|
import I from "dayjs";
|
|
37
38
|
import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
|
|
@@ -121,22 +122,22 @@ var et = { exports: {} };
|
|
|
121
122
|
function F(r) {
|
|
122
123
|
var h, d;
|
|
123
124
|
h = r, d = n && n.formats;
|
|
124
|
-
for (var u = (r = h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(
|
|
125
|
+
for (var u = (r = h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(b, w, M) {
|
|
125
126
|
var y = M && M.toUpperCase();
|
|
126
|
-
return w || d[M] || f[M] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v,
|
|
127
|
-
return v ||
|
|
127
|
+
return w || d[M] || f[M] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v, S) {
|
|
128
|
+
return v || S.slice(1);
|
|
128
129
|
});
|
|
129
130
|
})).match(c), g = u.length, Y = 0; Y < g; Y += 1) {
|
|
130
131
|
var C = u[Y], O = Z[C], T = O && O[0], L = O && O[1];
|
|
131
132
|
u[Y] = L ? { regex: T, parser: L } : C.replace(/^\[|\]$/g, "");
|
|
132
133
|
}
|
|
133
|
-
return function(
|
|
134
|
+
return function(b) {
|
|
134
135
|
for (var w = {}, M = 0, y = 0; M < g; M += 1) {
|
|
135
136
|
var k = u[M];
|
|
136
137
|
if (typeof k == "string") y += k.length;
|
|
137
138
|
else {
|
|
138
|
-
var v = k.regex,
|
|
139
|
-
|
|
139
|
+
var v = k.regex, S = k.parser, j = b.slice(y), B = v.exec(j)[0];
|
|
140
|
+
S.call(w, B), b = b.replace(B, "");
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
return function(A) {
|
|
@@ -156,8 +157,8 @@ var et = { exports: {} };
|
|
|
156
157
|
this.$u = O;
|
|
157
158
|
var L = T[1];
|
|
158
159
|
if (typeof L == "string") {
|
|
159
|
-
var
|
|
160
|
-
w && (y = T[2]), n = this.$locale(), !
|
|
160
|
+
var b = T[2] === !0, w = T[3] === !0, M = b || w, y = T[2];
|
|
161
|
+
w && (y = T[2]), n = this.$locale(), !b && y && (n = d.Ls[y]), this.$d = function(j, B, A, P) {
|
|
161
162
|
try {
|
|
162
163
|
if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * j);
|
|
163
164
|
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;
|
|
@@ -170,9 +171,9 @@ var et = { exports: {} };
|
|
|
170
171
|
}(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 = {};
|
|
171
172
|
} else if (L instanceof Array) for (var k = L.length, v = 1; v <= k; v += 1) {
|
|
172
173
|
T[1] = L[v - 1];
|
|
173
|
-
var
|
|
174
|
-
if (
|
|
175
|
-
this.$d =
|
|
174
|
+
var S = d.apply(this, T);
|
|
175
|
+
if (S.isValid()) {
|
|
176
|
+
this.$d = S.$d, this.$L = S.$L, this.init();
|
|
176
177
|
break;
|
|
177
178
|
}
|
|
178
179
|
v === k && (this.$d = /* @__PURE__ */ new Date(""));
|
|
@@ -338,7 +339,7 @@ const xt = ut(["Your locale has not been found.", "Either the locale key is not
|
|
|
338
339
|
keyboardDateTime12h: "L hh:mm A",
|
|
339
340
|
keyboardDateTime24h: "L HH:mm"
|
|
340
341
|
}, Tt = (l, D) => D ? (...f) => l(...f).locale(D) : l;
|
|
341
|
-
class
|
|
342
|
+
class bt {
|
|
342
343
|
constructor({
|
|
343
344
|
locale: D,
|
|
344
345
|
formats: f,
|
|
@@ -388,8 +389,8 @@ class St {
|
|
|
388
389
|
}
|
|
389
390
|
export {
|
|
390
391
|
Ht as Access,
|
|
391
|
-
|
|
392
|
-
|
|
392
|
+
Ne as AccessUtils,
|
|
393
|
+
bt as AdapterDayjs,
|
|
393
394
|
jt as Card,
|
|
394
395
|
$t as CardAlternate,
|
|
395
396
|
Et as CollapsibleCard,
|
|
@@ -404,24 +405,25 @@ export {
|
|
|
404
405
|
ne as InstanceForm,
|
|
405
406
|
ae as InstanceHierarchyTable,
|
|
406
407
|
he as InstanceTable,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
fe as
|
|
410
|
-
le as
|
|
411
|
-
ye as
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
Te as
|
|
417
|
-
we as
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
je as
|
|
408
|
+
ue as InstanceVariableList,
|
|
409
|
+
Ee as KeyProductionUtils,
|
|
410
|
+
fe as KeyProtectionMenu,
|
|
411
|
+
le as LinearIndicator,
|
|
412
|
+
ye as Loading,
|
|
413
|
+
De as LocalizationProvider,
|
|
414
|
+
ze as Map,
|
|
415
|
+
ge as PhoneInput,
|
|
416
|
+
Ie as PropertyFilterInput,
|
|
417
|
+
Te as SearchInput,
|
|
418
|
+
we as SecurityLevel,
|
|
419
|
+
ve as Tabs,
|
|
420
|
+
Ae as TemplateFilters,
|
|
421
|
+
be as TemplateForm,
|
|
422
|
+
Fe as TemplatePropertyFilters,
|
|
423
|
+
Ve as ThemeProvider,
|
|
424
|
+
je as TreeSelect,
|
|
425
|
+
$e as TreeViewFilter,
|
|
424
426
|
Bt as alert,
|
|
425
427
|
It as confirm,
|
|
426
|
-
|
|
428
|
+
_e as createTheme
|
|
427
429
|
};
|