@addsign/moje-agenda-shared-lib 2.0.30 → 2.0.32
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/style.css +7 -0
- package/dist/components/datatable/DataTableServer.js +4 -5
- package/dist/components/datatable/DataTableServer.js.map +1 -1
- package/dist/components/layout/Neoptimizovano.d.ts +1 -0
- package/dist/components/layout/Neoptimizovano.js +32 -0
- package/dist/components/layout/Neoptimizovano.js.map +1 -0
- package/dist/components/ui/command.d.ts +6 -6
- package/dist/main.d.ts +1 -0
- package/dist/main.js +16 -14
- package/dist/main.js.map +1 -1
- package/lib/components/datatable/DataTableServer.tsx +6 -6
- package/lib/components/layout/Neoptimizovano.tsx +12 -0
- package/lib/main.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Neoptimizovano(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import "../../tailwind-l0sNRNKZ.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../index.esm-ifS8v9eQ.js";
|
|
5
|
+
import "../../jspdf.plugin.autotable-7hp3hM-a.js";
|
|
6
|
+
import "../../contexts/FederationContext.js";
|
|
7
|
+
import "../../Dialog-BmQoVu5C.js";
|
|
8
|
+
import "../ui/ScrollArea.js";
|
|
9
|
+
import "../ui/input.js";
|
|
10
|
+
import "../ui/form.js";
|
|
11
|
+
import "../ui/radioGroup.js";
|
|
12
|
+
import "../ui/command.js";
|
|
13
|
+
import "../ui/Combobox.js";
|
|
14
|
+
import "../ui/select.js";
|
|
15
|
+
import "../ui/tooltip.js";
|
|
16
|
+
import "../ui/separator.js";
|
|
17
|
+
import "../ui/textarea.js";
|
|
18
|
+
import "../ui/checkbox.js";
|
|
19
|
+
import { Button } from "../ui/button.js";
|
|
20
|
+
import "../../Calendar-DWT4e7Th.js";
|
|
21
|
+
import "../ui/DateTimePicker.js";
|
|
22
|
+
import "../ui/DatePicker.js";
|
|
23
|
+
function Neoptimizovano() {
|
|
24
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
25
|
+
/* @__PURE__ */ jsx("div", { children: "Není optimalizováno pro toto rozlišení" }),
|
|
26
|
+
/* @__PURE__ */ jsx(Button, { className: "ml-2", onClick: () => history.back(), children: "Zpět" })
|
|
27
|
+
] });
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
Neoptimizovano as default
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Neoptimizovano.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Neoptimizovano.js","sources":["../../../lib/components/layout/Neoptimizovano.tsx"],"sourcesContent":["import { ButtonCN } from \"../../main\";\r\n\r\nexport default function Neoptimizovano() {\r\n return (\r\n <div className=\"flex flex-col gap-2\">\r\n <div>Není optimalizováno pro toto rozlišení</div>\r\n <ButtonCN className=\"ml-2\" onClick={() => history.back()}>\r\n Zpět\r\n </ButtonCN>\r\n </div>\r\n );\r\n}\r\n"],"names":["ButtonCN"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,SAAwB,iBAAiB;AAErC,SAAA,qBAAC,OAAI,EAAA,WAAU,uBACb,UAAA;AAAA,IAAA,oBAAC,SAAI,UAAsC,yCAAA,CAAA;AAAA,IAC3C,oBAACA,UAAS,WAAU,QAAO,SAAS,MAAM,QAAQ,KAAK,GAAG,UAE1D,OAAA,CAAA;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|
|
@@ -6,7 +6,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean | undefined;
|
|
9
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
9
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
10
10
|
label?: string | undefined;
|
|
11
11
|
shouldFilter?: boolean | undefined;
|
|
12
12
|
filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
|
|
@@ -32,7 +32,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
32
32
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
33
33
|
} & {
|
|
34
34
|
asChild?: boolean | undefined;
|
|
35
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
35
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
36
36
|
label?: string | undefined;
|
|
37
37
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -41,14 +41,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
41
41
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
asChild?: boolean | undefined;
|
|
44
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
44
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
48
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
49
49
|
} & {
|
|
50
50
|
asChild?: boolean | undefined;
|
|
51
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
51
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
52
52
|
heading?: React.ReactNode;
|
|
53
53
|
value?: string | undefined;
|
|
54
54
|
forceMount?: boolean | undefined;
|
|
@@ -57,7 +57,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
57
57
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
58
58
|
} & {
|
|
59
59
|
asChild?: boolean | undefined;
|
|
60
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
60
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
61
61
|
alwaysRender?: boolean | undefined;
|
|
62
62
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -66,7 +66,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
66
66
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean | undefined;
|
|
69
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
69
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
70
70
|
disabled?: boolean | undefined;
|
|
71
71
|
onSelect?: ((value: string) => void) | undefined;
|
|
72
72
|
value?: string | undefined;
|
package/dist/main.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { default as PositionsSelectorSingle } from './components/form/PositionsS
|
|
|
18
18
|
export { default as Calendar } from './components/Calendar.tsx';
|
|
19
19
|
export { default as DataTable } from './components/datatable/DataTable.tsx';
|
|
20
20
|
export { default as CollapsibleSection } from './components/layout/CollapsibleSection.tsx';
|
|
21
|
+
export { default as Neoptimizovano } from './components/layout/Neoptimizovano.tsx';
|
|
21
22
|
export { default as DataTableServer, resetAllDataTablePaging, } from './components/datatable/DataTableServer.tsx';
|
|
22
23
|
export { default as DateRangeField } from './components/form/DateRangeField.tsx';
|
|
23
24
|
export { default as DateField } from './components/form/DateField.tsx';
|
package/dist/main.js
CHANGED
|
@@ -18,11 +18,12 @@ import { default as default14 } from "./components/form/PositionsSelectorSingle.
|
|
|
18
18
|
import { default as default15 } from "./components/Calendar.js";
|
|
19
19
|
import { default as default16 } from "./components/datatable/DataTable.js";
|
|
20
20
|
import { default as default17 } from "./components/layout/CollapsibleSection.js";
|
|
21
|
-
import { default as default18
|
|
22
|
-
import { default as default19 } from "./components/
|
|
23
|
-
import { default as default20 } from "./components/form/
|
|
24
|
-
import { default as default21 } from "./components/
|
|
25
|
-
import { default as default22 } from "./
|
|
21
|
+
import { default as default18 } from "./components/layout/Neoptimizovano.js";
|
|
22
|
+
import { default as default19, resetAllDataTablePaging } from "./components/datatable/DataTableServer.js";
|
|
23
|
+
import { default as default20 } from "./components/form/DateRangeField.js";
|
|
24
|
+
import { default as default21 } from "./components/form/DateField.js";
|
|
25
|
+
import { default as default22 } from "./components/SpinnerIcon.js";
|
|
26
|
+
import { default as default23 } from "./utils/PdfManager.js";
|
|
26
27
|
import { FederationContext, FederationContextProvider } from "./contexts/FederationContext.js";
|
|
27
28
|
import { useFederationContext } from "./contexts/useFederationContext.js";
|
|
28
29
|
import { getFullName, getFullNameList, getFullNameListPositionWithEmployee, getFullNamePositionWithEmployee } from "./utils/getFullName.js";
|
|
@@ -45,8 +46,8 @@ import { Textarea } from "./components/ui/textarea.js";
|
|
|
45
46
|
import { Checkbox } from "./components/ui/checkbox.js";
|
|
46
47
|
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
47
48
|
import { C } from "./Calendar-DWT4e7Th.js";
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as default24 } from "./components/ui/DateTimePicker.js";
|
|
50
|
+
import { default as default25 } from "./components/ui/DatePicker.js";
|
|
50
51
|
export {
|
|
51
52
|
default3 as AutocompleteSearchBar,
|
|
52
53
|
default4 as AutocompleteSearchBarServer,
|
|
@@ -67,11 +68,11 @@ export {
|
|
|
67
68
|
CommandShortcut,
|
|
68
69
|
ConfirmationModalDialog,
|
|
69
70
|
default16 as DataTable,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
default19 as DataTableServer,
|
|
72
|
+
default21 as DateField,
|
|
73
|
+
default25 as DatePicker,
|
|
74
|
+
default20 as DateRangeField,
|
|
75
|
+
default24 as DateTimePicker,
|
|
75
76
|
D as Dialog,
|
|
76
77
|
c as DialogClose,
|
|
77
78
|
e as DialogContent,
|
|
@@ -105,8 +106,9 @@ export {
|
|
|
105
106
|
default6 as InputField,
|
|
106
107
|
Modal,
|
|
107
108
|
ModalDialog,
|
|
109
|
+
default18 as Neoptimizovano,
|
|
108
110
|
default12 as PageTitle,
|
|
109
|
-
|
|
111
|
+
default23 as PdfManager,
|
|
110
112
|
default14 as PositionsSelectorSingle,
|
|
111
113
|
default8 as RadioGroup,
|
|
112
114
|
RadioGroupCN,
|
|
@@ -127,7 +129,7 @@ export {
|
|
|
127
129
|
SelectValue,
|
|
128
130
|
Separator,
|
|
129
131
|
default13 as Spinner,
|
|
130
|
-
|
|
132
|
+
default22 as SpinnerIcon,
|
|
131
133
|
Textarea,
|
|
132
134
|
Tooltip,
|
|
133
135
|
TooltipContent,
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -900,7 +900,7 @@ function DataTableServer<T extends DataTableInternalItems>({
|
|
|
900
900
|
)}
|
|
901
901
|
</table>
|
|
902
902
|
</div>
|
|
903
|
-
<div className="w-full p-5 flex gap-5 justify-between">
|
|
903
|
+
<div className="w-full p-5 flex gap-5 justify-between md:flex-row flex-col">
|
|
904
904
|
<div className="flex gap-5 text-sm ">
|
|
905
905
|
{data && (
|
|
906
906
|
<Button
|
|
@@ -922,11 +922,11 @@ function DataTableServer<T extends DataTableInternalItems>({
|
|
|
922
922
|
Následující <MdArrowForward className="ml-2" size={20} />
|
|
923
923
|
</Button>
|
|
924
924
|
)}
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
</div>
|
|
929
|
-
<div className="content-center w-auto items-center justify-end flex-row gap-5 flex">
|
|
925
|
+
</div>
|
|
926
|
+
<div className="flex items-center justify-center text-gray-800">
|
|
927
|
+
{paginationDisplay}
|
|
928
|
+
</div>
|
|
929
|
+
<div className="content-center w-auto items-center justify-end flex-row gap-5 flex md:mt-0 mt-5">
|
|
930
930
|
<span className=" whitespace-nowrap flex-grow">
|
|
931
931
|
Počet řádků na stránku:
|
|
932
932
|
</span>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonCN } from "../../main";
|
|
2
|
+
|
|
3
|
+
export default function Neoptimizovano() {
|
|
4
|
+
return (
|
|
5
|
+
<div className="flex flex-col gap-2">
|
|
6
|
+
<div>Není optimalizováno pro toto rozlišení</div>
|
|
7
|
+
<ButtonCN className="ml-2" onClick={() => history.back()}>
|
|
8
|
+
Zpět
|
|
9
|
+
</ButtonCN>
|
|
10
|
+
</div>
|
|
11
|
+
);
|
|
12
|
+
}
|
package/lib/main.ts
CHANGED
|
@@ -24,6 +24,7 @@ export { default as PositionsSelectorSingle } from "./components/form/PositionsS
|
|
|
24
24
|
export { default as Calendar } from "./components/Calendar.tsx";
|
|
25
25
|
export { default as DataTable } from "./components/datatable/DataTable.tsx";
|
|
26
26
|
export { default as CollapsibleSection } from "./components/layout/CollapsibleSection.tsx";
|
|
27
|
+
export { default as Neoptimizovano } from "./components/layout/Neoptimizovano.tsx";
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|