@addsign/moje-agenda-shared-lib 0.0.35 → 0.0.39
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 +83 -44
- package/dist/components/Button.js +8 -8
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Calendar.js +32 -28
- package/dist/components/Calendar.js.map +1 -1
- package/dist/components/ConfirmationModalDialog.js +1 -3
- package/dist/components/ConfirmationModalDialog.js.map +1 -1
- 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-DPrqKh-7.js +16 -0
- package/dist/index-DPrqKh-7.js.map +1 -0
- 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 +17 -2
|
@@ -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;
|