@middag-io/react 0.39.0 → 0.39.1
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-lib/{FormField-CKzrwqSV.js → FormField-DnDEEbyM.js} +788 -785
- package/dist-lib/{FormPanelBlock-0knL5-AY.js → FormPanelBlock-C2AneajG.js} +1 -1
- package/dist-lib/base/utils/icon-registry.d.ts.map +1 -1
- package/dist-lib/base/utils/icon-registry.js +13 -10
- package/dist-lib/middag-react.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as e, F as t, K as n, Q as r, Rt as i, Y as a, Z as o, a as s, at as c, et as l, i as u, it as d, n as f, nt as p, o as m, ot as h, r as g, s as _, st as v, t as y, ut as b, zt as x } from "./FormField-
|
|
1
|
+
import { Bt as e, F as t, K as n, Q as r, Rt as i, Y as a, Z as o, a as s, at as c, et as l, i as u, it as d, n as f, nt as p, o as m, ot as h, r as g, s as _, st as v, t as y, ut as b, zt as x } from "./FormField-DnDEEbyM.js";
|
|
2
2
|
import { t as S } from "./button-CxyXN3nw.js";
|
|
3
3
|
import { t as ee } from "./useTranslation-D-tjJhTn.js";
|
|
4
4
|
import { t as C } from "./utils-CpaZ5_iF.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/base/utils/icon-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/base/utils/icon-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAwCnE;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,GAAG,IAAI,CAErE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,GAAG,IAAI,CAE/F;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhF"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
//#region src/base/utils/icon-registry.ts
|
|
2
|
-
var e =
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var e = "__MIDDAG_ICON_REGISTRY_V1__", t = globalThis, n = t[e] ??= {
|
|
3
|
+
icons: /* @__PURE__ */ new Map(),
|
|
4
|
+
entityIcons: /* @__PURE__ */ new Map()
|
|
5
|
+
}, r = n.icons, i = n.entityIcons;
|
|
6
|
+
function a(e, t) {
|
|
7
|
+
r.set(e, t);
|
|
5
8
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
9
|
+
function o(e, t) {
|
|
10
|
+
i.set(e, t);
|
|
8
11
|
}
|
|
9
|
-
function
|
|
10
|
-
return
|
|
12
|
+
function s(e) {
|
|
13
|
+
return r.get(e);
|
|
11
14
|
}
|
|
12
|
-
function
|
|
13
|
-
return
|
|
15
|
+
function c(e) {
|
|
16
|
+
return i.get(e);
|
|
14
17
|
}
|
|
15
18
|
//#endregion
|
|
16
|
-
export {
|
|
19
|
+
export { o as registerEntityIcon, a as registerIcon, c as resolveEntityIcon, s as resolveIcon };
|
package/dist-lib/middag-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, n as t, r as n, t as r } from "./chunk-DeC0fbbY.js";
|
|
2
|
-
import { $ as i, A as a, At as o, B as s, C as c, Ct as l, D as u, Dt as d, E as f, Et as p, F as m, Ft as h, G as g, H as _, I as v, It as y, J as b, K as x, L as S, Lt as C, M as w, Mt as T, N as E, Nt as D, O, Ot as k, P as ee, Pt as A, Q as te, R as j, S as ne, St as re, T as ie, Tt as ae, U as oe, V as se, W as ce, X as le, Y as ue, Z as de, _ as fe, _t as pe, a as me, at as he, b as ge, bt as _e, c as ve, ct as ye, d as be, dt as xe, et as M, f as Se, ft as Ce, g as we, gt as Te, h as Ee, ht as De, it as Oe, j as ke, jt as Ae, k as je, kt as N, l as Me, lt as Ne, m as Pe, mt as Fe, n as Ie, nt as Le, o as Re, ot as ze, p as Be, pt as Ve, q as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as Ye, v as Xe, vt as Ze, w as Qe, wt as P, x as $e, xt as et, y as tt, yt as nt, z as rt } from "./FormField-
|
|
2
|
+
import { $ as i, A as a, At as o, B as s, C as c, Ct as l, D as u, Dt as d, E as f, Et as p, F as m, Ft as h, G as g, H as _, I as v, It as y, J as b, K as x, L as S, Lt as C, M as w, Mt as T, N as E, Nt as D, O, Ot as k, P as ee, Pt as A, Q as te, R as j, S as ne, St as re, T as ie, Tt as ae, U as oe, V as se, W as ce, X as le, Y as ue, Z as de, _ as fe, _t as pe, a as me, at as he, b as ge, bt as _e, c as ve, ct as ye, d as be, dt as xe, et as M, f as Se, ft as Ce, g as we, gt as Te, h as Ee, ht as De, it as Oe, j as ke, jt as Ae, k as je, kt as N, l as Me, lt as Ne, m as Pe, mt as Fe, n as Ie, nt as Le, o as Re, ot as ze, p as Be, pt as Ve, q as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as Ye, v as Xe, vt as Ze, w as Qe, wt as P, x as $e, xt as et, y as tt, yt as nt, z as rt } from "./FormField-DnDEEbyM.js";
|
|
3
3
|
import { a as it, c as at, d as ot, f as st, g as ct, i as lt, l as ut, m as dt, n as ft, o as F, p as pt, r as mt, t as ht, u as gt } from "./button-CxyXN3nw.js";
|
|
4
4
|
import { a as _t, c as vt, d as yt, f as bt, g as xt, h as St, i as Ct, it as wt, l as Tt, m as Et, n as Dt, o as Ot, ot as kt, p as At, r as jt, rt as Mt, s as Nt, st as Pt, t as Ft, u as It } from "./combobox-RfE54yDL.js";
|
|
5
5
|
import { t as Lt } from "./chevron-right-t5ALKicc.js";
|
|
@@ -24542,7 +24542,7 @@ function LX({ block: e }) {
|
|
|
24542
24542
|
}
|
|
24543
24543
|
//#endregion
|
|
24544
24544
|
//#region src/base/blocks/FormPanelBlock.lazy.tsx
|
|
24545
|
-
var RX = Lr(() => import("./FormPanelBlock-
|
|
24545
|
+
var RX = Lr(() => import("./FormPanelBlock-C2AneajG.js").then((e) => ({ default: e.FormPanelBlock })));
|
|
24546
24546
|
function zX() {
|
|
24547
24547
|
return /* @__PURE__ */ K("div", {
|
|
24548
24548
|
className: "mx-auto max-w-[720px] space-y-6",
|