@zauru-sdk/components 1.0.52 → 1.0.53

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.
Files changed (261) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/Alerts/ErrorBoundaryAlert/ErrorBoundaryAlert.d.ts +6 -0
  3. package/dist/Alerts/StaticAlert.d.ts +11 -0
  4. package/dist/Alerts/index.d.ts +2 -0
  5. package/dist/BlockUI/BlockUI.d.ts +8 -0
  6. package/dist/BlockUI/index.d.ts +1 -0
  7. package/dist/Buttons/Button.d.ts +15 -0
  8. package/dist/Buttons/index.d.ts +1 -0
  9. package/dist/Card/Card.d.ts +8 -0
  10. package/dist/Card/index.d.ts +1 -0
  11. package/dist/Chat/ChatLayout.d.ts +17 -0
  12. package/dist/Chat/ChatMessageHistory.d.ts +12 -0
  13. package/dist/Chat/index.d.ts +2 -0
  14. package/dist/ConnectionState/ConnectionState.d.ts +1 -0
  15. package/dist/ConnectionState/index.d.ts +1 -0
  16. package/dist/Containers/BodyContainer.d.ts +6 -0
  17. package/dist/Containers/ButtonSectionContainer.d.ts +8 -0
  18. package/dist/Containers/Container.d.ts +10 -0
  19. package/dist/Containers/DoubleContainer.d.ts +9 -0
  20. package/dist/Containers/MainContainer.d.ts +6 -0
  21. package/dist/Containers/OutletContainer.d.ts +6 -0
  22. package/dist/Containers/SubContainer.d.ts +10 -0
  23. package/dist/Containers/index.d.ts +7 -0
  24. package/dist/DynamicTable/BasicPrintDynamicTable.d.ts +10 -0
  25. package/dist/DynamicTable/DynamicPrintTable.d.ts +23 -0
  26. package/dist/DynamicTable/DynamicTable.d.ts +24 -0
  27. package/dist/DynamicTable/GenericDynamicTable.d.ts +21 -0
  28. package/dist/DynamicTable/index.d.ts +4 -0
  29. package/dist/Footer/Footer.d.ts +7 -0
  30. package/dist/Footer/index.d.ts +1 -0
  31. package/dist/Form/Checkbox/index.d.ts +17 -0
  32. package/dist/Form/Checklist/index.d.ts +14 -0
  33. package/dist/Form/DatePicker/index.d.ts +18 -0
  34. package/dist/Form/DynamicBaculoForm/index.d.ts +18 -0
  35. package/dist/Form/FieldContainer/DoubleFieldContainer.d.ts +8 -0
  36. package/dist/Form/FieldContainer/QuadrupleFieldContainer.d.ts +7 -0
  37. package/dist/Form/FieldContainer/TripleFieldContainer.d.ts +7 -0
  38. package/dist/Form/FieldContainer/index.d.ts +3 -0
  39. package/dist/Form/FileUpload/index.d.ts +21 -0
  40. package/dist/Form/FormButtons/index.d.ts +16 -0
  41. package/dist/Form/FormLayout/index.d.ts +11 -0
  42. package/dist/Form/SelectField/index.d.ts +27 -0
  43. package/dist/Form/TextArea/index.d.ts +23 -0
  44. package/dist/Form/TextField/index.d.ts +25 -0
  45. package/dist/Form/TimePicker/index.d.ts +16 -0
  46. package/dist/Form/YesNo/index.d.ts +12 -0
  47. package/dist/Form/index.d.ts +13 -0
  48. package/dist/Labels/InfoLabel/index.d.ts +7 -0
  49. package/dist/Labels/index.d.ts +1 -0
  50. package/dist/Layouts/homeLayout/index.d.ts +6 -0
  51. package/dist/Layouts/index.d.ts +1 -0
  52. package/dist/LineSeparator/LineSeparator.d.ts +1 -0
  53. package/dist/LineSeparator/index.d.ts +1 -0
  54. package/dist/Modal/Modal.d.ts +10 -0
  55. package/dist/Modal/index.d.ts +1 -0
  56. package/dist/NavBar/NavBar.d.ts +2 -0
  57. package/dist/NavBar/NavBar.types.d.ts +50 -0
  58. package/dist/NavBar/NavBar.utils.d.ts +58 -0
  59. package/dist/NavBar/index.d.ts +3 -0
  60. package/dist/ProgressBar/ProgressBar.d.ts +6 -0
  61. package/dist/ProgressBar/ProgressCircle.d.ts +6 -0
  62. package/dist/ProgressBar/index.d.ts +2 -0
  63. package/dist/Skeletons/LoadingInputSkeleton.d.ts +1 -0
  64. package/dist/Skeletons/index.d.ts +1 -0
  65. package/dist/Tab/Tab.d.ts +9 -0
  66. package/dist/Tab/index.d.ts +1 -0
  67. package/dist/Table/ZauruTable.d.ts +25 -0
  68. package/dist/Table/index.d.ts +1 -0
  69. package/dist/TaskList/TaskList.d.ts +14 -0
  70. package/dist/TaskList/index.d.ts +1 -0
  71. package/dist/Titles/LabelArray.d.ts +4 -0
  72. package/dist/Titles/TableColumnTitle.d.ts +4 -0
  73. package/dist/Titles/TitleH1.d.ts +1 -0
  74. package/dist/Titles/TitleH2.d.ts +1 -0
  75. package/dist/Titles/TitleH3.d.ts +1 -0
  76. package/dist/Titles/index.d.ts +5 -0
  77. package/dist/Tooltip/Tooltip.d.ts +7 -0
  78. package/dist/Tooltip/index.d.ts +1 -0
  79. package/dist/WithTooltip/WithTooltip.d.ts +7 -0
  80. package/dist/WithTooltip/index.d.ts +1 -0
  81. package/dist/Wizards/StepWizard.d.ts +14 -0
  82. package/dist/Wizards/index.d.ts +1 -0
  83. package/dist/Zendesk/Chat.d.ts +14 -0
  84. package/dist/Zendesk/index.d.ts +2 -0
  85. package/dist/Zendesk/zendesk.config.d.ts +9 -0
  86. package/dist/cjs/Alerts/ErrorBoundaryAlert/ErrorBoundaryAlert.js +9 -0
  87. package/dist/cjs/Alerts/StaticAlert.js +32 -0
  88. package/dist/cjs/Alerts/index.js +18 -0
  89. package/dist/cjs/BlockUI/BlockUI.js +12 -0
  90. package/dist/cjs/BlockUI/index.js +17 -0
  91. package/dist/cjs/Buttons/Button.js +47 -0
  92. package/dist/cjs/Buttons/index.js +17 -0
  93. package/dist/cjs/Card/Card.js +9 -0
  94. package/dist/cjs/Card/index.js +17 -0
  95. package/dist/cjs/Chat/ChatLayout.js +31 -0
  96. package/dist/cjs/Chat/ChatMessageHistory.js +57 -0
  97. package/dist/cjs/Chat/index.js +18 -0
  98. package/dist/cjs/ConnectionState/ConnectionState.js +25 -0
  99. package/dist/cjs/ConnectionState/index.js +17 -0
  100. package/dist/cjs/Containers/BodyContainer.js +9 -0
  101. package/dist/cjs/Containers/ButtonSectionContainer.js +9 -0
  102. package/dist/cjs/Containers/Container.js +10 -0
  103. package/dist/cjs/Containers/DoubleContainer.js +18 -0
  104. package/dist/cjs/Containers/MainContainer.js +9 -0
  105. package/dist/cjs/Containers/OutletContainer.js +9 -0
  106. package/dist/cjs/Containers/SubContainer.js +10 -0
  107. package/dist/cjs/Containers/index.js +23 -0
  108. package/dist/cjs/DynamicTable/BasicPrintDynamicTable.js +31 -0
  109. package/dist/cjs/DynamicTable/DynamicPrintTable.js +158 -0
  110. package/dist/cjs/DynamicTable/DynamicTable.js +219 -0
  111. package/dist/cjs/DynamicTable/GenericDynamicTable.js +200 -0
  112. package/dist/cjs/DynamicTable/index.js +20 -0
  113. package/dist/cjs/Footer/Footer.js +20 -0
  114. package/dist/cjs/Footer/index.js +17 -0
  115. package/dist/cjs/Form/Checkbox/index.js +39 -0
  116. package/dist/cjs/Form/Checklist/index.js +14 -0
  117. package/dist/cjs/Form/DatePicker/index.js +36 -0
  118. package/dist/cjs/Form/DynamicBaculoForm/index.js +144 -0
  119. package/dist/cjs/Form/FieldContainer/DoubleFieldContainer.js +18 -0
  120. package/dist/cjs/Form/FieldContainer/QuadrupleFieldContainer.js +18 -0
  121. package/dist/cjs/Form/FieldContainer/TripleFieldContainer.js +18 -0
  122. package/dist/cjs/Form/FieldContainer/index.js +19 -0
  123. package/dist/cjs/Form/FileUpload/index.js +59 -0
  124. package/dist/cjs/Form/FormButtons/index.js +9 -0
  125. package/dist/cjs/Form/FormLayout/index.js +11 -0
  126. package/dist/cjs/Form/SelectField/index.js +102 -0
  127. package/dist/cjs/Form/TextArea/index.js +41 -0
  128. package/dist/cjs/Form/TextField/index.js +75 -0
  129. package/dist/cjs/Form/TimePicker/index.js +36 -0
  130. package/dist/cjs/Form/YesNo/index.js +22 -0
  131. package/dist/cjs/Form/index.js +29 -0
  132. package/dist/cjs/Labels/InfoLabel/index.js +9 -0
  133. package/dist/cjs/Labels/index.js +17 -0
  134. package/dist/cjs/Layouts/homeLayout/index.js +14 -0
  135. package/dist/cjs/Layouts/index.js +17 -0
  136. package/dist/cjs/LineSeparator/LineSeparator.js +8 -0
  137. package/dist/cjs/LineSeparator/index.js +17 -0
  138. package/dist/cjs/Modal/Modal.js +36 -0
  139. package/dist/cjs/Modal/index.js +17 -0
  140. package/dist/cjs/NavBar/NavBar.js +36 -0
  141. package/dist/cjs/NavBar/NavBar.types.js +2 -0
  142. package/dist/cjs/NavBar/NavBar.utils.js +61 -0
  143. package/dist/cjs/NavBar/index.js +19 -0
  144. package/dist/cjs/ProgressBar/ProgressBar.js +9 -0
  145. package/dist/cjs/ProgressBar/ProgressCircle.js +26 -0
  146. package/dist/cjs/ProgressBar/index.js +18 -0
  147. package/dist/cjs/Skeletons/LoadingInputSkeleton.js +12 -0
  148. package/dist/cjs/Skeletons/index.js +17 -0
  149. package/dist/cjs/Tab/Tab.js +26 -0
  150. package/dist/cjs/Tab/index.js +17 -0
  151. package/dist/cjs/Table/ZauruTable.js +177 -0
  152. package/dist/cjs/Table/index.js +17 -0
  153. package/dist/cjs/TaskList/TaskList.js +40 -0
  154. package/dist/cjs/TaskList/index.js +17 -0
  155. package/dist/cjs/Titles/LabelArray.js +11 -0
  156. package/dist/cjs/Titles/TableColumnTitle.js +9 -0
  157. package/dist/cjs/Titles/TitleH1.js +9 -0
  158. package/dist/cjs/Titles/TitleH2.js +9 -0
  159. package/dist/cjs/Titles/TitleH3.js +9 -0
  160. package/dist/cjs/Titles/index.js +21 -0
  161. package/dist/cjs/Tooltip/Tooltip.js +18 -0
  162. package/dist/cjs/Tooltip/index.js +17 -0
  163. package/dist/cjs/WithTooltip/WithTooltip.js +9 -0
  164. package/dist/cjs/WithTooltip/index.js +17 -0
  165. package/dist/cjs/Wizards/StepWizard.js +18 -0
  166. package/dist/cjs/Wizards/index.js +17 -0
  167. package/dist/cjs/Zendesk/Chat.js +69 -0
  168. package/dist/cjs/Zendesk/index.js +18 -0
  169. package/dist/cjs/Zendesk/zendesk.config.js +31 -0
  170. package/dist/cjs/index.js +40 -0
  171. package/dist/cjs/tailwind.config.js +9 -0
  172. package/dist/esm/Alerts/ErrorBoundaryAlert/ErrorBoundaryAlert.js +5 -0
  173. package/dist/esm/Alerts/StaticAlert.js +28 -0
  174. package/dist/esm/Alerts/index.js +2 -0
  175. package/dist/esm/BlockUI/BlockUI.js +8 -0
  176. package/dist/esm/BlockUI/index.js +1 -0
  177. package/dist/esm/Buttons/Button.js +43 -0
  178. package/dist/esm/Buttons/index.js +1 -0
  179. package/dist/esm/Card/Card.js +5 -0
  180. package/dist/esm/Card/index.js +1 -0
  181. package/dist/esm/Chat/ChatLayout.js +27 -0
  182. package/dist/esm/Chat/ChatMessageHistory.js +53 -0
  183. package/dist/esm/Chat/index.js +2 -0
  184. package/dist/esm/ConnectionState/ConnectionState.js +21 -0
  185. package/dist/esm/ConnectionState/index.js +1 -0
  186. package/dist/esm/Containers/BodyContainer.js +5 -0
  187. package/dist/esm/Containers/ButtonSectionContainer.js +5 -0
  188. package/dist/esm/Containers/Container.js +6 -0
  189. package/dist/esm/Containers/DoubleContainer.js +14 -0
  190. package/dist/esm/Containers/MainContainer.js +5 -0
  191. package/dist/esm/Containers/OutletContainer.js +5 -0
  192. package/dist/esm/Containers/SubContainer.js +6 -0
  193. package/dist/esm/Containers/index.js +7 -0
  194. package/dist/esm/DynamicTable/BasicPrintDynamicTable.js +27 -0
  195. package/dist/esm/DynamicTable/DynamicPrintTable.js +131 -0
  196. package/dist/esm/DynamicTable/DynamicTable.js +192 -0
  197. package/dist/esm/DynamicTable/GenericDynamicTable.js +196 -0
  198. package/dist/esm/DynamicTable/index.js +4 -0
  199. package/dist/esm/Footer/Footer.js +16 -0
  200. package/dist/esm/Footer/index.js +1 -0
  201. package/dist/esm/Form/Checkbox/index.js +34 -0
  202. package/dist/esm/Form/Checklist/index.js +10 -0
  203. package/dist/esm/Form/DatePicker/index.js +31 -0
  204. package/dist/esm/Form/DynamicBaculoForm/index.js +140 -0
  205. package/dist/esm/Form/FieldContainer/DoubleFieldContainer.js +14 -0
  206. package/dist/esm/Form/FieldContainer/QuadrupleFieldContainer.js +14 -0
  207. package/dist/esm/Form/FieldContainer/TripleFieldContainer.js +14 -0
  208. package/dist/esm/Form/FieldContainer/index.js +3 -0
  209. package/dist/esm/Form/FileUpload/index.js +54 -0
  210. package/dist/esm/Form/FormButtons/index.js +5 -0
  211. package/dist/esm/Form/FormLayout/index.js +7 -0
  212. package/dist/esm/Form/SelectField/index.js +74 -0
  213. package/dist/esm/Form/TextArea/index.js +36 -0
  214. package/dist/esm/Form/TextField/index.js +70 -0
  215. package/dist/esm/Form/TimePicker/index.js +31 -0
  216. package/dist/esm/Form/YesNo/index.js +18 -0
  217. package/dist/esm/Form/index.js +13 -0
  218. package/dist/esm/Labels/InfoLabel/index.js +5 -0
  219. package/dist/esm/Labels/index.js +1 -0
  220. package/dist/esm/Layouts/homeLayout/index.js +10 -0
  221. package/dist/esm/Layouts/index.js +1 -0
  222. package/dist/esm/LineSeparator/LineSeparator.js +4 -0
  223. package/dist/esm/LineSeparator/index.js +1 -0
  224. package/dist/esm/Modal/Modal.js +32 -0
  225. package/dist/esm/Modal/index.js +1 -0
  226. package/dist/esm/NavBar/NavBar.js +32 -0
  227. package/dist/esm/NavBar/NavBar.types.js +1 -0
  228. package/dist/esm/NavBar/NavBar.utils.js +58 -0
  229. package/dist/esm/NavBar/index.js +3 -0
  230. package/dist/esm/ProgressBar/ProgressBar.js +5 -0
  231. package/dist/esm/ProgressBar/ProgressCircle.js +22 -0
  232. package/dist/esm/ProgressBar/index.js +2 -0
  233. package/dist/esm/Skeletons/LoadingInputSkeleton.js +8 -0
  234. package/dist/esm/Skeletons/index.js +1 -0
  235. package/dist/esm/Tab/Tab.js +19 -0
  236. package/dist/esm/Tab/index.js +1 -0
  237. package/dist/esm/Table/ZauruTable.js +150 -0
  238. package/dist/esm/Table/index.js +1 -0
  239. package/dist/esm/TaskList/TaskList.js +35 -0
  240. package/dist/esm/TaskList/index.js +1 -0
  241. package/dist/esm/Titles/LabelArray.js +7 -0
  242. package/dist/esm/Titles/TableColumnTitle.js +5 -0
  243. package/dist/esm/Titles/TitleH1.js +5 -0
  244. package/dist/esm/Titles/TitleH2.js +5 -0
  245. package/dist/esm/Titles/TitleH3.js +5 -0
  246. package/dist/esm/Titles/index.js +5 -0
  247. package/dist/esm/Tooltip/Tooltip.js +14 -0
  248. package/dist/esm/Tooltip/index.js +1 -0
  249. package/dist/esm/WithTooltip/WithTooltip.js +5 -0
  250. package/dist/esm/WithTooltip/index.js +1 -0
  251. package/dist/esm/Wizards/StepWizard.js +14 -0
  252. package/dist/esm/Wizards/index.js +1 -0
  253. package/dist/esm/Zendesk/Chat.js +63 -0
  254. package/dist/esm/Zendesk/index.js +2 -0
  255. package/dist/esm/Zendesk/zendesk.config.js +24 -0
  256. package/dist/esm/index.js +24 -0
  257. package/dist/esm/tailwind.config.js +8 -0
  258. package/dist/index.d.ts +24 -0
  259. package/dist/tailwind.config.d.ts +1 -0
  260. package/package.json +4 -3
  261. package/src/Table/ZauruTable.tsx +4 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.53](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.52...v1.0.53) (2024-04-03)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/components
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.0.52](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.51...v1.0.52) (2024-04-03)
7
15
 
8
16
  **Note:** Version bump only for package @zauru-sdk/components
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ title: string;
3
+ description: string;
4
+ };
5
+ export declare const ErrorBoundaryAlert: (props: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ type Props = {
2
+ className?: string;
3
+ title: string;
4
+ description: any;
5
+ showCloseButton?: boolean;
6
+ onClose?: () => void;
7
+ type?: "success" | "info";
8
+ loading?: boolean;
9
+ };
10
+ export declare const StaticAlert: (props: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./ErrorBoundaryAlert/ErrorBoundaryAlert.js";
2
+ export * from "./StaticAlert.js";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ active: boolean;
5
+ loadingText?: string;
6
+ };
7
+ export declare const BlockUI: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./BlockUI.js";
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" resolution-mode="require"/>
2
+ type Props = {
3
+ type?: "reset" | "button" | "submit" | undefined;
4
+ title?: string;
5
+ name?: string;
6
+ onClickSave?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
7
+ loading?: boolean;
8
+ loadingText?: string;
9
+ selectedColor?: "indigo" | "green" | "red" | "yellow";
10
+ children?: React.ReactNode;
11
+ className?: string;
12
+ disabled?: boolean;
13
+ };
14
+ export declare const Button: (props: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Button.js";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ title?: string;
5
+ className?: string;
6
+ };
7
+ export declare const Card: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Card.js";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { FormDocumentType } from "@zauru-sdk/types";
3
+ interface ChatLayoutProps {
4
+ children?: React.ReactNode;
5
+ sendingMessage?: boolean;
6
+ formConfig?: {
7
+ document_type: FormDocumentType;
8
+ form_id: number;
9
+ document_id: number;
10
+ id_number?: string;
11
+ reference?: string;
12
+ attachmentFieldId: number;
13
+ messageFieldId: number;
14
+ };
15
+ }
16
+ export declare const ChatLayout: React.FC<ChatLayoutProps>;
17
+ export {};
@@ -0,0 +1,12 @@
1
+ type Props = {
2
+ author: string;
3
+ content: string;
4
+ date?: string;
5
+ onLike?: (like: boolean) => void;
6
+ onUpdateComment?: (text: string, itsNew?: boolean) => void;
7
+ id: string;
8
+ commentOwner?: boolean;
9
+ imageLink?: string;
10
+ };
11
+ export declare const ChatMessageHistory: (props: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./ChatLayout.js";
2
+ export * from "./ChatMessageHistory.js";
@@ -0,0 +1 @@
1
+ export declare const ConnectionState: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./ConnectionState.js";
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const BodyContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ whitBg?: boolean;
6
+ };
7
+ export declare const ButtonSectionContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ type Props = {
3
+ title?: string;
4
+ description?: string;
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ rightContent?: React.ReactNode;
8
+ };
9
+ export declare const Container: (props: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type Props = {
3
+ title?: string;
4
+ description?: string;
5
+ className?: string;
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const DoubleContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const MainContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const OutletContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ type Props = {
3
+ title?: string;
4
+ description?: string;
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ rightContent?: React.ReactNode;
8
+ };
9
+ export declare const SubContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from "./BodyContainer.js";
2
+ export * from "./ButtonSectionContainer.js";
3
+ export * from "./Container.js";
4
+ export * from "./DoubleContainer.js";
5
+ export * from "./MainContainer.js";
6
+ export * from "./OutletContainer.js";
7
+ export * from "./SubContainer.js";
@@ -0,0 +1,10 @@
1
+ import { GenericDynamicTableColumn } from "@zauru-sdk/types";
2
+ export declare const BasicTableHTML: (props: {
3
+ data: {
4
+ [key: string]: string;
5
+ }[];
6
+ headers: GenericDynamicTableColumn[];
7
+ footer: {
8
+ [key: string]: string;
9
+ };
10
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import React, { type ReactNode } from "react";
2
+ export type TableStateItem = {
3
+ item_id: string | undefined;
4
+ quantity: number | undefined;
5
+ };
6
+ export type FormatedItem = {
7
+ label: string;
8
+ value: number;
9
+ template: string;
10
+ };
11
+ type Props = {
12
+ name: string;
13
+ formName?: string;
14
+ className?: string;
15
+ items: FormatedItem[];
16
+ onChange?: (tableState?: TableStateItem[]) => void;
17
+ forwardedRef?: React.RefObject<{
18
+ insertItems: (items: FormatedItem[]) => void;
19
+ getTableState: (updatedData?: ReactNode[][]) => TableStateItem[] | undefined;
20
+ }>;
21
+ };
22
+ export declare const DynamicPrintTable: ({ forwardedRef, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ type Props = {
3
+ cellInputs?: boolean;
4
+ intersectionTitle?: string;
5
+ className?: string;
6
+ onChange?: (data: string) => void;
7
+ defaultValue?: string;
8
+ onValidate?: (headerValue: string, rowValue: string) => boolean;
9
+ onRemove?: () => void;
10
+ margins?: {
11
+ marginLeft?: number;
12
+ marginTop?: number;
13
+ verticalGap?: number;
14
+ horizontalGap?: number;
15
+ };
16
+ forwardedRef?: React.RefObject<{
17
+ getTotalForRows: () => number;
18
+ getTotalForColumns: () => number;
19
+ getColumnsCount: () => number;
20
+ getRowsCount: () => number;
21
+ }>;
22
+ };
23
+ export declare const DynamicTable: ({ forwardedRef, ...props }: Props, ref: React.ForwardedRef<any>) => import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import { GenericDynamicTableColumn, RowDataType, SelectFieldOption } from "@zauru-sdk/types";
3
+ type Props = {
4
+ name?: string;
5
+ className?: string;
6
+ columns: GenericDynamicTableColumn[];
7
+ onChange?: (tableState?: any[]) => void;
8
+ defaultValue?: RowDataType[];
9
+ footerRow?: RowDataType;
10
+ thCSSProperties?: React.CSSProperties;
11
+ thElementsClassName?: string;
12
+ editable?: boolean;
13
+ searcheables?: SelectFieldOption[];
14
+ loading?: boolean;
15
+ paginated?: boolean;
16
+ defaultItemsPerPage?: number;
17
+ itemsPerPageOptions?: number[];
18
+ withoutBg?: boolean;
19
+ };
20
+ export declare const GenericDynamicTable: (props: Props) => import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./BasicPrintDynamicTable.js";
2
+ export * from "./DynamicPrintTable.js";
3
+ export * from "./DynamicTable.js";
4
+ export * from "./GenericDynamicTable.js";
@@ -0,0 +1,7 @@
1
+ type FooterProps = {
2
+ href: string;
3
+ showConnection?: boolean;
4
+ selectedColor: "purple" | "pink" | "indigo" | "cyan" | "slate" | "green" | "red" | "sky";
5
+ };
6
+ export declare const Footer: ({ href, selectedColor, showConnection, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Footer.js";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ type Props = {
3
+ id?: string;
4
+ name?: string;
5
+ formName?: string;
6
+ label?: string;
7
+ defaultValue?: boolean;
8
+ onChange?: (value: boolean, event: React.ChangeEvent<HTMLInputElement>) => {
9
+ stopUIChange: boolean;
10
+ } | void;
11
+ disabled?: boolean;
12
+ error?: string | undefined;
13
+ borderColor?: string;
14
+ };
15
+ export declare const CheckboxWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const CheckBox: (props: Props) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ export type ChecklistItem = {
3
+ id: string;
4
+ name: string;
5
+ label: string;
6
+ defaultValue?: boolean;
7
+ disabled?: boolean;
8
+ };
9
+ type ChecklistProps = {
10
+ items: ChecklistItem[];
11
+ onChange?: (name: string, value: boolean) => void;
12
+ };
13
+ export declare const Checklist: React.FC<ChecklistProps>;
14
+ export {};
@@ -0,0 +1,18 @@
1
+ type Props = {
2
+ id?: string;
3
+ name: string;
4
+ formName?: string;
5
+ title?: string;
6
+ hint?: string;
7
+ helpText?: string;
8
+ defaultValue?: string;
9
+ onChange?: (value: string) => void;
10
+ isClearable?: boolean;
11
+ tabIndex?: number;
12
+ error?: string;
13
+ disabled?: boolean;
14
+ className?: string;
15
+ };
16
+ export declare const FormDatePickerWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const FormDatePicker: (props: Props) => import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,18 @@
1
+ import { FormGraphQL, FormSubmissionValueGraphQL } from "@zauru-sdk/types";
2
+ type Props = {
3
+ formName?: string;
4
+ form?: FormGraphQL;
5
+ options?: {
6
+ showTitle: boolean;
7
+ showDescription: boolean;
8
+ };
9
+ defaultValues?: FormSubmissionValueGraphQL[];
10
+ namesStr?: string;
11
+ showingRules?: {
12
+ name: string;
13
+ show: boolean;
14
+ }[];
15
+ readOnly?: boolean;
16
+ };
17
+ export declare function DynamicBaculoForm(props: Props): import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ alignCenter?: boolean;
6
+ };
7
+ export declare const DoubleFieldContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ export declare const QuadrupleFieldContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ export declare const TripleFieldContainer: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./DoubleFieldContainer.js";
2
+ export * from "./QuadrupleFieldContainer.js";
3
+ export * from "./TripleFieldContainer.js";
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ type Props = {
3
+ id?: string;
4
+ name: string;
5
+ formName?: string;
6
+ title?: string;
7
+ helpText?: string;
8
+ hint?: string;
9
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
+ disabled?: boolean;
11
+ readOnly?: boolean;
12
+ error?: string | undefined;
13
+ fileTypes?: string[];
14
+ showAvailableTypes?: boolean;
15
+ className?: string;
16
+ defaultValue?: string | File;
17
+ download?: boolean;
18
+ };
19
+ export declare const FileUploadFieldWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const FileUploadField: (props: Props) => import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ type Props = {
3
+ saveTitle?: string;
4
+ saveName?: string;
5
+ onClickSave?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
6
+ showCancel?: boolean;
7
+ cancelTitle?: string;
8
+ cancelName?: string;
9
+ showClear?: boolean;
10
+ clearTitle?: string;
11
+ clearName?: string;
12
+ loading?: boolean;
13
+ loadingSaveText?: string;
14
+ };
15
+ export declare const FormButtons: (props: Props) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type FormMethod } from "@remix-run/react";
2
+ import { type ReactNode } from "react";
3
+ type Props = {
4
+ formId: string;
5
+ title?: string;
6
+ children: ReactNode;
7
+ buttons?: ReactNode;
8
+ method?: FormMethod;
9
+ };
10
+ export declare const FormLayout: (props: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,27 @@
1
+ import { SelectFieldOption } from "@zauru-sdk/types";
2
+ import type { SingleValue, InputActionMeta } from "react-select";
3
+ type Props = {
4
+ id?: string;
5
+ formName?: string;
6
+ name?: string;
7
+ title?: string;
8
+ defaultValue?: SingleValue<SelectFieldOption>;
9
+ defaultValueMulti?: SingleValue<SelectFieldOption>[];
10
+ helpText?: string;
11
+ options: Array<SelectFieldOption>;
12
+ onChange?: (value: SingleValue<SelectFieldOption>) => void;
13
+ onChangeMulti?: (value: Array<SingleValue<SelectFieldOption>>) => void;
14
+ onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
15
+ isClearable?: boolean;
16
+ error?: string | undefined;
17
+ disabled?: boolean;
18
+ menuIsOpen?: boolean;
19
+ readOnly?: boolean;
20
+ isMulti?: boolean;
21
+ loading?: boolean;
22
+ hint?: string;
23
+ className?: string;
24
+ };
25
+ export declare const SelectFieldWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
26
+ export declare const SelectField: (props: Props) => import("react/jsx-runtime").JSX.Element;
27
+ export {};
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ type Props = {
3
+ id?: string;
4
+ name: string;
5
+ formName?: string;
6
+ title?: string;
7
+ defaultValue?: string | number;
8
+ hidden?: boolean;
9
+ hint?: string;
10
+ helpText?: string;
11
+ onChange?: (value: string) => void;
12
+ onKeyDown?: (event: React.KeyboardEvent) => void;
13
+ disabled?: boolean;
14
+ readOnly?: boolean;
15
+ error?: string | undefined;
16
+ rows?: number;
17
+ cols?: number;
18
+ stopChangeEvents?: boolean;
19
+ className?: string;
20
+ };
21
+ export declare const TextAreaWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const TextArea: (props: Props) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ type Props = {
3
+ id?: string;
4
+ name?: string;
5
+ formName?: string;
6
+ title?: string;
7
+ defaultValue?: string | number;
8
+ hidden?: boolean;
9
+ type?: React.HTMLInputTypeAttribute;
10
+ helpText?: string;
11
+ hint?: string;
12
+ onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
13
+ onKeyDown?: (event: React.KeyboardEvent) => void;
14
+ disabled?: boolean;
15
+ readOnly?: boolean;
16
+ error?: string;
17
+ min?: string | number;
18
+ integer?: boolean;
19
+ stopChangeEvents?: boolean;
20
+ style?: React.CSSProperties;
21
+ className?: string;
22
+ };
23
+ export declare const TextFieldWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const TextField: (props: Props) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1,16 @@
1
+ type Props = {
2
+ id?: string;
3
+ name: string;
4
+ formName?: string;
5
+ title?: string;
6
+ hint?: string;
7
+ helpText?: string;
8
+ defaultValue?: string;
9
+ onChange?: (value: string) => void;
10
+ tabIndex?: number;
11
+ error?: string;
12
+ disabled?: boolean;
13
+ };
14
+ export declare const FormTimePickerWithoutValidation: (props: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const FormTimePicker: (props: Props) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,12 @@
1
+ type Props = {
2
+ id?: string;
3
+ name: string;
4
+ formName?: string;
5
+ title?: string;
6
+ defaultValue?: boolean;
7
+ helpText?: string;
8
+ onChange?: (value: boolean) => void;
9
+ disabled?: boolean;
10
+ };
11
+ export declare const YesNo: (props: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,13 @@
1
+ export * from "./Checkbox/index.js";
2
+ export * from "./Checklist/index.js";
3
+ export * from "./DatePicker/index.js";
4
+ export * from "./DynamicBaculoForm/index.js";
5
+ export * from "./FieldContainer/index.js";
6
+ export * from "./FileUpload/index.js";
7
+ export * from "./FormButtons/index.js";
8
+ export * from "./FormLayout/index.js";
9
+ export * from "./SelectField/index.js";
10
+ export * from "./TextArea/index.js";
11
+ export * from "./TextField/index.js";
12
+ export * from "./TimePicker/index.js";
13
+ export * from "./YesNo/index.js";
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ description: string;
3
+ title: string;
4
+ className?: string;
5
+ };
6
+ export declare const InfoLabel: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./InfoLabel/index.js";
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ title?: string;
3
+ description?: string;
4
+ };
5
+ export declare const HomeLayout: ({ title, description }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./homeLayout/index.js";
@@ -0,0 +1 @@
1
+ export declare const LineSeparator: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./LineSeparator.js";
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ export type ModalOption = "OK" | "CANCEL" | null;
3
+ type ModalParams = {
4
+ title: string;
5
+ description: React.ReactNode;
6
+ okButtonText?: string;
7
+ showOptions?: boolean;
8
+ };
9
+ export declare const createModal: ({ title, description, okButtonText, showOptions, }: ModalParams) => Promise<ModalOption>;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Modal.js";
@@ -0,0 +1,2 @@
1
+ import type { NavBarProps } from "./NavBar.types.js";
2
+ export declare const NavBar: ({ title, loggedIn, items, selectedColor, }: NavBarProps) => import("react/jsx-runtime").JSX.Element;