@addsign/moje-agenda-shared-lib 0.0.35 → 0.0.37
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/assets/tailwind.css +19 -0
- package/dist/components/DataTable.js +1 -1
- package/dist/components/form/AutocompleteSearchBar.js +1 -1
- package/dist/components/form/FileInput.d.ts +27 -0
- package/dist/components/form/FileInput.js +2524 -0
- package/dist/components/form/FileInput.js.map +1 -0
- package/dist/components/form/FormField.js +1 -1
- package/dist/components/form/PositionsSelectorSingle.js +1 -1
- package/dist/{index-C0yNf1cc.js → index-ZA1ctELQ.js} +10 -2
- package/dist/{index-C0yNf1cc.js.map → index-ZA1ctELQ.js.map} +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +14 -12
- package/dist/main.js.map +1 -1
- package/package.json +2 -1
package/dist/assets/tailwind.css
CHANGED
|
@@ -957,6 +957,9 @@ video {
|
|
|
957
957
|
.border {
|
|
958
958
|
border-width: 1px;
|
|
959
959
|
}
|
|
960
|
+
.border-2 {
|
|
961
|
+
border-width: 2px;
|
|
962
|
+
}
|
|
960
963
|
.border-b {
|
|
961
964
|
border-bottom-width: 1px;
|
|
962
965
|
}
|
|
@@ -969,6 +972,9 @@ video {
|
|
|
969
972
|
.border-t-0 {
|
|
970
973
|
border-top-width: 0px;
|
|
971
974
|
}
|
|
975
|
+
.border-dashed {
|
|
976
|
+
border-style: dashed;
|
|
977
|
+
}
|
|
972
978
|
.border-none {
|
|
973
979
|
border-style: none;
|
|
974
980
|
}
|
|
@@ -1048,6 +1054,10 @@ video {
|
|
|
1048
1054
|
--tw-bg-opacity: 1;
|
|
1049
1055
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1050
1056
|
}
|
|
1057
|
+
.bg-indigo-50 {
|
|
1058
|
+
--tw-bg-opacity: 1;
|
|
1059
|
+
background-color: rgb(238 242 255 / var(--tw-bg-opacity));
|
|
1060
|
+
}
|
|
1051
1061
|
.bg-primary {
|
|
1052
1062
|
background-color: var(--color-primary);
|
|
1053
1063
|
}
|
|
@@ -1330,6 +1340,9 @@ video {
|
|
|
1330
1340
|
--tw-text-opacity: 1;
|
|
1331
1341
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1332
1342
|
}
|
|
1343
|
+
.underline {
|
|
1344
|
+
text-decoration-line: underline;
|
|
1345
|
+
}
|
|
1333
1346
|
.opacity-25 {
|
|
1334
1347
|
opacity: 0.25;
|
|
1335
1348
|
}
|
|
@@ -1426,6 +1439,12 @@ video {
|
|
|
1426
1439
|
|
|
1427
1440
|
|
|
1428
1441
|
|
|
1442
|
+
.hover\:text-primary:hover {
|
|
1443
|
+
color: var(--color-primary);
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1429
1448
|
.focus\:border-none:focus {
|
|
1430
1449
|
border-style: none;
|
|
1431
1450
|
}
|
|
@@ -2,7 +2,7 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import '../assets/tailwind.css';/* empty css */
|
|
4
4
|
import Button from "./Button.js";
|
|
5
|
-
import { M as MdOutlineFilterAlt, a as MdOutlineFilterAltOff, b as MdSearch, c as MdClose, d as MdArrowBack, e as MdArrowForward, f as MdArrowUpward, g as MdArrowDownward } from "../index-
|
|
5
|
+
import { M as MdOutlineFilterAlt, a as MdOutlineFilterAltOff, b as MdSearch, c as MdClose, d as MdArrowBack, e as MdArrowForward, f as MdArrowUpward, g as MdArrowDownward } from "../index-ZA1ctELQ.js";
|
|
6
6
|
import FormField from "./form/FormField.js";
|
|
7
7
|
import Spinner from "./Spinner.js";
|
|
8
8
|
import "../contexts/FederationContext.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useEffect, useState } from "react";
|
|
3
3
|
import '../../assets/tailwind.css';/* empty css */
|
|
4
|
-
import { i as MdExpandLess, j as MdExpandMore, c as MdClose } from "../../index-
|
|
4
|
+
import { i as MdExpandLess, j as MdExpandMore, c as MdClose } from "../../index-ZA1ctELQ.js";
|
|
5
5
|
import "../../contexts/FederationContext.js";
|
|
6
6
|
import { useFederationContext } from "../../contexts/useFederationContext.js";
|
|
7
7
|
function on(obj) {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface FileData {
|
|
4
|
+
id: number;
|
|
5
|
+
mimeType: string;
|
|
6
|
+
size: number;
|
|
7
|
+
filename: string;
|
|
8
|
+
createdByEmpId: string;
|
|
9
|
+
created: string;
|
|
10
|
+
}
|
|
11
|
+
interface FileInputProps {
|
|
12
|
+
name: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
initialFile?: FileData;
|
|
15
|
+
onFileChanged: (e: any) => void;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
description?: string;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
errors?: {
|
|
21
|
+
[key: string]: {
|
|
22
|
+
message: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
declare const FileInput: React.FC<FileInputProps>;
|
|
27
|
+
export default FileInput;
|