@arkitektbedriftene/fe-lib 5.7.0 → 5.7.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.
@@ -0,0 +1,2 @@
1
+ export * from './system/components/UserMenu'
2
+ export {}
@@ -0,0 +1,112 @@
1
+ import a from "react";
2
+ var p = {
3
+ color: void 0,
4
+ size: void 0,
5
+ className: void 0,
6
+ style: void 0,
7
+ attr: void 0
8
+ }, s = a.createContext && /* @__PURE__ */ a.createContext(p), g = ["attr", "size", "title"];
9
+ function v(e, t) {
10
+ if (e == null) return {};
11
+ var r = d(e, t), n, i;
12
+ if (Object.getOwnPropertySymbols) {
13
+ var o = Object.getOwnPropertySymbols(e);
14
+ for (i = 0; i < o.length; i++)
15
+ n = o[i], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
16
+ }
17
+ return r;
18
+ }
19
+ function d(e, t) {
20
+ if (e == null) return {};
21
+ var r = {};
22
+ for (var n in e)
23
+ if (Object.prototype.hasOwnProperty.call(e, n)) {
24
+ if (t.indexOf(n) >= 0) continue;
25
+ r[n] = e[n];
26
+ }
27
+ return r;
28
+ }
29
+ function c() {
30
+ return c = Object.assign ? Object.assign.bind() : function(e) {
31
+ for (var t = 1; t < arguments.length; t++) {
32
+ var r = arguments[t];
33
+ for (var n in r)
34
+ Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
35
+ }
36
+ return e;
37
+ }, c.apply(this, arguments);
38
+ }
39
+ function m(e, t) {
40
+ var r = Object.keys(e);
41
+ if (Object.getOwnPropertySymbols) {
42
+ var n = Object.getOwnPropertySymbols(e);
43
+ t && (n = n.filter(function(i) {
44
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
45
+ })), r.push.apply(r, n);
46
+ }
47
+ return r;
48
+ }
49
+ function u(e) {
50
+ for (var t = 1; t < arguments.length; t++) {
51
+ var r = arguments[t] != null ? arguments[t] : {};
52
+ t % 2 ? m(Object(r), !0).forEach(function(n) {
53
+ y(e, n, r[n]);
54
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : m(Object(r)).forEach(function(n) {
55
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
56
+ });
57
+ }
58
+ return e;
59
+ }
60
+ function y(e, t, r) {
61
+ return t = j(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
62
+ }
63
+ function j(e) {
64
+ var t = P(e, "string");
65
+ return typeof t == "symbol" ? t : t + "";
66
+ }
67
+ function P(e, t) {
68
+ if (typeof e != "object" || !e) return e;
69
+ var r = e[Symbol.toPrimitive];
70
+ if (r !== void 0) {
71
+ var n = r.call(e, t || "default");
72
+ if (typeof n != "object") return n;
73
+ throw new TypeError("@@toPrimitive must return a primitive value.");
74
+ }
75
+ return (t === "string" ? String : Number)(e);
76
+ }
77
+ function b(e) {
78
+ return e && e.map((t, r) => /* @__PURE__ */ a.createElement(t.tag, u({
79
+ key: r
80
+ }, t.attr), b(t.child)));
81
+ }
82
+ function E(e) {
83
+ return (t) => /* @__PURE__ */ a.createElement(h, c({
84
+ attr: u({}, e.attr)
85
+ }, t), b(e.child));
86
+ }
87
+ function h(e) {
88
+ var t = (r) => {
89
+ var {
90
+ attr: n,
91
+ size: i,
92
+ title: o
93
+ } = e, O = v(e, g), f = i || r.size || "1em", l;
94
+ return r.className && (l = r.className), e.className && (l = (l ? l + " " : "") + e.className), /* @__PURE__ */ a.createElement("svg", c({
95
+ stroke: "currentColor",
96
+ fill: "currentColor",
97
+ strokeWidth: "0"
98
+ }, r.attr, n, O, {
99
+ className: l,
100
+ style: u(u({
101
+ color: e.color || r.color
102
+ }, r.style), e.style),
103
+ height: f,
104
+ width: f,
105
+ xmlns: "http://www.w3.org/2000/svg"
106
+ }), o && /* @__PURE__ */ a.createElement("title", null, o), e.children);
107
+ };
108
+ return s !== void 0 ? /* @__PURE__ */ a.createElement(s.Consumer, null, (r) => t(r)) : t(p);
109
+ }
110
+ export {
111
+ E as G
112
+ };
package/dist/icons.es.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { G as t, M as n, a as r, b as i, c, d as h } from "./index-BIHcSFgi.js";
3
- import { F as d, a as v } from "./index-CjjD4eDc.js";
2
+ import { M as n, a as r, b as i, c, d as h } from "./index-CpqLD5Bi.js";
3
+ import { G as t } from "./iconBase-LROS5hdG.js";
4
+ import { F as d, a as v } from "./index-C_mUnrO0.js";
4
5
  function z(a) {
5
6
  return t({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M4 2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zM4 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zM7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zM4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z" }, child: [] }, { tag: "path", attr: { d: "M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1zm11 0H3v14h3v-2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5V15h3z" }, child: [] }] })(a);
6
7
  }
@@ -28,9 +29,9 @@ function m(a) {
28
29
  function o(a) {
29
30
  return t({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 0 1-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 0 1 6.8-17.2z" }, child: [] }] })(a);
30
31
  }
31
- function g(a) {
32
+ function I(a) {
32
33
  return a.ExternalId == null || a.ExternalId == "" ? /* @__PURE__ */ l(e, {}) : a.ExternalId.indexOf("SYKELONN") > -1 ? /* @__PURE__ */ l(n, {}) : a.ExternalId.indexOf("ANSVAR") > -1 ? /* @__PURE__ */ l(z, {}) : a.ExternalId.indexOf("RETTS") > -1 ? /* @__PURE__ */ l(s, {}) : a.ExternalId.indexOf("BEHAND") > -1 ? /* @__PURE__ */ l(u, {}) : a.ExternalId.indexOf("REISE") > -1 ? /* @__PURE__ */ l(r, {}) : a.ExternalId.indexOf("YRKE") > -1 ? /* @__PURE__ */ l(m, {}) : a.ExternalId.indexOf("VERDI") > -1 ? /* @__PURE__ */ l(M, {}) : a.ExternalId.indexOf("TJENESTE") > -1 ? /* @__PURE__ */ l(i, {}) : a.ExternalId.indexOf("GRUPPELIV") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(d, {}) }) : a.ExternalId.indexOf("SYKEAV") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(f, {}) }) : a.ExternalId.indexOf("_MAKS") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(c, { color: "green" }) }) : a.ExternalId.indexOf("_MEDLEM") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(o, { color: "#B22222" }) }) : a.ExternalId.indexOf("_PRAKSIS") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(h, { color: "#8cc6ce" }) }) : a.ExternalId.indexOf("_AY") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(v, { color: "#e8b281" }) }) : a.ExternalId.indexOf("_TARIFF") > -1 ? /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(x, { color: "#626FFE " }) }) : /* @__PURE__ */ l(e, {});
33
34
  }
34
35
  export {
35
- g as ProductExternalIdToIcon
36
+ I as ProductExternalIdToIcon
36
37
  };
@@ -1,4 +1,4 @@
1
- import { G as t } from "./index-BIHcSFgi.js";
1
+ import { G as t } from "./iconBase-LROS5hdG.js";
2
2
  function l(c) {
3
3
  return t({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" }, child: [] }] })(c);
4
4
  }
@@ -1,164 +1,55 @@
1
- import l from "react";
2
- var f = {
3
- color: void 0,
4
- size: void 0,
5
- className: void 0,
6
- style: void 0,
7
- attr: void 0
8
- }, v = l.createContext && /* @__PURE__ */ l.createContext(f), m = ["attr", "size", "title"];
9
- function z(t, e) {
10
- if (t == null) return {};
11
- var r = M(t, e), a, i;
12
- if (Object.getOwnPropertySymbols) {
13
- var c = Object.getOwnPropertySymbols(t);
14
- for (i = 0; i < c.length; i++)
15
- a = c[i], !(e.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(t, a) && (r[a] = t[a]);
16
- }
17
- return r;
1
+ import { G as a } from "./iconBase-LROS5hdG.js";
2
+ function l(t) {
3
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z" }, child: [] }] })(t);
18
4
  }
19
- function M(t, e) {
20
- if (t == null) return {};
21
- var r = {};
22
- for (var a in t)
23
- if (Object.prototype.hasOwnProperty.call(t, a)) {
24
- if (e.indexOf(a) >= 0) continue;
25
- r[a] = t[a];
26
- }
27
- return r;
5
+ function c(t) {
6
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" }, child: [] }] })(t);
28
7
  }
29
- function h() {
30
- return h = Object.assign ? Object.assign.bind() : function(t) {
31
- for (var e = 1; e < arguments.length; e++) {
32
- var r = arguments[e];
33
- for (var a in r)
34
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
35
- }
36
- return t;
37
- }, h.apply(this, arguments);
8
+ function i(t) {
9
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69L23 12zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z" }, child: [] }] })(t);
38
10
  }
39
- function s(t, e) {
40
- var r = Object.keys(t);
41
- if (Object.getOwnPropertySymbols) {
42
- var a = Object.getOwnPropertySymbols(t);
43
- e && (a = a.filter(function(i) {
44
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
45
- })), r.push.apply(r, a);
46
- }
47
- return r;
11
+ function r(t) {
12
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }, child: [] }] })(t);
48
13
  }
49
14
  function d(t) {
50
- for (var e = 1; e < arguments.length; e++) {
51
- var r = arguments[e] != null ? arguments[e] : {};
52
- e % 2 ? s(Object(r), !0).forEach(function(a) {
53
- w(t, a, r[a]);
54
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : s(Object(r)).forEach(function(a) {
55
- Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(r, a));
56
- });
57
- }
58
- return t;
59
- }
60
- function w(t, e, r) {
61
- return e = O(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
62
- }
63
- function O(t) {
64
- var e = b(t, "string");
65
- return typeof e == "symbol" ? e : e + "";
66
- }
67
- function b(t, e) {
68
- if (typeof t != "object" || !t) return t;
69
- var r = t[Symbol.toPrimitive];
70
- if (r !== void 0) {
71
- var a = r.call(t, e || "default");
72
- if (typeof a != "object") return a;
73
- throw new TypeError("@@toPrimitive must return a primitive value.");
74
- }
75
- return (e === "string" ? String : Number)(t);
76
- }
77
- function g(t) {
78
- return t && t.map((e, r) => /* @__PURE__ */ l.createElement(e.tag, d({
79
- key: r
80
- }, e.attr), g(e.child)));
15
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" }, child: [] }] })(t);
81
16
  }
82
17
  function n(t) {
83
- return (e) => /* @__PURE__ */ l.createElement(y, h({
84
- attr: d({}, t.attr)
85
- }, e), g(t.child));
86
- }
87
- function y(t) {
88
- var e = (r) => {
89
- var {
90
- attr: a,
91
- size: i,
92
- title: c
93
- } = t, p = z(t, m), u = i || r.size || "1em", o;
94
- return r.className && (o = r.className), t.className && (o = (o ? o + " " : "") + t.className), /* @__PURE__ */ l.createElement("svg", h({
95
- stroke: "currentColor",
96
- fill: "currentColor",
97
- strokeWidth: "0"
98
- }, r.attr, a, p, {
99
- className: o,
100
- style: d(d({
101
- color: t.color || r.color
102
- }, r.style), t.style),
103
- height: u,
104
- width: u,
105
- xmlns: "http://www.w3.org/2000/svg"
106
- }), c && /* @__PURE__ */ l.createElement("title", null, c), t.children);
107
- };
108
- return v !== void 0 ? /* @__PURE__ */ l.createElement(v.Consumer, null, (r) => e(r)) : e(f);
109
- }
110
- function x(t) {
111
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z" }, child: [] }] })(t);
18
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }, child: [] }] })(t);
112
19
  }
113
- function j(t) {
114
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" }, child: [] }] })(t);
20
+ function v(t) {
21
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(t);
115
22
  }
116
- function V(t) {
117
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69L23 12zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z" }, child: [] }] })(t);
23
+ function e(t) {
24
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(t);
118
25
  }
119
- function P(t) {
120
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }, child: [] }] })(t);
26
+ function o(t) {
27
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z" }, child: [] }] })(t);
121
28
  }
122
- function C(t) {
123
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" }, child: [] }] })(t);
124
- }
125
- function L(t) {
126
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" }, child: [] }] })(t);
127
- }
128
- function B(t) {
129
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(t);
130
- }
131
- function E(t) {
132
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(t);
133
- }
134
- function S(t) {
135
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z" }, child: [] }] })(t);
136
- }
137
- function _(t) {
138
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4-3.2-3.2zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07A8 8 0 0 0 15 4.59V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8z" }, child: [] }] })(t);
29
+ function g(t) {
30
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4-3.2-3.2zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07A8 8 0 0 0 15 4.59V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8z" }, child: [] }] })(t);
139
31
  }
140
- function N(t) {
141
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M12 6.36c1.53 2 3.08 4.43 3.71 6.24l2.23 2.23c.03-.27.06-.55.06-.83 0-3.98-6-10.8-6-10.8s-1.18 1.35-2.5 3.19l1.44 1.44c.34-.51.7-1 1.06-1.47zM5.41 5.14 4 6.55l3.32 3.32C6.55 11.33 6 12.79 6 14c0 3.31 2.69 6 6 6 1.52 0 2.9-.57 3.95-1.5l2.63 2.63L20 19.72 5.41 5.14zM12 18c-2.21 0-4-1.79-4-4 0-.69.32-1.62.81-2.64l5.72 5.72c-.7.56-1.57.92-2.53.92z" }, child: [] }] })(t);
32
+ function z(t) {
33
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M12 6.36c1.53 2 3.08 4.43 3.71 6.24l2.23 2.23c.03-.27.06-.55.06-.83 0-3.98-6-10.8-6-10.8s-1.18 1.35-2.5 3.19l1.44 1.44c.34-.51.7-1 1.06-1.47zM5.41 5.14 4 6.55l3.32 3.32C6.55 11.33 6 12.79 6 14c0 3.31 2.69 6 6 6 1.52 0 2.9-.57 3.95-1.5l2.63 2.63L20 19.72 5.41 5.14zM12 18c-2.21 0-4-1.79-4-4 0-.69.32-1.62.81-2.64l5.72 5.72c-.7.56-1.57.92-2.53.92z" }, child: [] }] })(t);
142
34
  }
143
- function D(t) {
144
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(t);
35
+ function M(t) {
36
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(t);
145
37
  }
146
- function A(t) {
147
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.32 10.56 8.38 9.5 7.32 8.44l1.06-1.06L10.5 9.5l-2.12 2.12-1.06-1.06zM4.5 9c.03 0 .05.01.08.01A8.002 8.002 0 0 1 12 4c2.19 0 4.16.88 5.61 2.3.15-.6.45-1.29.81-1.96A9.965 9.965 0 0 0 11.99 2c-4.88 0-8.94 3.51-9.81 8.14C2.74 9.44 3.59 9 4.5 9zM21 10.5c-.42 0-.82-.09-1.19-.22.12.55.19 1.13.19 1.72 0 4.42-3.58 8-8 8-3.36 0-6.23-2.07-7.42-5.01-.03 0-.05.01-.08.01-.52 0-1.04-.14-1.5-.4-.32-.18-.59-.42-.82-.7.89 4.61 4.93 8.1 9.8 8.1C17.52 22 22 17.52 22 12c0-.55-.06-1.09-.14-1.62a3.5 3.5 0 0 1-.86.12zM21 3s-2 2.9-2 4 .9 2 2 2 2-.9 2-2-2-4-2-4zm-5.38 4.38L13.5 9.5l2.12 2.12 1.06-1.06-1.06-1.06 1.06-1.06-1.06-1.06zM8.56 17c.69-1.19 1.97-2 3.44-2s2.75.81 3.44 2h1.68c-.8-2.05-2.79-3.5-5.12-3.5-.87 0-1.7.2-2.43.57L5.99 12c0-.52-.26-1.02-.74-1.29-.72-.41-1.63-.17-2.05.55-.41.72-.17 1.63.55 2.05.48.28 1.05.25 1.49 0l2.97 1.72c-.57.53-1.03 1.21-1.33 1.97h1.68z" }, child: [] }] })(t);
38
+ function s(t) {
39
+ return a({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.32 10.56 8.38 9.5 7.32 8.44l1.06-1.06L10.5 9.5l-2.12 2.12-1.06-1.06zM4.5 9c.03 0 .05.01.08.01A8.002 8.002 0 0 1 12 4c2.19 0 4.16.88 5.61 2.3.15-.6.45-1.29.81-1.96A9.965 9.965 0 0 0 11.99 2c-4.88 0-8.94 3.51-9.81 8.14C2.74 9.44 3.59 9 4.5 9zM21 10.5c-.42 0-.82-.09-1.19-.22.12.55.19 1.13.19 1.72 0 4.42-3.58 8-8 8-3.36 0-6.23-2.07-7.42-5.01-.03 0-.05.01-.08.01-.52 0-1.04-.14-1.5-.4-.32-.18-.59-.42-.82-.7.89 4.61 4.93 8.1 9.8 8.1C17.52 22 22 17.52 22 12c0-.55-.06-1.09-.14-1.62a3.5 3.5 0 0 1-.86.12zM21 3s-2 2.9-2 4 .9 2 2 2 2-.9 2-2-2-4-2-4zm-5.38 4.38L13.5 9.5l2.12 2.12 1.06-1.06-1.06-1.06 1.06-1.06-1.06-1.06zM8.56 17c.69-1.19 1.97-2 3.44-2s2.75.81 3.44 2h1.68c-.8-2.05-2.79-3.5-5.12-3.5-.87 0-1.7.2-2.43.57L5.99 12c0-.52-.26-1.02-.74-1.29-.72-.41-1.63-.17-2.05.55-.41.72-.17 1.63.55 2.05.48.28 1.05.25 1.49 0l2.97 1.72c-.57.53-1.03 1.21-1.33 1.97h1.68z" }, child: [] }] })(t);
148
40
  }
149
41
  export {
150
- n as G,
151
- A as M,
152
- _ as a,
153
- x as b,
154
- V as c,
155
- S as d,
156
- E as e,
157
- L as f,
158
- C as g,
159
- D as h,
160
- N as i,
161
- j,
162
- B as k,
163
- P as l
42
+ s as M,
43
+ g as a,
44
+ l as b,
45
+ i as c,
46
+ o as d,
47
+ e,
48
+ n as f,
49
+ d as g,
50
+ M as h,
51
+ z as i,
52
+ c as j,
53
+ v as k,
54
+ r as l
164
55
  };
@@ -13,13 +13,14 @@ import { TableNode as Yt, TableRowNode as Xt, TableCellNode as Vt, INSERT_TABLE_
13
13
  import { jsx as n, jsxs as h, Fragment as B } from "react/jsx-runtime";
14
14
  import { createContext as Qe, useState as p, useRef as J, useCallback as x, useContext as Ze, useEffect as L, useMemo as Qt, useLayoutEffect as tr } from "react";
15
15
  import { Box as P, Stack as er, Button as S, DropdownMenu as at, ToolbarButton as lt, DropdownMenuIconItem as M, ToolbarToggleGroup as et, ToolbarToggleItem as O, Popover as Zt, PopoverTrigger as te, PopoverContent as ee, OverlayCard as re, Toolbar as rr, ToolbarSeparator as Rt, styled as nr, Spinner as st, Dialog as ne, DialogHeader as ir, TextInput as bt, DialogActions as ct, DropdownMenuItem as W, DropdownMenuSeparator as It, NavBar as or, NavBarItem as gt, Combobox as ar } from "./ui.es.js";
16
- import { e as lr, f as sr, g as cr, G as f, h as dr, i as hr, j as ur } from "./index-BIHcSFgi.js";
16
+ import { e as lr, f as sr, g as cr, h as dr, i as hr, j as ur } from "./index-CpqLD5Bi.js";
17
17
  import { useLexicalComposerContext as w } from "@lexical/react/LexicalComposerContext.js";
18
18
  import { HorizontalRuleNode as gr } from "@lexical/react/LexicalHorizontalRuleNode.js";
19
19
  import { LexicalComposer as pr } from "@lexical/react/LexicalComposer.js";
20
20
  import { RichTextPlugin as mr } from "@lexical/react/LexicalRichTextPlugin.js";
21
21
  import { LexicalErrorBoundary as fr } from "@lexical/react/LexicalErrorBoundary.js";
22
22
  import { useFloating as Ct, autoUpdate as ie, size as kr, flip as br, offset as oe, shift as Cr, useInteractions as ae, useRole as le, FloatingPortal as se, inline as vr, useDismiss as xr } from "@floating-ui/react";
23
+ import { G as f } from "./iconBase-LROS5hdG.js";
23
24
  import { s as Tr, c as Mr } from "./stitches.config-DTq6WSgP.js";
24
25
  import { ListPlugin as Lr } from "@lexical/react/LexicalListPlugin.js";
25
26
  import { HistoryPlugin as wr } from "@lexical/react/LexicalHistoryPlugin.js";
@@ -27,7 +28,7 @@ import { TablePlugin as _r } from "@lexical/react/LexicalTablePlugin.js";
27
28
  import { HorizontalRulePlugin as yr } from "@lexical/react/LexicalHorizontalRulePlugin.js";
28
29
  import { TabIndentationPlugin as Sr } from "@lexical/react/LexicalTabIndentationPlugin.js";
29
30
  import { useLexicalComposerContext as vt } from "@lexical/react/LexicalComposerContext";
30
- import { b as Nr } from "./index-CjjD4eDc.js";
31
+ import { b as Nr } from "./index-C_mUnrO0.js";
31
32
  const Er = ({
32
33
  text: t,
33
34
  maxChars: r,
@@ -89,7 +90,7 @@ const Er = ({
89
90
  tag: e
90
91
  }
91
92
  ), r.blur();
92
- }, ii = async (t, r, e) => {
93
+ }, oi = async (t, r, e) => {
93
94
  var l;
94
95
  let i = 0;
95
96
  const o = Pt({
@@ -121,7 +122,7 @@ const Er = ({
121
122
  return o.read(() => {
122
123
  a = Bt(o);
123
124
  }), { html: a, trimCount: i };
124
- }, oi = (t, r, e) => {
125
+ }, ai = (t, r, e) => {
125
126
  let i = 0;
126
127
  const o = Pt({
127
128
  nodes: r,
@@ -155,7 +156,7 @@ const Er = ({
155
156
  } catch {
156
157
  }
157
158
  return { html: a, trimCount: i };
158
- }, ai = (t) => De().map(({ node: r }) => r).filter((r) => t.some((e) => r instanceof e));
159
+ }, li = (t) => De().map(({ node: r }) => r).filter((r) => t.some((e) => r instanceof e));
159
160
  class rt extends j {
160
161
  static getType() {
161
162
  return "target-link";
@@ -421,10 +422,10 @@ function Mt({
421
422
  new U(e, t, i, r, o, a)
422
423
  );
423
424
  }
424
- function li(t) {
425
+ function si(t) {
425
426
  return t instanceof U;
426
427
  }
427
- const si = [
428
+ const ci = [
428
429
  qt,
429
430
  Jt,
430
431
  ft,
@@ -436,7 +437,7 @@ const si = [
436
437
  Vt,
437
438
  U,
438
439
  gr
439
- ], ci = [
440
+ ], di = [
440
441
  qt,
441
442
  Jt,
442
443
  ft,
@@ -1120,7 +1121,7 @@ const bn = () => /* @__PURE__ */ h(B, { children: [
1120
1121
  },
1121
1122
  children: /* @__PURE__ */ n(st, {})
1122
1123
  }
1123
- ), di = ({
1124
+ ), hi = ({
1124
1125
  isLoading: t,
1125
1126
  children: r,
1126
1127
  placeholderText: e,
@@ -1408,7 +1409,7 @@ const bn = () => /* @__PURE__ */ h(B, { children: [
1408
1409
  defaultVariants: {
1409
1410
  size: "md"
1410
1411
  }
1411
- }, hi = Mr(Tn), Mn = ({
1412
+ }, ui = Mr(Tn), Mn = ({
1412
1413
  fileUpload: t,
1413
1414
  ...r
1414
1415
  }) => {
@@ -1454,7 +1455,7 @@ const bn = () => /* @__PURE__ */ h(B, { children: [
1454
1455
  )
1455
1456
  ] })
1456
1457
  ] });
1457
- }, ui = () => {
1458
+ }, gi = () => {
1458
1459
  const [t] = w(), { fileUpload: r } = F(), [e, i] = p(!1), o = x(() => {
1459
1460
  t.dispatchCommand(Je, {
1460
1461
  rows: "3",
@@ -1494,7 +1495,7 @@ const bn = () => /* @__PURE__ */ h(B, { children: [
1494
1495
  function Ln(t) {
1495
1496
  return f({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "circle", attr: { cx: "256", cy: "256", r: "48" }, child: [] }, { tag: "circle", attr: { cx: "416", cy: "256", r: "48" }, child: [] }, { tag: "circle", attr: { cx: "96", cy: "256", r: "48" }, child: [] }] })(t);
1496
1497
  }
1497
- const gi = () => {
1498
+ const pi = () => {
1498
1499
  const [t] = w(), [r, e] = p(null), { hasFocus: i } = F();
1499
1500
  L(() => {
1500
1501
  !i && r && e(null);
@@ -1580,7 +1581,7 @@ function ge(t) {
1580
1581
  const r = t.anchor, e = t.focus, i = t.anchor.getNode(), o = t.focus.getNode();
1581
1582
  return i === o ? i : t.isBackward() ? yt(e) ? i : o : yt(r) ? i : o;
1582
1583
  }
1583
- const pi = (t) => (K.baseURL = t, K), X = class X extends j {
1584
+ const mi = (t) => (K.baseURL = t, K), X = class X extends j {
1584
1585
  static getType() {
1585
1586
  return "rutine_link";
1586
1587
  }
@@ -1785,7 +1786,7 @@ const _n = ({ onClose: t }) => {
1785
1786
  }
1786
1787
  )
1787
1788
  ] });
1788
- }, mi = ({
1789
+ }, fi = ({
1789
1790
  getDocs: t,
1790
1791
  filePrefix: r
1791
1792
  }) => {
@@ -1822,7 +1823,7 @@ const _n = ({ onClose: t }) => {
1822
1823
  }
1823
1824
  )
1824
1825
  ] });
1825
- }, fi = () => {
1826
+ }, ki = () => {
1826
1827
  const [t] = w(), r = J(null), [e, i] = p(null), [o, a] = p(""), { hasFocus: l } = F();
1827
1828
  L(() => {
1828
1829
  e ? t.update(() => {
@@ -1916,7 +1917,7 @@ const _n = ({ onClose: t }) => {
1916
1917
  ]
1917
1918
  }
1918
1919
  ) });
1919
- }, ki = () => {
1920
+ }, bi = () => {
1920
1921
  const [t] = vt();
1921
1922
  return /* @__PURE__ */ h(
1922
1923
  at,
@@ -1957,7 +1958,7 @@ const _n = ({ onClose: t }) => {
1957
1958
  ]
1958
1959
  }
1959
1960
  );
1960
- }, zt = ["image/"], bi = () => {
1961
+ }, zt = ["image/"], Ci = () => {
1961
1962
  const [t] = vt(), { fileUpload: r } = F();
1962
1963
  return L(() => t.registerCommand(
1963
1964
  qe,
@@ -1985,33 +1986,33 @@ const _n = ({ onClose: t }) => {
1985
1986
  export {
1986
1987
  Mt as $createImageNode,
1987
1988
  pe as $createRutineLinkNode,
1988
- ai as $getNodesOfTypes,
1989
- li as $isImageNode,
1989
+ li as $getNodesOfTypes,
1990
+ si as $isImageNode,
1990
1991
  wn as $isRutineLinkNode,
1991
- ki as AlignToolbarDropdown,
1992
- bi as DragDropPastePlugin,
1992
+ bi as AlignToolbarDropdown,
1993
+ Ci as DragDropPastePlugin,
1993
1994
  un as FloatingToolbar,
1994
1995
  U as ImageNode,
1995
- ui as InsertSelector,
1996
- fi as LinkEditPlugin,
1996
+ gi as InsertSelector,
1997
+ ki as LinkEditPlugin,
1997
1998
  rt as LinkTargetNode,
1998
- mi as LinkToolbarButton,
1999
- di as RichTextEditor,
1999
+ fi as LinkToolbarButton,
2000
+ hi as RichTextEditor,
2000
2001
  gn as RichTextToolbar,
2001
2002
  K as RutineLinkNode,
2002
- pi as RutineLinkNodeInit,
2003
- gi as TableEditPlugin,
2003
+ mi as RutineLinkNodeInit,
2004
+ pi as TableEditPlugin,
2004
2005
  Ir as clearEditorState,
2005
- si as defaultNodes,
2006
- ci as defaultViewNodes,
2006
+ ci as defaultNodes,
2007
+ di as defaultViewNodes,
2007
2008
  Rr as isEditorState,
2008
2009
  Tt as isJSON,
2009
2010
  de as richTextContext,
2010
- hi as richTextCss,
2011
+ ui as richTextCss,
2011
2012
  Tn as richTextStyleObj,
2012
2013
  Or as setStateFromPlainText,
2013
- ii as stateToHTML,
2014
- oi as syncStateToHTML,
2014
+ oi as stateToHTML,
2015
+ ai as syncStateToHTML,
2015
2016
  $r as useHasFocusWithin,
2016
2017
  F as useRichTextContext
2017
2018
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
2
  import f from "clsx";
3
3
  import { useRef as d, useEffect as m } from "react";
4
- import { e as u } from "../../index-BIHcSFgi.js";
4
+ import { e as u } from "../../index-CpqLD5Bi.js";
5
5
  function g({ isOpen: l, onClose: a, children: s, title: o, className: i }) {
6
6
  const t = d(null);
7
7
  return m(() => {
@@ -0,0 +1,29 @@
1
+ import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
+ import r from "clsx";
3
+ import { G as n } from "../../iconBase-LROS5hdG.js";
4
+ function i(t) {
5
+ return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z" }, child: [] }] })(t);
6
+ }
7
+ function d(t) {
8
+ return n({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M406.5 399.6C387.4 352.9 341.5 320 288 320l-64 0c-53.5 0-99.4 32.9-118.5 79.6C69.9 362.2 48 311.7 48 256C48 141.1 141.1 48 256 48s208 93.1 208 208c0 55.7-21.9 106.2-57.5 143.6zm-40.1 32.7C334.4 452.4 296.6 464 256 464s-78.4-11.6-110.5-31.7c7.3-36.7 39.7-64.3 78.5-64.3l64 0c38.8 0 71.2 27.6 78.5 64.3zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-272a40 40 0 1 1 0-80 40 40 0 1 1 0 80zm-88-40a88 88 0 1 0 176 0 88 88 0 1 0 -176 0z" }, child: [] }] })(t);
9
+ }
10
+ const h = ({ firstname: t, lastname: e }) => /* @__PURE__ */ a("button", { type: "button", className: "btn gap-x-2", children: [
11
+ /* @__PURE__ */ c(d, { size: 16 }),
12
+ /* @__PURE__ */ a("span", { className: "md:hidden", children: [
13
+ t[0],
14
+ e[0]
15
+ ] }),
16
+ /* @__PURE__ */ a("span", { className: "hidden md:inline max-w-[120px] truncate", children: [
17
+ t,
18
+ " ",
19
+ e
20
+ ] }),
21
+ /* @__PURE__ */ c(i, { size: 12, className: "max-sm:hidden" })
22
+ ] }), u = ({ className: t, name: e, username: s }) => /* @__PURE__ */ a("div", { className: r(t), children: [
23
+ /* @__PURE__ */ c("div", { className: "text-sm truncate", children: e }),
24
+ /* @__PURE__ */ c("div", { className: "text-xs opacity-70 truncate", children: s })
25
+ ] });
26
+ export {
27
+ h as UserMenuButton,
28
+ u as UserMenuCompany
29
+ };
package/dist/ui.es.js CHANGED
@@ -4,10 +4,10 @@ import { jsx as t, jsxs as c, Fragment as K } from "react/jsx-runtime";
4
4
  import { forwardRef as u, createContext as U, useMemo as k, useContext as D, isValidElement as _, cloneElement as q, useState as J, useId as w } from "react";
5
5
  import { useFloating as Q, autoUpdate as Z, offset as oo, flip as eo, shift as ro, useTransitionStyles as to, useClick as no, useHover as ao, safePolygon as io, useDismiss as so, useRole as lo, useInteractions as co, FloatingPortal as $o } from "@floating-ui/react";
6
6
  import * as y from "@radix-ui/react-toolbar";
7
- import { c as mo, d as uo, e as go } from "./index-CjjD4eDc.js";
7
+ import { c as mo, d as uo, e as go } from "./index-C_mUnrO0.js";
8
8
  import * as p from "@radix-ui/react-dialog";
9
9
  import * as m from "@radix-ui/react-dropdown-menu";
10
- import { k as po, l as B } from "./index-BIHcSFgi.js";
10
+ import { k as po, l as B } from "./index-CpqLD5Bi.js";
11
11
  import ho from "react-select";
12
12
  import * as F from "@radix-ui/react-checkbox";
13
13
  import * as W from "@radix-ui/react-switch";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./oidc": {