@addsign/moje-agenda-shared-lib 0.0.11 → 0.0.12
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 @@
|
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-10{right:2.5rem}.top-\[73px\]{top:73px}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.h-5{height:1.25rem}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-14{min-height:3.5rem}.min-h-20{min-height:5rem}.min-h-5{min-height:1.25rem}.w-5{width:1.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-full{max-width:100%}.shrink{flex-shrink:1}.grow{flex-grow:1}.basis-0{flex-basis:0px}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.self-stretch{align-self:stretch}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-none{border-style:none}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-primary{background-color:var(--color-primary)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-1{padding-left:.25rem}.pr-10{padding-right:2.5rem}.pr-20{padding-right:5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.leading-\[25px\]{line-height:25px}.leading-tight{line-height:1.25}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-primary{color:var(--color-primary)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-4{outline-width:4px}.outline-offset-0{outline-offset:0px}.outline-indigo-200{outline-color:#c7d2fe}.outline-red-200{outline-color:#fecaca}.drop-shadow-xl{--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.focus\:border-none:focus{border-style:none}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}@media (min-width: 1280px){.xl\:min-h-8{min-height:2rem}.xl\:min-h-\[32px\]{min-height:32px}}
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import '../assets/tailwind.css';/* empty css */
|
|
3
|
+
import { useFederationContext as i } from "../contexts/FederationContext.js";
|
|
4
|
+
const s = " py-2 px-4 leading-[25px] ", m = {
|
|
4
5
|
primary: "bg-primary text-gray-100 hover:bg-gray w-fit rounded-lg whitespace-nowrap font-medium",
|
|
5
6
|
secondary: "bg-white text-gray-800 hover:bg-gray-100 rounded-lg border border-gray-300 shadow whitespace-nowrap font-medium",
|
|
6
7
|
transparent: "bg-transparent border border-transparent hover:bg-gray-100 hover:border-gray-200 rounded-lg text-primary font-medium text-gray-800 w-fit ",
|
|
7
8
|
success: "bg-gray-500 hover:bg-gray-700 text-white rounded-lg",
|
|
8
9
|
danger: "bg-gray-500 hover:bg-gray-700 text-white rounded-lg",
|
|
9
10
|
icon: "text-primary font-medium rounded-full text-sm text-center inline-flex items-center ml-4 h-full "
|
|
10
|
-
},
|
|
11
|
+
}, y = ({
|
|
11
12
|
variant: r = "primary",
|
|
12
13
|
children: t,
|
|
13
14
|
onClick: o,
|
|
14
15
|
className: n,
|
|
15
16
|
...e
|
|
16
17
|
}) => {
|
|
17
|
-
const { userInfo: a } =
|
|
18
|
+
const { userInfo: a } = i();
|
|
18
19
|
console.log(
|
|
19
20
|
"%clibcomponentsButton.tsx:34 userInfo",
|
|
20
21
|
"color: #007acc;",
|
|
21
22
|
a
|
|
22
23
|
);
|
|
23
|
-
const g =
|
|
24
|
+
const g = s + m[r] + (e != null && e.disabled ? " bg-opacity-50" : " ");
|
|
24
25
|
return /* @__PURE__ */ d(
|
|
25
26
|
"button",
|
|
26
27
|
{
|
|
27
|
-
className: g + " " + (n || " sharedLibraryource
|
|
28
|
+
className: g + " " + (n || " sharedLibraryource "),
|
|
28
29
|
onClick: o,
|
|
29
30
|
...e,
|
|
30
31
|
children: t
|
|
@@ -32,5 +33,5 @@ const i = " py-2 px-4 leading-[25px] ", m = {
|
|
|
32
33
|
);
|
|
33
34
|
};
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
y as default
|
|
36
37
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs as C, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as B, useEffect as p, useState as m } from "react";
|
|
3
|
+
import '../../assets/tailwind.css';/* empty css */
|
|
3
4
|
import { useFederationContext as K } from "../../contexts/FederationContext.js";
|
|
4
5
|
import { a as _, b as ee, M as te } from "../../index-CvL09ndn.js";
|
|
5
6
|
function re(e) {
|
|
@@ -33,7 +34,7 @@ var le = ["mousedown", "touchstart"], se = function(e, t, r) {
|
|
|
33
34
|
};
|
|
34
35
|
}, [r, e]);
|
|
35
36
|
};
|
|
36
|
-
const
|
|
37
|
+
const he = ({
|
|
37
38
|
label: e,
|
|
38
39
|
name: t,
|
|
39
40
|
required: r,
|
|
@@ -302,5 +303,5 @@ const de = ({
|
|
|
302
303
|
)
|
|
303
304
|
] });
|
|
304
305
|
export {
|
|
305
|
-
|
|
306
|
+
he as default
|
|
306
307
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as M, useRef as X, useEffect as Y } from "react";
|
|
3
3
|
import { M as Z } from "../../index-CvL09ndn.js";
|
|
4
|
+
import '../../assets/tailwind.css';/* empty css */
|
|
4
5
|
import { useFederationContext as _ } from "../../contexts/FederationContext.js";
|
|
5
|
-
const
|
|
6
|
+
const ae = ({
|
|
6
7
|
label: b,
|
|
7
8
|
name: r,
|
|
8
9
|
type: p,
|
|
9
10
|
register: y,
|
|
10
11
|
disabled: n,
|
|
11
12
|
errors: u = {},
|
|
12
|
-
required:
|
|
13
|
-
clearable:
|
|
13
|
+
required: R,
|
|
14
|
+
clearable: H,
|
|
14
15
|
value: l,
|
|
15
16
|
description: w,
|
|
16
17
|
onInputChange: i,
|
|
17
|
-
options:
|
|
18
|
+
options: a,
|
|
18
19
|
placeholder: v,
|
|
19
20
|
children: C,
|
|
20
21
|
fetchUrl: N,
|
|
@@ -22,12 +23,12 @@ const re = ({
|
|
|
22
23
|
labelKey: E,
|
|
23
24
|
maxLength: G
|
|
24
25
|
}) => {
|
|
25
|
-
var j, A, S, $,
|
|
26
|
-
const [k,
|
|
26
|
+
var j, A, S, $, L;
|
|
27
|
+
const [k, s] = M(!1), [F, B] = M(a), O = X(null), {
|
|
27
28
|
ref: q = O,
|
|
28
|
-
onBlur:
|
|
29
|
+
onBlur: d = () => {
|
|
29
30
|
},
|
|
30
|
-
...
|
|
31
|
+
...f
|
|
31
32
|
} = y ? y(r) : {}, z = (j = _()) == null ? void 0 : j.apiClient, c = q || O, D = () => {
|
|
32
33
|
c.current && c.current.focus();
|
|
33
34
|
}, J = (e) => {
|
|
@@ -70,8 +71,8 @@ const re = ({
|
|
|
70
71
|
// Add an empty option as the first item
|
|
71
72
|
...W
|
|
72
73
|
]);
|
|
73
|
-
})(N),
|
|
74
|
-
}, [N,
|
|
74
|
+
})(N), a && B(a);
|
|
75
|
+
}, [N, a]);
|
|
75
76
|
const Q = () => {
|
|
76
77
|
switch (p) {
|
|
77
78
|
case "select":
|
|
@@ -82,12 +83,12 @@ const re = ({
|
|
|
82
83
|
className: "grow shrink basis-0 text-gray-900 text-sm font-normal leading-tight focus:border-none bg-transparent",
|
|
83
84
|
disabled: n,
|
|
84
85
|
value: l,
|
|
85
|
-
...
|
|
86
|
+
...f,
|
|
86
87
|
ref: c,
|
|
87
88
|
onChange: i,
|
|
88
|
-
onFocus: () =>
|
|
89
|
+
onFocus: () => s(!0),
|
|
89
90
|
onBlur: (e) => {
|
|
90
|
-
|
|
91
|
+
d(e), s(!1);
|
|
91
92
|
},
|
|
92
93
|
children: [
|
|
93
94
|
v && /* @__PURE__ */ t("option", { label: v }),
|
|
@@ -111,14 +112,14 @@ const re = ({
|
|
|
111
112
|
className: "grow shrink basis-0 text-gray-900 text-sm font-normal leading-tight focus:border-none bg-transparent",
|
|
112
113
|
disabled: n,
|
|
113
114
|
value: Array.isArray(l) ? l : [],
|
|
114
|
-
...
|
|
115
|
+
...f,
|
|
115
116
|
ref: c,
|
|
116
117
|
onChange: J,
|
|
117
|
-
onFocus: () =>
|
|
118
|
+
onFocus: () => s(!0),
|
|
118
119
|
onBlur: (e) => {
|
|
119
|
-
|
|
120
|
+
d(e), s(!1);
|
|
120
121
|
},
|
|
121
|
-
children:
|
|
122
|
+
children: a == null ? void 0 : a.map((e) => /* @__PURE__ */ t(
|
|
122
123
|
"option",
|
|
123
124
|
{
|
|
124
125
|
value: e.value ? e.value : void 0,
|
|
@@ -129,7 +130,7 @@ const re = ({
|
|
|
129
130
|
}
|
|
130
131
|
) });
|
|
131
132
|
case "radioGroup":
|
|
132
|
-
return /* @__PURE__ */ t("div", { className: "flex flex-col", children:
|
|
133
|
+
return /* @__PURE__ */ t("div", { className: "flex flex-col", children: a == null ? void 0 : a.map((e, g) => /* @__PURE__ */ o(
|
|
133
134
|
"label",
|
|
134
135
|
{
|
|
135
136
|
className: "inline-flex items-center space-x-2 my-2",
|
|
@@ -161,13 +162,13 @@ const re = ({
|
|
|
161
162
|
disabled: n,
|
|
162
163
|
value: l,
|
|
163
164
|
rows: 3,
|
|
164
|
-
...
|
|
165
|
+
...f,
|
|
165
166
|
ref: c,
|
|
166
167
|
onChange: i,
|
|
167
|
-
onFocus: () =>
|
|
168
|
+
onFocus: () => s(!0),
|
|
168
169
|
maxLength: G || 4e3,
|
|
169
170
|
onBlur: (e) => {
|
|
170
|
-
|
|
171
|
+
d(e), s(!1);
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
174
|
);
|
|
@@ -181,12 +182,12 @@ const re = ({
|
|
|
181
182
|
className: "shrink basis-0 text-gray-900 text-sm font-normal leading-tight focus:border-none",
|
|
182
183
|
checked: l,
|
|
183
184
|
disabled: n,
|
|
184
|
-
...
|
|
185
|
+
...f,
|
|
185
186
|
ref: c,
|
|
186
187
|
onChange: K,
|
|
187
|
-
onFocus: () =>
|
|
188
|
+
onFocus: () => s(!0),
|
|
188
189
|
onBlur: (e) => {
|
|
189
|
-
|
|
190
|
+
d(e), s(!1);
|
|
190
191
|
}
|
|
191
192
|
}
|
|
192
193
|
),
|
|
@@ -201,19 +202,19 @@ const re = ({
|
|
|
201
202
|
readOnly: n,
|
|
202
203
|
value: l,
|
|
203
204
|
type: p,
|
|
204
|
-
...
|
|
205
|
+
...f,
|
|
205
206
|
ref: c,
|
|
206
207
|
placeholder: v,
|
|
207
208
|
onChange: i,
|
|
208
|
-
onFocus: () =>
|
|
209
|
+
onFocus: () => s(!0),
|
|
209
210
|
onBlur: (e) => {
|
|
210
|
-
|
|
211
|
+
d(e), s(!1);
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
214
|
) });
|
|
214
215
|
}
|
|
215
216
|
};
|
|
216
|
-
return /* @__PURE__ */ o("div", { className: "w-full min-h-30 flex-col justify-start items-start gap-1.5 inline-flex", children: [
|
|
217
|
+
return /* @__PURE__ */ o("div", { className: "w-full min-h-30 flex-col justify-start items-start gap-1.5 inline-flex sharedLibrary", children: [
|
|
217
218
|
/* @__PURE__ */ o("div", { className: "self-stretch flex-col justify-start items-start gap-1.5 flex", children: [
|
|
218
219
|
b && /* @__PURE__ */ o(
|
|
219
220
|
"label",
|
|
@@ -223,7 +224,7 @@ const re = ({
|
|
|
223
224
|
children: [
|
|
224
225
|
b,
|
|
225
226
|
" ",
|
|
226
|
-
|
|
227
|
+
R ? "*" : ""
|
|
227
228
|
]
|
|
228
229
|
}
|
|
229
230
|
),
|
|
@@ -234,15 +235,15 @@ const re = ({
|
|
|
234
235
|
children: /* @__PURE__ */ o("div", { className: "flex relative grow shrink basis-0 min-h-5 xl:min-h-[32px] justify-start items-stretch gap-2 max-w-full", children: [
|
|
235
236
|
Q(),
|
|
236
237
|
C && /* @__PURE__ */ t("div", { onClick: D, children: C }),
|
|
237
|
-
|
|
238
|
+
H && l && /* @__PURE__ */ t(Z, { onClick: P })
|
|
238
239
|
] })
|
|
239
240
|
}
|
|
240
241
|
)
|
|
241
242
|
] }),
|
|
242
243
|
w && /* @__PURE__ */ t("div", { className: "HintText self-stretch text-slate-600 text-sm font-normal leading-tight", children: w }),
|
|
243
|
-
u[r] && /* @__PURE__ */ t("div", { className: "HintText self-stretch text-red-600 text-sm font-normal leading-tight", children: (
|
|
244
|
+
u[r] && /* @__PURE__ */ t("div", { className: "HintText self-stretch text-red-600 text-sm font-normal leading-tight", children: (L = u[r]) == null ? void 0 : L.message })
|
|
244
245
|
] });
|
|
245
246
|
};
|
|
246
247
|
export {
|
|
247
|
-
|
|
248
|
+
ae as default
|
|
248
249
|
};
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import {
|
|
1
|
+
import './assets/tailwind.css';/* empty css */
|
|
2
|
+
import { default as r } from "./components/Button.js";
|
|
3
|
+
import { default as d } from "./components/form/AutocompleteSearchBar.js";
|
|
4
|
+
import { default as m } from "./components/form/FormField.js";
|
|
5
|
+
import { FederationContext as x, FederationContextProvider as i, useFederationContext as p } from "./contexts/FederationContext.js";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
d as AutocompleteSearchBar,
|
|
8
|
+
r as Button,
|
|
8
9
|
x as FederationContext,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
i as FederationContextProvider,
|
|
11
|
+
m as FormField,
|
|
12
|
+
p as useFederationContext
|
|
12
13
|
};
|