@hybridcore/ui 1.3.0 → 1.3.2
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/{ButtonBase-C7CHOX3y.js → ButtonBase-C875Ww3z.js} +10 -10
- package/dist/{CardContent-DDFwwGfd.js → CardContent-pWhEcyoR.js} +4 -4
- package/dist/{Checkbox-DP6_qp1v.js → Checkbox-COCZU8Yl.js} +7 -7
- package/dist/{Collapse-9egEADkh.js → Collapse-CZFw4GZs.js} +7 -7
- package/dist/{DialogContent-MMUsECN2.js → DialogContent-DhcqAG-q.js} +12 -12
- package/dist/{FormControl-Cj5nc-Nv.js → FormControl-BhwmBUAq.js} +9 -9
- package/dist/{FormControlLabel-j_atSYQA.js → FormControlLabel-BL6c4YAN.js} +44 -44
- package/dist/{IconButton-2FRFauye.js → IconButton-DM-0JFx9.js} +5 -5
- package/dist/{Input-BY_yKOrF.js → Input-DgIhcA8j.js} +6 -6
- package/dist/{List-CgBXAAKA.js → List-Dz3Z1qJk.js} +6 -6
- package/dist/{ListItem-BFDUUjHt.js → ListItem-DnyWDeDF.js} +6 -6
- package/dist/{MenuItem-BejUFNIP.js → MenuItem-BjC83iWq.js} +13 -13
- package/dist/{OutlinedInput-CnzESIDi.js → OutlinedInput-CS2BwiVg.js} +6 -6
- package/dist/{Paper-k37cShvn.js → Paper-seBMlMwu.js} +5 -5
- package/dist/{Select-BGt6e73I.js → Select-C8Iimh3g.js} +15 -15
- package/dist/{Source-CnCcu5UP.js → Source-Hf_SiWEW.js} +123 -123
- package/dist/{Text-BT5kPHOo.js → Text-D6oGbCdi.js} +41 -41
- package/dist/{Typography-Bjo-B13o.js → Typography-CqyjdT7p.js} +4 -4
- package/dist/{chainPropTypes-BmidnkZm.js → chainPropTypes-CwfDfLEA.js} +3 -3
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +10 -10
- package/dist/components/confirm/dialog.js +6 -6
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +10 -10
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +2 -2
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +2 -2
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +19 -19
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/helpers/mapbox.js +3 -3
- package/dist/components/map/helpers/ol.js +3 -3
- package/dist/components/map/logic.js +2 -2
- package/dist/components/map/styled.js +2 -2
- package/dist/components/search-input/index.js +3 -3
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +10 -7017
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +9 -9
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/{createSvgIcon-DAR6Hwv8.js → createSvgIcon-CTQMsmqJ.js} +5 -5
- package/dist/{createSvgIcon-R_PakhKf.js → createSvgIcon-pajAAvTK.js} +4 -4
- package/dist/{createTheme-oOCi1S_n.js → createTheme-CCwx9ptk.js} +135 -132
- package/dist/{exactProp-DhXxfU8X.js → exactProp-D0xuoiRB.js} +3 -3
- package/dist/{extends-C3382pL0.js → extends-Cyw62AD_.js} +2 -2
- package/dist/{has-9_asnBxn.js → has-CjQtZJa9.js} +26 -26
- package/dist/{index-C7W2wuUG.js → index-DlFdC7eU.js} +6 -6
- package/dist/{index-DHnXB0CB.js → index-tNZngrO0.js} +10 -10
- package/dist/{listItemTextClasses-CaI8l2PD.js → listItemTextClasses-DRMkDW2V.js} +4 -4
- package/dist/main.d.ts +6 -0
- package/dist/main.js +480 -45
- package/dist/{ol-q6vTiF_t.js → ol-BUKJ1urU.js} +3 -3
- package/dist/property-CKak9_tn.js +7020 -0
- package/dist/{resolveComponentProps-BwtY1IP3.js → resolveComponentProps-DVsx78bV.js} +8 -8
- package/dist/{styled-CHMAYxVs.js → styled-CPg13iuX.js} +19 -19
- package/dist/{styled-Wx2vv4j8.js → styled-fcu13kUF.js} +20 -20
- package/dist/{useTheme-BI40KZ7w.js → useTheme-BWgLzAUj.js} +3 -3
- package/dist/{useTheme-CD5DEi5n.js → useTheme-pp7LSyyX.js} +2 -2
- package/dist/{useThemeProps-D4or2IlT.js → useThemeProps-CDWnyqCh.js} +3 -3
- package/dist/{useThemeProps-DT5EdhcP.js → useThemeProps-DOuXhu3E.js} +4 -4
- package/dist/{utils-BEaBPoDF.js → utils-Cbb4HUTT.js} +8 -8
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,47 +1,482 @@
|
|
|
1
|
-
import { Access as
|
|
2
|
-
import { Card as
|
|
3
|
-
import { ConditionalWrapper as
|
|
4
|
-
import { alert as
|
|
5
|
-
import { Container as
|
|
6
|
-
import { ContextMenu as
|
|
7
|
-
import { InstanceForm as
|
|
8
|
-
import { DisseminationList as
|
|
9
|
-
import { SecurityLevel as
|
|
10
|
-
import { DateTimePicker as
|
|
11
|
-
import { GeometryPicker as
|
|
12
|
-
import { IconButton as
|
|
13
|
-
import { KeyProtectionMenu as
|
|
14
|
-
import { S as
|
|
15
|
-
import { Loading as
|
|
16
|
-
import { i as
|
|
17
|
-
import { PhoneInput as
|
|
18
|
-
import { SearchInput as
|
|
19
|
-
import { TreeSelect as
|
|
20
|
-
import { TreeViewFilter as
|
|
21
|
-
import { CollapsibleCard as
|
|
22
|
-
import { TemplatePropertyFilters as
|
|
1
|
+
import { Access as Pt } from "./components/access/index.js";
|
|
2
|
+
import { Card as It } from "./components/card/index.js";
|
|
3
|
+
import { ConditionalWrapper as Ft } from "./components/conditional-wrapper/index.js";
|
|
4
|
+
import { alert as Bt, confirm as Et } from "./components/confirm/index.js";
|
|
5
|
+
import { Container as $t } from "./components/container/index.js";
|
|
6
|
+
import { ContextMenu as Nt } from "./components/context-menu/index.js";
|
|
7
|
+
import { InstanceForm as Jt } from "./components/data-management/instance-form/index.js";
|
|
8
|
+
import { DisseminationList as Gt } from "./components/data-security-selectors/dissemination-list/index.js";
|
|
9
|
+
import { SecurityLevel as Qt } from "./components/data-security-selectors/security-level/index.js";
|
|
10
|
+
import { DateTimePicker as Xt } from "./components/date-time-picker/index.js";
|
|
11
|
+
import { GeometryPicker as te } from "./components/geometry-picker/index.js";
|
|
12
|
+
import { IconButton as re } from "./components/icon-button/index.js";
|
|
13
|
+
import { KeyProtectionMenu as ne } from "./components/key-protection/menu.js";
|
|
14
|
+
import { S as oe } from "./utils-Bq0ye5vf.js";
|
|
15
|
+
import { Loading as he } from "./components/loading/index.js";
|
|
16
|
+
import { i as de } from "./index-JrtqxUdI.js";
|
|
17
|
+
import { PhoneInput as ce } from "./components/phone-input/index.js";
|
|
18
|
+
import { SearchInput as me } from "./components/search-input/index.js";
|
|
19
|
+
import { TreeSelect as ye } from "./components/tree-select/index.js";
|
|
20
|
+
import { TreeViewFilter as Te } from "./components/treeview-filter/index.js";
|
|
21
|
+
import { CollapsibleCard as De } from "./components/collapsible-card/index.js";
|
|
22
|
+
import { TemplatePropertyFilters as xe } from "./components/template-property-filters/index.js";
|
|
23
|
+
import { LocalizationProvider as Le } from "@mui/x-date-pickers";
|
|
24
|
+
import { _ as ft } from "./extends-Cyw62AD_.js";
|
|
25
|
+
import l from "dayjs";
|
|
26
|
+
import { c as W, g as $ } from "./createTheme-CCwx9ptk.js";
|
|
27
|
+
import { b as ct } from "./property-CKak9_tn.js";
|
|
28
|
+
var rt = { exports: {} };
|
|
29
|
+
(function(y, D) {
|
|
30
|
+
(function(c, d) {
|
|
31
|
+
y.exports = d();
|
|
32
|
+
})(W, function() {
|
|
33
|
+
var c = "week", d = "year";
|
|
34
|
+
return function(M, t, e) {
|
|
35
|
+
var r = t.prototype;
|
|
36
|
+
r.week = function(i) {
|
|
37
|
+
if (i === void 0 && (i = null), i !== null) return this.add(7 * (i - this.week()), "day");
|
|
38
|
+
var a = this.$locale().yearStart || 1;
|
|
39
|
+
if (this.month() === 11 && this.date() > 25) {
|
|
40
|
+
var n = e(this).startOf(d).add(1, d).date(a), f = e(this).endOf(c);
|
|
41
|
+
if (n.isBefore(f)) return 1;
|
|
42
|
+
}
|
|
43
|
+
var m = e(this).startOf(d).date(a).startOf(c).subtract(1, "millisecond"), A = this.diff(m, c, !0);
|
|
44
|
+
return A < 0 ? e(this).startOf("week").week() : Math.ceil(A);
|
|
45
|
+
}, r.weeks = function(i) {
|
|
46
|
+
return i === void 0 && (i = null), this.week(i);
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
})(rt);
|
|
51
|
+
var lt = rt.exports;
|
|
52
|
+
const mt = /* @__PURE__ */ $(lt);
|
|
53
|
+
var st = { exports: {} };
|
|
54
|
+
(function(y, D) {
|
|
55
|
+
(function(c, d) {
|
|
56
|
+
y.exports = d();
|
|
57
|
+
})(W, function() {
|
|
58
|
+
var c = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, d = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, M = /\d/, t = /\d\d/, e = /\d\d?/, r = /\d*[^-_:/,()\s\d]+/, i = {}, a = function(s) {
|
|
59
|
+
return (s = +s) + (s > 68 ? 1900 : 2e3);
|
|
60
|
+
}, n = function(s) {
|
|
61
|
+
return function(o) {
|
|
62
|
+
this[s] = +o;
|
|
63
|
+
};
|
|
64
|
+
}, f = [/[+-]\d\d:?(\d\d)?|Z/, function(s) {
|
|
65
|
+
(this.zone || (this.zone = {})).offset = function(o) {
|
|
66
|
+
if (!o || o === "Z") return 0;
|
|
67
|
+
var h = o.match(/([+-]|\d\d)/g), u = 60 * h[1] + (+h[2] || 0);
|
|
68
|
+
return u === 0 ? 0 : h[0] === "+" ? -u : u;
|
|
69
|
+
}(s);
|
|
70
|
+
}], m = function(s) {
|
|
71
|
+
var o = i[s];
|
|
72
|
+
return o && (o.indexOf ? o : o.s.concat(o.f));
|
|
73
|
+
}, A = function(s, o) {
|
|
74
|
+
var h, u = i.meridiem;
|
|
75
|
+
if (u) {
|
|
76
|
+
for (var Y = 1; Y <= 24; Y += 1) if (s.indexOf(u(Y, 0, o)) > -1) {
|
|
77
|
+
h = Y > 12;
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
} else h = s === (o ? "pm" : "PM");
|
|
81
|
+
return h;
|
|
82
|
+
}, Z = { A: [r, function(s) {
|
|
83
|
+
this.afternoon = A(s, !1);
|
|
84
|
+
}], a: [r, function(s) {
|
|
85
|
+
this.afternoon = A(s, !0);
|
|
86
|
+
}], Q: [M, function(s) {
|
|
87
|
+
this.month = 3 * (s - 1) + 1;
|
|
88
|
+
}], S: [M, function(s) {
|
|
89
|
+
this.milliseconds = 100 * +s;
|
|
90
|
+
}], SS: [t, function(s) {
|
|
91
|
+
this.milliseconds = 10 * +s;
|
|
92
|
+
}], SSS: [/\d{3}/, function(s) {
|
|
93
|
+
this.milliseconds = +s;
|
|
94
|
+
}], s: [e, n("seconds")], ss: [e, n("seconds")], m: [e, n("minutes")], mm: [e, n("minutes")], H: [e, n("hours")], h: [e, n("hours")], HH: [e, n("hours")], hh: [e, n("hours")], D: [e, n("day")], DD: [t, n("day")], Do: [r, function(s) {
|
|
95
|
+
var o = i.ordinal, h = s.match(/\d+/);
|
|
96
|
+
if (this.day = h[0], o) for (var u = 1; u <= 31; u += 1) o(u).replace(/\[|\]/g, "") === s && (this.day = u);
|
|
97
|
+
}], w: [e, n("week")], ww: [t, n("week")], M: [e, n("month")], MM: [t, n("month")], MMM: [r, function(s) {
|
|
98
|
+
var o = m("months"), h = (m("monthsShort") || o.map(function(u) {
|
|
99
|
+
return u.slice(0, 3);
|
|
100
|
+
})).indexOf(s) + 1;
|
|
101
|
+
if (h < 1) throw new Error();
|
|
102
|
+
this.month = h % 12 || h;
|
|
103
|
+
}], MMMM: [r, function(s) {
|
|
104
|
+
var o = m("months").indexOf(s) + 1;
|
|
105
|
+
if (o < 1) throw new Error();
|
|
106
|
+
this.month = o % 12 || o;
|
|
107
|
+
}], Y: [/[+-]?\d+/, n("year")], YY: [t, function(s) {
|
|
108
|
+
this.year = a(s);
|
|
109
|
+
}], YYYY: [/\d{4}/, n("year")], Z: f, ZZ: f };
|
|
110
|
+
function P(s) {
|
|
111
|
+
var o, h;
|
|
112
|
+
o = s, h = i && i.formats;
|
|
113
|
+
for (var u = (s = o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, O, g) {
|
|
114
|
+
var T = g && g.toUpperCase();
|
|
115
|
+
return O || h[g] || c[g] || h[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, S, b) {
|
|
116
|
+
return S || b.slice(1);
|
|
117
|
+
});
|
|
118
|
+
})).match(d), Y = u.length, x = 0; x < Y; x += 1) {
|
|
119
|
+
var I = u[x], j = Z[I], w = j && j[0], L = j && j[1];
|
|
120
|
+
u[x] = L ? { regex: w, parser: L } : I.replace(/^\[|\]$/g, "");
|
|
121
|
+
}
|
|
122
|
+
return function(C) {
|
|
123
|
+
for (var O = {}, g = 0, T = 0; g < Y; g += 1) {
|
|
124
|
+
var k = u[g];
|
|
125
|
+
if (typeof k == "string") T += k.length;
|
|
126
|
+
else {
|
|
127
|
+
var S = k.regex, b = k.parser, H = C.slice(T), U = S.exec(H)[0];
|
|
128
|
+
b.call(O, U), C = C.replace(U, "");
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return function(z) {
|
|
132
|
+
var F = z.afternoon;
|
|
133
|
+
if (F !== void 0) {
|
|
134
|
+
var p = z.hours;
|
|
135
|
+
F ? p < 12 && (z.hours += 12) : p === 12 && (z.hours = 0), delete z.afternoon;
|
|
136
|
+
}
|
|
137
|
+
}(O), O;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
return function(s, o, h) {
|
|
141
|
+
h.p.customParseFormat = !0, s && s.parseTwoDigitYear && (a = s.parseTwoDigitYear);
|
|
142
|
+
var u = o.prototype, Y = u.parse;
|
|
143
|
+
u.parse = function(x) {
|
|
144
|
+
var I = x.date, j = x.utc, w = x.args;
|
|
145
|
+
this.$u = j;
|
|
146
|
+
var L = w[1];
|
|
147
|
+
if (typeof L == "string") {
|
|
148
|
+
var C = w[2] === !0, O = w[3] === !0, g = C || O, T = w[2];
|
|
149
|
+
O && (T = w[2]), i = this.$locale(), !C && T && (i = h.Ls[T]), this.$d = function(H, U, z, F) {
|
|
150
|
+
try {
|
|
151
|
+
if (["x", "X"].indexOf(U) > -1) return new Date((U === "X" ? 1e3 : 1) * H);
|
|
152
|
+
var p = P(U)(H), N = p.year, v = p.month, ot = p.day, at = p.hours, ht = p.minutes, ut = p.seconds, dt = p.milliseconds, q = p.zone, tt = p.week, V = /* @__PURE__ */ new Date(), J = ot || (N || v ? 1 : V.getDate()), _ = N || V.getFullYear(), B = 0;
|
|
153
|
+
N && !v || (B = v > 0 ? v - 1 : V.getMonth());
|
|
154
|
+
var E, G = at || 0, K = ht || 0, Q = ut || 0, R = dt || 0;
|
|
155
|
+
return q ? new Date(Date.UTC(_, B, J, G, K, Q, R + 60 * q.offset * 1e3)) : z ? new Date(Date.UTC(_, B, J, G, K, Q, R)) : (E = new Date(_, B, J, G, K, Q, R), tt && (E = F(E).week(tt).toDate()), E);
|
|
156
|
+
} catch {
|
|
157
|
+
return /* @__PURE__ */ new Date("");
|
|
158
|
+
}
|
|
159
|
+
}(I, L, j, h), this.init(), T && T !== !0 && (this.$L = this.locale(T).$L), g && I != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
|
|
160
|
+
} else if (L instanceof Array) for (var k = L.length, S = 1; S <= k; S += 1) {
|
|
161
|
+
w[1] = L[S - 1];
|
|
162
|
+
var b = h.apply(this, w);
|
|
163
|
+
if (b.isValid()) {
|
|
164
|
+
this.$d = b.$d, this.$L = b.$L, this.init();
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
S === k && (this.$d = /* @__PURE__ */ new Date(""));
|
|
168
|
+
}
|
|
169
|
+
else Y.call(this, x);
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
});
|
|
173
|
+
})(st);
|
|
174
|
+
var pt = st.exports;
|
|
175
|
+
const yt = /* @__PURE__ */ $(pt);
|
|
176
|
+
var nt = { exports: {} };
|
|
177
|
+
(function(y, D) {
|
|
178
|
+
(function(c, d) {
|
|
179
|
+
y.exports = d();
|
|
180
|
+
})(W, function() {
|
|
181
|
+
var c = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
182
|
+
return function(d, M, t) {
|
|
183
|
+
var e = M.prototype, r = e.format;
|
|
184
|
+
t.en.formats = c, e.format = function(i) {
|
|
185
|
+
i === void 0 && (i = "YYYY-MM-DDTHH:mm:ssZ");
|
|
186
|
+
var a = this.$locale().formats, n = function(f, m) {
|
|
187
|
+
return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(A, Z, P) {
|
|
188
|
+
var s = P && P.toUpperCase();
|
|
189
|
+
return Z || m[P] || c[P] || m[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(o, h, u) {
|
|
190
|
+
return h || u.slice(1);
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
}(i, a === void 0 ? {} : a);
|
|
194
|
+
return r.call(this, n);
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
});
|
|
198
|
+
})(nt);
|
|
199
|
+
var Mt = nt.exports;
|
|
200
|
+
const Tt = /* @__PURE__ */ $(Mt);
|
|
201
|
+
var it = { exports: {} };
|
|
202
|
+
(function(y, D) {
|
|
203
|
+
(function(c, d) {
|
|
204
|
+
y.exports = d();
|
|
205
|
+
})(W, function() {
|
|
206
|
+
return function(c, d, M) {
|
|
207
|
+
d.prototype.isBetween = function(t, e, r, i) {
|
|
208
|
+
var a = M(t), n = M(e), f = (i = i || "()")[0] === "(", m = i[1] === ")";
|
|
209
|
+
return (f ? this.isAfter(a, r) : !this.isBefore(a, r)) && (m ? this.isBefore(n, r) : !this.isAfter(n, r)) || (f ? this.isBefore(a, r) : !this.isAfter(a, r)) && (m ? this.isAfter(n, r) : !this.isBefore(n, r));
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
});
|
|
213
|
+
})(it);
|
|
214
|
+
var gt = it.exports;
|
|
215
|
+
const Dt = /* @__PURE__ */ $(gt);
|
|
216
|
+
l.extend(yt);
|
|
217
|
+
l.extend(Tt);
|
|
218
|
+
l.extend(Dt);
|
|
219
|
+
const Yt = ct(["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 from 'dayjs/locale/{localeUsed}'", "fallback on English locale"]), xt = {
|
|
220
|
+
// Year
|
|
221
|
+
YY: "year",
|
|
222
|
+
YYYY: {
|
|
223
|
+
sectionType: "year",
|
|
224
|
+
contentType: "digit",
|
|
225
|
+
maxLength: 4
|
|
226
|
+
},
|
|
227
|
+
// Month
|
|
228
|
+
M: {
|
|
229
|
+
sectionType: "month",
|
|
230
|
+
contentType: "digit",
|
|
231
|
+
maxLength: 2
|
|
232
|
+
},
|
|
233
|
+
MM: "month",
|
|
234
|
+
MMM: {
|
|
235
|
+
sectionType: "month",
|
|
236
|
+
contentType: "letter"
|
|
237
|
+
},
|
|
238
|
+
MMMM: {
|
|
239
|
+
sectionType: "month",
|
|
240
|
+
contentType: "letter"
|
|
241
|
+
},
|
|
242
|
+
// Day of the month
|
|
243
|
+
D: {
|
|
244
|
+
sectionType: "day",
|
|
245
|
+
contentType: "digit",
|
|
246
|
+
maxLength: 2
|
|
247
|
+
},
|
|
248
|
+
DD: "day",
|
|
249
|
+
Do: {
|
|
250
|
+
sectionType: "day",
|
|
251
|
+
contentType: "digit-with-letter"
|
|
252
|
+
},
|
|
253
|
+
// Day of the week
|
|
254
|
+
d: {
|
|
255
|
+
sectionType: "weekDay",
|
|
256
|
+
contentType: "digit",
|
|
257
|
+
maxLength: 2
|
|
258
|
+
},
|
|
259
|
+
dd: {
|
|
260
|
+
sectionType: "weekDay",
|
|
261
|
+
contentType: "letter"
|
|
262
|
+
},
|
|
263
|
+
ddd: {
|
|
264
|
+
sectionType: "weekDay",
|
|
265
|
+
contentType: "letter"
|
|
266
|
+
},
|
|
267
|
+
dddd: {
|
|
268
|
+
sectionType: "weekDay",
|
|
269
|
+
contentType: "letter"
|
|
270
|
+
},
|
|
271
|
+
// Meridiem
|
|
272
|
+
A: "meridiem",
|
|
273
|
+
a: "meridiem",
|
|
274
|
+
// Hours
|
|
275
|
+
H: {
|
|
276
|
+
sectionType: "hours",
|
|
277
|
+
contentType: "digit",
|
|
278
|
+
maxLength: 2
|
|
279
|
+
},
|
|
280
|
+
HH: "hours",
|
|
281
|
+
h: {
|
|
282
|
+
sectionType: "hours",
|
|
283
|
+
contentType: "digit",
|
|
284
|
+
maxLength: 2
|
|
285
|
+
},
|
|
286
|
+
hh: "hours",
|
|
287
|
+
// Minutes
|
|
288
|
+
m: {
|
|
289
|
+
sectionType: "minutes",
|
|
290
|
+
contentType: "digit",
|
|
291
|
+
maxLength: 2
|
|
292
|
+
},
|
|
293
|
+
mm: "minutes",
|
|
294
|
+
// Seconds
|
|
295
|
+
s: {
|
|
296
|
+
sectionType: "seconds",
|
|
297
|
+
contentType: "digit",
|
|
298
|
+
maxLength: 2
|
|
299
|
+
},
|
|
300
|
+
ss: "seconds"
|
|
301
|
+
}, wt = {
|
|
302
|
+
year: "YYYY",
|
|
303
|
+
month: "MMMM",
|
|
304
|
+
monthShort: "MMM",
|
|
305
|
+
dayOfMonth: "D",
|
|
306
|
+
weekday: "dddd",
|
|
307
|
+
weekdayShort: "dd",
|
|
308
|
+
hours24h: "HH",
|
|
309
|
+
hours12h: "hh",
|
|
310
|
+
meridiem: "A",
|
|
311
|
+
minutes: "mm",
|
|
312
|
+
seconds: "ss",
|
|
313
|
+
fullDate: "ll",
|
|
314
|
+
fullDateWithWeekday: "dddd, LL",
|
|
315
|
+
keyboardDate: "L",
|
|
316
|
+
shortDate: "MMM D",
|
|
317
|
+
normalDate: "D MMMM",
|
|
318
|
+
normalDateWithWeekday: "ddd, MMM D",
|
|
319
|
+
monthAndYear: "MMMM YYYY",
|
|
320
|
+
monthAndDate: "MMMM D",
|
|
321
|
+
fullTime: "LT",
|
|
322
|
+
fullTime12h: "hh:mm A",
|
|
323
|
+
fullTime24h: "HH:mm",
|
|
324
|
+
fullDateTime: "lll",
|
|
325
|
+
fullDateTime12h: "ll hh:mm A",
|
|
326
|
+
fullDateTime24h: "ll HH:mm",
|
|
327
|
+
keyboardDateTime: "L LT",
|
|
328
|
+
keyboardDateTime12h: "L hh:mm A",
|
|
329
|
+
keyboardDateTime24h: "L HH:mm"
|
|
330
|
+
}, X = ["Missing UTC plugin", "To be able to use UTC or timezones, you have to enable the `utc` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
|
|
331
|
+
`), et = ["Missing timezone plugin", "To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
|
|
332
|
+
`), Lt = (y, D) => D ? (...c) => y(...c).locale(D) : y;
|
|
333
|
+
class bt {
|
|
334
|
+
constructor({
|
|
335
|
+
locale: D,
|
|
336
|
+
formats: c,
|
|
337
|
+
instance: d
|
|
338
|
+
} = {}) {
|
|
339
|
+
var M;
|
|
340
|
+
this.isMUIAdapter = !0, this.isTimezoneCompatible = !0, this.lib = "dayjs", this.rawDayJsInstance = void 0, this.dayjs = void 0, this.locale = void 0, this.formats = void 0, this.escapedCharacters = {
|
|
341
|
+
start: "[",
|
|
342
|
+
end: "]"
|
|
343
|
+
}, this.formatTokenMap = xt, this.setLocaleToValue = (t) => {
|
|
344
|
+
const e = this.getCurrentLocaleCode();
|
|
345
|
+
return e === t.locale() ? t : t.locale(e);
|
|
346
|
+
}, this.hasUTCPlugin = () => typeof l.utc < "u", this.hasTimezonePlugin = () => typeof l.tz < "u", this.isSame = (t, e, r) => {
|
|
347
|
+
const i = this.setTimezone(e, this.getTimezone(t));
|
|
348
|
+
return t.format(r) === i.format(r);
|
|
349
|
+
}, this.cleanTimezone = (t) => {
|
|
350
|
+
switch (t) {
|
|
351
|
+
case "default":
|
|
352
|
+
return;
|
|
353
|
+
case "system":
|
|
354
|
+
return l.tz.guess();
|
|
355
|
+
default:
|
|
356
|
+
return t;
|
|
357
|
+
}
|
|
358
|
+
}, this.createSystemDate = (t) => {
|
|
359
|
+
if (this.rawDayJsInstance)
|
|
360
|
+
return this.rawDayJsInstance(t);
|
|
361
|
+
if (this.hasUTCPlugin() && this.hasTimezonePlugin()) {
|
|
362
|
+
const e = l.tz.guess();
|
|
363
|
+
return e !== "UTC" ? l.tz(t, e) : l(t);
|
|
364
|
+
}
|
|
365
|
+
return l(t);
|
|
366
|
+
}, this.createUTCDate = (t) => {
|
|
367
|
+
if (!this.hasUTCPlugin())
|
|
368
|
+
throw new Error(X);
|
|
369
|
+
return l.utc(t);
|
|
370
|
+
}, this.createTZDate = (t, e) => {
|
|
371
|
+
if (!this.hasUTCPlugin())
|
|
372
|
+
throw new Error(X);
|
|
373
|
+
if (!this.hasTimezonePlugin())
|
|
374
|
+
throw new Error(et);
|
|
375
|
+
const r = t !== void 0 && !t.endsWith("Z");
|
|
376
|
+
return l(t).tz(this.cleanTimezone(e), r);
|
|
377
|
+
}, this.getLocaleFormats = () => {
|
|
378
|
+
const t = l.Ls, e = this.locale || "en";
|
|
379
|
+
let r = t[e];
|
|
380
|
+
return r === void 0 && (Yt(), r = t.en), r.formats;
|
|
381
|
+
}, this.adjustOffset = (t) => {
|
|
382
|
+
if (!this.hasTimezonePlugin())
|
|
383
|
+
return t;
|
|
384
|
+
const e = this.getTimezone(t);
|
|
385
|
+
if (e !== "UTC") {
|
|
386
|
+
var r, i;
|
|
387
|
+
const a = t.tz(this.cleanTimezone(e), !0);
|
|
388
|
+
if (((r = a.$offset) != null ? r : 0) === ((i = t.$offset) != null ? i : 0))
|
|
389
|
+
return t;
|
|
390
|
+
t.$offset = a.$offset;
|
|
391
|
+
}
|
|
392
|
+
return t;
|
|
393
|
+
}, this.date = (t) => t === null ? null : this.dayjs(t), this.dateWithTimezone = (t, e) => {
|
|
394
|
+
if (t === null)
|
|
395
|
+
return null;
|
|
396
|
+
let r;
|
|
397
|
+
return e === "UTC" ? r = this.createUTCDate(t) : e === "system" || e === "default" && !this.hasTimezonePlugin() ? r = this.createSystemDate(t) : r = this.createTZDate(t, e), this.locale === void 0 ? r : r.locale(this.locale);
|
|
398
|
+
}, this.getTimezone = (t) => {
|
|
399
|
+
if (this.hasTimezonePlugin()) {
|
|
400
|
+
var e;
|
|
401
|
+
const r = (e = t.$x) == null ? void 0 : e.$timezone;
|
|
402
|
+
if (r)
|
|
403
|
+
return r;
|
|
404
|
+
}
|
|
405
|
+
return this.hasUTCPlugin() && t.isUTC() ? "UTC" : "system";
|
|
406
|
+
}, this.setTimezone = (t, e) => {
|
|
407
|
+
if (this.getTimezone(t) === e)
|
|
408
|
+
return t;
|
|
409
|
+
if (e === "UTC") {
|
|
410
|
+
if (!this.hasUTCPlugin())
|
|
411
|
+
throw new Error(X);
|
|
412
|
+
return t.utc();
|
|
413
|
+
}
|
|
414
|
+
if (e === "system")
|
|
415
|
+
return t.local();
|
|
416
|
+
if (!this.hasTimezonePlugin()) {
|
|
417
|
+
if (e === "default")
|
|
418
|
+
return t;
|
|
419
|
+
throw new Error(et);
|
|
420
|
+
}
|
|
421
|
+
return l.tz(t, this.cleanTimezone(e));
|
|
422
|
+
}, 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) => {
|
|
423
|
+
const e = this.getLocaleFormats(), r = (i) => i.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (a, n, f) => n || f.slice(1));
|
|
424
|
+
return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (i, a, n) => {
|
|
425
|
+
const f = n && n.toUpperCase();
|
|
426
|
+
return a || e[n] || r(e[f]);
|
|
427
|
+
});
|
|
428
|
+
}, this.getFormatHelperText = (t) => this.expandFormat(t).replace(/a/gi, "(a|p)m").toLocaleLowerCase(), this.isNull = (t) => t === null, this.isValid = (t) => this.dayjs(t).isValid(), this.format = (t, e) => this.formatByString(t, this.formats[e]), this.formatByString = (t, e) => this.dayjs(t).format(e), this.formatNumber = (t) => t, this.getDiff = (t, e, r) => t.diff(e, r), this.isEqual = (t, e) => t === null && e === null ? !0 : this.dayjs(t).toDate().getTime() === this.dayjs(e).toDate().getTime(), this.isSameYear = (t, e) => this.isSame(t, e, "YYYY"), this.isSameMonth = (t, e) => this.isSame(t, e, "YYYY-MM"), this.isSameDay = (t, e) => this.isSame(t, e, "YYYY-MM-DD"), this.isSameHour = (t, e) => t.isSame(e, "hour"), this.isAfter = (t, e) => t > e, this.isAfterYear = (t, e) => this.hasUTCPlugin() ? !this.isSameYear(t, e) && t.utc() > e.utc() : t.isAfter(e, "year"), this.isAfterDay = (t, e) => this.hasUTCPlugin() ? !this.isSameDay(t, e) && t.utc() > e.utc() : t.isAfter(e, "day"), this.isBefore = (t, e) => t < e, this.isBeforeYear = (t, e) => this.hasUTCPlugin() ? !this.isSameYear(t, e) && t.utc() < e.utc() : t.isBefore(e, "year"), this.isBeforeDay = (t, e) => this.hasUTCPlugin() ? !this.isSameDay(t, e) && t.utc() < e.utc() : t.isBefore(e, "day"), this.isWithinRange = (t, [e, r]) => t >= e && t <= r, this.startOfYear = (t) => this.adjustOffset(t.startOf("year")), this.startOfMonth = (t) => this.adjustOffset(t.startOf("month")), this.startOfWeek = (t) => this.adjustOffset(t.startOf("week")), this.startOfDay = (t) => this.adjustOffset(t.startOf("day")), this.endOfYear = (t) => this.adjustOffset(t.endOf("year")), this.endOfMonth = (t) => this.adjustOffset(t.endOf("month")), this.endOfWeek = (t) => this.adjustOffset(t.endOf("week")), this.endOfDay = (t) => this.adjustOffset(t.endOf("day")), this.addYears = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "year") : t.add(e, "year")), this.addMonths = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "month") : t.add(e, "month")), this.addWeeks = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "week") : t.add(e, "week")), this.addDays = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "day") : t.add(e, "day")), this.addHours = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "hour") : t.add(e, "hour")), this.addMinutes = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "minute") : t.add(e, "minute")), this.addSeconds = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "second") : t.add(e, "second")), this.getYear = (t) => t.year(), this.getMonth = (t) => t.month(), this.getDate = (t) => t.date(), this.getHours = (t) => t.hour(), this.getMinutes = (t) => t.minute(), this.getSeconds = (t) => t.second(), this.getMilliseconds = (t) => t.millisecond(), this.setYear = (t, e) => this.adjustOffset(t.set("year", e)), this.setMonth = (t, e) => this.adjustOffset(t.set("month", e)), this.setDate = (t, e) => this.adjustOffset(t.set("date", e)), this.setHours = (t, e) => this.adjustOffset(t.set("hour", e)), this.setMinutes = (t, e) => this.adjustOffset(t.set("minute", e)), this.setSeconds = (t, e) => this.adjustOffset(t.set("second", e)), this.setMilliseconds = (t, e) => this.adjustOffset(t.set("millisecond", e)), this.getDaysInMonth = (t) => t.daysInMonth(), this.getNextMonth = (t) => this.addMonths(t, 1), this.getPreviousMonth = (t) => this.addMonths(t, -1), this.getMonthArray = (t) => {
|
|
429
|
+
const r = [t.startOf("year")];
|
|
430
|
+
for (; r.length < 12; ) {
|
|
431
|
+
const i = r[r.length - 1];
|
|
432
|
+
r.push(this.addMonths(i, 1));
|
|
433
|
+
}
|
|
434
|
+
return r;
|
|
435
|
+
}, this.mergeDateAndTime = (t, e) => t.hour(e.hour()).minute(e.minute()).second(e.second()), this.getWeekdays = () => {
|
|
436
|
+
const t = this.dayjs().startOf("week");
|
|
437
|
+
return [0, 1, 2, 3, 4, 5, 6].map((e) => this.formatByString(this.addDays(t, e), "dd"));
|
|
438
|
+
}, this.getWeekArray = (t) => {
|
|
439
|
+
const e = this.setLocaleToValue(t), r = e.startOf("month").startOf("week"), i = e.endOf("month").endOf("week");
|
|
440
|
+
let a = 0, n = r;
|
|
441
|
+
const f = [];
|
|
442
|
+
for (; n < i; ) {
|
|
443
|
+
const m = Math.floor(a / 7);
|
|
444
|
+
f[m] = f[m] || [], f[m].push(n), n = this.addDays(n, 1), a += 1;
|
|
445
|
+
}
|
|
446
|
+
return f;
|
|
447
|
+
}, this.getWeekNumber = (t) => t.week(), this.getYearRange = (t, e) => {
|
|
448
|
+
const r = t.startOf("year"), i = e.endOf("year"), a = [];
|
|
449
|
+
let n = r;
|
|
450
|
+
for (; n < i; )
|
|
451
|
+
a.push(n), n = this.addYears(n, 1);
|
|
452
|
+
return a;
|
|
453
|
+
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = d, this.dayjs = Lt((M = this.rawDayJsInstance) != null ? M : l, D), this.locale = D, this.formats = ft({}, wt, c), l.extend(mt);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
23
456
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
457
|
+
Pt as Access,
|
|
458
|
+
bt as AdapterDayjs,
|
|
459
|
+
It as Card,
|
|
460
|
+
De as CollapsibleCard,
|
|
461
|
+
Ft as ConditionalWrapper,
|
|
462
|
+
$t as Container,
|
|
463
|
+
Nt as ContextMenu,
|
|
464
|
+
Xt as DateTimePicker,
|
|
465
|
+
Gt as DisseminationList,
|
|
466
|
+
te as GeometryPicker,
|
|
467
|
+
re as IconButton,
|
|
468
|
+
Jt as InstanceForm,
|
|
469
|
+
oe as KeyProductionUtils,
|
|
470
|
+
ne as KeyProtectionMenu,
|
|
471
|
+
he as Loading,
|
|
472
|
+
Le as LocalizationProvider,
|
|
473
|
+
de as Map,
|
|
474
|
+
ce as PhoneInput,
|
|
475
|
+
me as SearchInput,
|
|
476
|
+
Qt as SecurityLevel,
|
|
477
|
+
xe as TemplatePropertyFilters,
|
|
478
|
+
ye as TreeSelect,
|
|
479
|
+
Te as TreeViewFilter,
|
|
480
|
+
Bt as alert,
|
|
481
|
+
Et as confirm
|
|
47
482
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import li from "lodash";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { s as Fr,
|
|
2
|
+
import { c as Se, m as ls, w as hr, g as ft, i as cr, R as Wt, B as bo, b as ni, e as yi, l as ko, s as dr, r as ur, d as fr, P as We, f as Ut, V as ae, h as Go, j as st, k as Yo, n as he, o as ws, p as Xo, q as hi, u as gr, v as _r, x as Wo, L as _n, y as mn, z as mr, A as pr, C as yr, D as Uo, E as Bo, F as zn, G as Ls, H as It, I as Zi, J as zt, K as xr, M as Vn, N as xi, O as Er, t as Ko, Q as vs, S as hs, T as Hn, U as Ps, W as Tr, X as ci, Y as zo, Z as Ei, _ as Ti, $ as Vo, a0 as Ho, a1 as Zo, a2 as ke, a3 as qo, a4 as jo, a5 as Cr, a6 as Jo, a7 as Qo, a8 as Zn, a9 as $o, aa as ta, ab as ea, ac as Vt, ad as ia, ae as na, af as sa, ag as ra, ah as oa, ai as aa, aj as As, ak as qn, al as la, am as ha, an as ca, ao as da, ap as ua, aq as fa, ar as Ji, as as ga, at as Sr, au as _a, av as ma, aw as ti, ax as pa, ay as pn, az as ya, aA as xa, aB as Ea, aC as Ta, aD as si, aE as Ca, aF as Sa, aG as Ra, aH as Ia, aI as wa, aJ as yn, a as La, aK as Rr } from "./Source-Hf_SiWEW.js";
|
|
3
|
+
import { B as Ci, A as va, a as ze, D as Ir, b as tt, T as di, l as Z, O as ui, u as it, c as ot, d as wr, E as W, g as q, e as Lr, P as vr, V as cs, f as Re, F as Si, W as Pa, M as Pr, h as Aa, i as fi, j as Ar, k as Fa, m as An, s as Da, n as Qi, o as Oa, p as St, q as V, r as Ma, t as Na, v as $i, w as ba, x as ka } from "./has-CjQtZJa9.js";
|
|
4
|
+
import { s as Fr, c as Ga, b as xn, r as Ya, d as jn, e as ds, f as Fs, g as Xa, h as Ds, i as Yi, j as Os, k as lt, l as Jn, m as Mt, n as Wa, o as En, t as Ua, S as _t, F as Ve, I as Ht, a as tn, T as Ri, R as Ba, C as Ka, p as za, q as Va, u as ce, v as Rt, w as en, x as nn, y as Bt, z as Kt, A as sn, B as rn, D as on, E as xe, G as gi, H as an, J as Dr, K as Ha, L as Za, M as qa, N as Ms } from "./Text-D6oGbCdi.js";
|
|
5
5
|
import { Feature as me } from "ol";
|
|
6
6
|
import { getNumberCoordinates as us, validate as Or, parse as Mr, getGeometries as Qn, findPlacemarkCoordinates as ja, build as Ja } from "./components/map/helpers/kml.js";
|
|
7
7
|
import { defaultStyle as Nr, selectStyleFunction as Qa } from "./components/map/styled.js";
|