@arquimedes.co/eureka-forms 1.9.82-test → 1.9.83-test

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 (217) hide show
  1. package/package.json +1 -1
  2. package/dist/@Types/@Types.d.ts +0 -2
  3. package/dist/@Types/@Types.js +0 -1
  4. package/dist/@Types/AYFFormStep.d.ts +0 -19
  5. package/dist/@Types/AYFFormStep.js +0 -1
  6. package/dist/@Types/CBRFormStep.d.ts +0 -74
  7. package/dist/@Types/CBRFormStep.js +0 -1
  8. package/dist/@Types/Form.d.ts +0 -65
  9. package/dist/@Types/Form.js +0 -1
  10. package/dist/@Types/FormStep.d.ts +0 -138
  11. package/dist/@Types/FormStep.js +0 -1
  12. package/dist/@Types/GenericFormSteps.d.ts +0 -60
  13. package/dist/@Types/GenericFormSteps.js +0 -1
  14. package/dist/@Types/Organization.d.ts +0 -17
  15. package/dist/@Types/Organization.js +0 -1
  16. package/dist/@Types/index.d.ts +0 -1
  17. package/dist/@Types/index.js +0 -1
  18. package/dist/App.d.ts +0 -62
  19. package/dist/App.js +0 -470
  20. package/dist/App.module.css +0 -34
  21. package/dist/AxiosAPI.d.ts +0 -2
  22. package/dist/AxiosAPI.js +0 -8
  23. package/dist/AxiosWidget.d.ts +0 -2
  24. package/dist/AxiosWidget.js +0 -8
  25. package/dist/FormComponents/Form/ColumnForm/ColumnForm.d.ts +0 -8
  26. package/dist/FormComponents/Form/ColumnForm/ColumnForm.js +0 -379
  27. package/dist/FormComponents/Form/ColumnForm/ColumnForm.module.css +0 -51
  28. package/dist/FormComponents/Form/ConfirmationDialog/ConfirmationDialog.d.ts +0 -12
  29. package/dist/FormComponents/Form/ConfirmationDialog/ConfirmationDialog.js +0 -31
  30. package/dist/FormComponents/Form/ConfirmationDialog/ConfirmationDialog.module.css +0 -64
  31. package/dist/FormComponents/Form/Form.d.ts +0 -42
  32. package/dist/FormComponents/Form/Form.js +0 -147
  33. package/dist/FormComponents/Form/Form.module.css +0 -39
  34. package/dist/FormComponents/Form/StepperForm/StepperForm.d.ts +0 -4
  35. package/dist/FormComponents/Form/StepperForm/StepperForm.js +0 -6
  36. package/dist/FormComponents/Form/StepperForm/StepperForm.module.css +0 -0
  37. package/dist/FormComponents/Section/MaterialSection/MaterialSection.d.ts +0 -4
  38. package/dist/FormComponents/Section/MaterialSection/MaterialSection.js +0 -42
  39. package/dist/FormComponents/Section/MaterialSection/MaterialSection.module.css +0 -8
  40. package/dist/FormComponents/Section/Section.d.ts +0 -39
  41. package/dist/FormComponents/Section/Section.js +0 -23
  42. package/dist/FormComponents/Step/@Construction/CBRElementStep/CBRElementStep.d.ts +0 -8
  43. package/dist/FormComponents/Step/@Construction/CBRElementStep/CBRElementStep.js +0 -139
  44. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +0 -9
  45. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +0 -23
  46. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +0 -8
  47. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +0 -49
  48. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +0 -60
  49. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +0 -11
  50. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +0 -121
  51. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +0 -34
  52. package/dist/FormComponents/Step/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +0 -8
  53. package/dist/FormComponents/Step/@Construction/CBRPropertyStep/CBRPropertyStep.js +0 -138
  54. package/dist/FormComponents/Step/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +0 -54
  55. package/dist/FormComponents/Step/AYFStepMapper.d.ts +0 -12
  56. package/dist/FormComponents/Step/AYFStepMapper.js +0 -170
  57. package/dist/FormComponents/Step/CBRStepMapper.d.ts +0 -13
  58. package/dist/FormComponents/Step/CBRStepMapper.js +0 -202
  59. package/dist/FormComponents/Step/CheckBoxStep/CheckBoxStep.d.ts +0 -9
  60. package/dist/FormComponents/Step/CheckBoxStep/CheckBoxStep.js +0 -35
  61. package/dist/FormComponents/Step/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +0 -4
  62. package/dist/FormComponents/Step/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +0 -65
  63. package/dist/FormComponents/Step/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +0 -37
  64. package/dist/FormComponents/Step/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +0 -9
  65. package/dist/FormComponents/Step/ClassifierSelectorStep/ClassifierSelectorStep.js +0 -35
  66. package/dist/FormComponents/Step/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +0 -4
  67. package/dist/FormComponents/Step/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +0 -121
  68. package/dist/FormComponents/Step/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.module.css +0 -25
  69. package/dist/FormComponents/Step/CollapsibleStep/CollapsibleStep.d.ts +0 -9
  70. package/dist/FormComponents/Step/CollapsibleStep/CollapsibleStep.js +0 -37
  71. package/dist/FormComponents/Step/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +0 -4
  72. package/dist/FormComponents/Step/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +0 -75
  73. package/dist/FormComponents/Step/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +0 -62
  74. package/dist/FormComponents/Step/DatePickerStep/DatePickerStep.d.ts +0 -11
  75. package/dist/FormComponents/Step/DatePickerStep/DatePickerStep.js +0 -23
  76. package/dist/FormComponents/Step/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +0 -4
  77. package/dist/FormComponents/Step/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +0 -48
  78. package/dist/FormComponents/Step/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.module.css +0 -9
  79. package/dist/FormComponents/Step/EntityValueStep/EntityValuePickerStep.d.ts +0 -15
  80. package/dist/FormComponents/Step/EntityValueStep/EntityValuePickerStep.js +0 -35
  81. package/dist/FormComponents/Step/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +0 -4
  82. package/dist/FormComponents/Step/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +0 -203
  83. package/dist/FormComponents/Step/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.module.css +0 -25
  84. package/dist/FormComponents/Step/FileUploadStep/FileUploadStep.d.ts +0 -9
  85. package/dist/FormComponents/Step/FileUploadStep/FileUploadStep.js +0 -23
  86. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +0 -13
  87. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +0 -123
  88. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +0 -60
  89. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +0 -16
  90. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +0 -272
  91. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +0 -59
  92. package/dist/FormComponents/Step/MapperStep/MapperStep.d.ts +0 -15
  93. package/dist/FormComponents/Step/MapperStep/MapperStep.js +0 -35
  94. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.d.ts +0 -10
  95. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.js +0 -27
  96. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.module.css +0 -60
  97. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/PillElementContainer/PillElementContainer.d.ts +0 -13
  98. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/PillElementContainer/PillElementContainer.js +0 -33
  99. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/PillElementContainer/PillElementContainer.module.css +0 -60
  100. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +0 -15
  101. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.js +0 -275
  102. package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +0 -42
  103. package/dist/FormComponents/Step/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +0 -4
  104. package/dist/FormComponents/Step/RatingStep/MaterialRatingStep/MaterialRatingStep.js +0 -71
  105. package/dist/FormComponents/Step/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +0 -30
  106. package/dist/FormComponents/Step/RatingStep/RatingStep.d.ts +0 -9
  107. package/dist/FormComponents/Step/RatingStep/RatingStep.js +0 -23
  108. package/dist/FormComponents/Step/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +0 -4
  109. package/dist/FormComponents/Step/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +0 -104
  110. package/dist/FormComponents/Step/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +0 -25
  111. package/dist/FormComponents/Step/SelectorStep/SelectorStep.d.ts +0 -9
  112. package/dist/FormComponents/Step/SelectorStep/SelectorStep.js +0 -35
  113. package/dist/FormComponents/Step/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +0 -4
  114. package/dist/FormComponents/Step/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +0 -11
  115. package/dist/FormComponents/Step/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +0 -7
  116. package/dist/FormComponents/Step/SeparatorStep/SeparatorStep.d.ts +0 -9
  117. package/dist/FormComponents/Step/SeparatorStep/SeparatorStep.js +0 -35
  118. package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +0 -10
  119. package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +0 -241
  120. package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.module.css +0 -9
  121. package/dist/FormComponents/Step/SmartSelectStep/SmartSelectStep.d.ts +0 -33
  122. package/dist/FormComponents/Step/SmartSelectStep/SmartSelectStep.js +0 -23
  123. package/dist/FormComponents/Step/Step.d.ts +0 -11
  124. package/dist/FormComponents/Step/Step.js +0 -108
  125. package/dist/FormComponents/Step/StepFunctions.d.ts +0 -5
  126. package/dist/FormComponents/Step/StepFunctions.js +0 -65
  127. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +0 -96
  128. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +0 -13
  129. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +0 -213
  130. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +0 -93
  131. package/dist/FormComponents/Step/TextAreaStep/TextAreaStep.d.ts +0 -10
  132. package/dist/FormComponents/Step/TextAreaStep/TextAreaStep.js +0 -23
  133. package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +0 -4
  134. package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +0 -76
  135. package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +0 -9
  136. package/dist/FormComponents/Step/TextInputStep/TextInputStep.d.ts +0 -13
  137. package/dist/FormComponents/Step/TextInputStep/TextInputStep.js +0 -23
  138. package/dist/FormComponents/Step/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +0 -4
  139. package/dist/FormComponents/Step/TitleStep/MaterialTitleStep/MaterialTitleStep.js +0 -20
  140. package/dist/FormComponents/Step/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +0 -19
  141. package/dist/FormComponents/Step/TitleStep/TitleStep.d.ts +0 -9
  142. package/dist/FormComponents/Step/TitleStep/TitleStep.js +0 -35
  143. package/dist/FormComponents/Term/MaterialTerm/MaterialTerm.d.ts +0 -4
  144. package/dist/FormComponents/Term/MaterialTerm/MaterialTerm.js +0 -88
  145. package/dist/FormComponents/Term/MaterialTerm/MaterialTerm.module.css +0 -83
  146. package/dist/FormComponents/Term/Term.d.ts +0 -15
  147. package/dist/FormComponents/Term/Term.js +0 -23
  148. package/dist/Icons/Construction/LeakIcon.d.ts +0 -3
  149. package/dist/Icons/Construction/LeakIcon.js +0 -16
  150. package/dist/Icons/Construction/ProjectIcon.d.ts +0 -3
  151. package/dist/Icons/Construction/ProjectIcon.js +0 -16
  152. package/dist/Icons/Construction/PropertyIcon.d.ts +0 -3
  153. package/dist/Icons/Construction/PropertyIcon.js +0 -16
  154. package/dist/Icons/Construction/SpaceIcon.d.ts +0 -3
  155. package/dist/Icons/Construction/SpaceIcon.js +0 -16
  156. package/dist/Icons/DocumentIcon.d.ts +0 -3
  157. package/dist/Icons/DocumentIcon.js +0 -16
  158. package/dist/Icons/Entities/GenericEntityIcon.d.ts +0 -2
  159. package/dist/Icons/Entities/GenericEntityIcon.js +0 -17
  160. package/dist/Icons/Entities/HandshakeIcon.d.ts +0 -2
  161. package/dist/Icons/Entities/HandshakeIcon.js +0 -17
  162. package/dist/Widget.d.ts +0 -1
  163. package/dist/Widget.js +0 -61
  164. package/dist/constants/AYFFormStepTypes.d.ts +0 -9
  165. package/dist/constants/AYFFormStepTypes.js +0 -10
  166. package/dist/constants/CBRFormStepTypes.d.ts +0 -21
  167. package/dist/constants/CBRFormStepTypes.js +0 -22
  168. package/dist/constants/Files/FileExtensions.d.ts +0 -3
  169. package/dist/constants/Files/FileExtensions.js +0 -68
  170. package/dist/constants/Files/FileMaxSize.d.ts +0 -2
  171. package/dist/constants/Files/FileMaxSize.js +0 -2
  172. package/dist/constants/FormStepTypes.d.ts +0 -46
  173. package/dist/constants/FormStepTypes.js +0 -54
  174. package/dist/constants/IconTypes.d.ts +0 -10
  175. package/dist/constants/IconTypes.js +0 -11
  176. package/dist/constants/InternalFormStyle.d.ts +0 -3
  177. package/dist/constants/InternalFormStyle.js +0 -16
  178. package/dist/constants/MaterialClassNameSeed.d.ts +0 -1
  179. package/dist/constants/MaterialClassNameSeed.js +0 -1
  180. package/dist/controllers/FileService.d.ts +0 -5
  181. package/dist/controllers/FileService.js +0 -92
  182. package/dist/index.d.ts +0 -1
  183. package/dist/index.js +0 -29
  184. package/dist/index.lib.d.ts +0 -7
  185. package/dist/index.lib.js +0 -5
  186. package/dist/index.module.css +0 -14
  187. package/dist/shared/InputIcon/InputIcon.d.ts +0 -7
  188. package/dist/shared/InputIcon/InputIcon.js +0 -81
  189. package/dist/shared/Loader/Loader.d.ts +0 -18
  190. package/dist/shared/Loader/Loader.js +0 -26
  191. package/dist/shared/Loader/Loader.module.css +0 -12
  192. package/dist/shared/Navbar/Navbar.d.ts +0 -9
  193. package/dist/shared/Navbar/Navbar.js +0 -18
  194. package/dist/shared/Navbar/Navbar.module.css +0 -18
  195. package/dist/shared/Rating/Rating.d.ts +0 -16
  196. package/dist/shared/Rating/Rating.js +0 -41
  197. package/dist/shared/Rating/Rating.module.css +0 -32
  198. package/dist/shared/Rating/Ratings/LikeRating.d.ts +0 -4
  199. package/dist/shared/Rating/Ratings/LikeRating.js +0 -43
  200. package/dist/shared/Rating/Ratings/SatisfactionRating.d.ts +0 -4
  201. package/dist/shared/Rating/Ratings/SatisfactionRating.js +0 -61
  202. package/dist/shared/Rating/Ratings/ScaleRating.d.ts +0 -4
  203. package/dist/shared/Rating/Ratings/ScaleRating.js +0 -63
  204. package/dist/shared/RoundedButton/RoundedButton.d.ts +0 -30
  205. package/dist/shared/RoundedButton/RoundedButton.js +0 -45
  206. package/dist/shared/RoundedCheckBox/RoundedCheckBox.d.ts +0 -24
  207. package/dist/shared/RoundedCheckBox/RoundedCheckBox.js +0 -101
  208. package/dist/shared/RoundedDatePicker/RoundedDatePicker.d.ts +0 -48
  209. package/dist/shared/RoundedDatePicker/RoundedDatePicker.js +0 -348
  210. package/dist/shared/RoundedSelect/RoundedSelect.d.ts +0 -68
  211. package/dist/shared/RoundedSelect/RoundedSelect.js +0 -214
  212. package/dist/shared/RoundedSmartSelect/RoundedSmartSelect.d.ts +0 -66
  213. package/dist/shared/RoundedSmartSelect/RoundedSmartSelect.js +0 -234
  214. package/dist/shared/RoundedTextField/RoundedTextField.d.ts +0 -45
  215. package/dist/shared/RoundedTextField/RoundedTextField.js +0 -175
  216. package/dist/utils/CbrFunctions.d.ts +0 -8
  217. package/dist/utils/CbrFunctions.js +0 -53
package/dist/Widget.js DELETED
@@ -1,61 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var _a;
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import ReactDOM from 'react-dom';
15
- import App from './App';
16
- var WIDGET_ID = 'widget:eureka';
17
- var element = document.getElementById(WIDGET_ID);
18
- var props = {};
19
- if (element) {
20
- var url = element.getAttribute('data-formurl');
21
- if (url) {
22
- var splitUrl = url.split('/');
23
- if (splitUrl.length > 0) {
24
- props.apiKey = splitUrl[splitUrl.length - 1];
25
- }
26
- var domain = (_a = /:\/\/([^\/]+)/.exec(url)) === null || _a === void 0 ? void 0 : _a[1];
27
- if (domain) {
28
- var splitDomain = domain.split('.');
29
- if (splitDomain.length > 0 && splitDomain[0] !== 'forms') {
30
- props.domain = splitDomain[0];
31
- }
32
- }
33
- }
34
- var formDataString = element.getAttribute('data-formdata');
35
- if (formDataString) {
36
- props.formData = JSON.parse(formDataString);
37
- }
38
- var valuesString = element.getAttribute('data-values');
39
- if (valuesString) {
40
- props.valuesData = JSON.parse(valuesString);
41
- }
42
- var internal = element.getAttribute('data-internal');
43
- if (internal) {
44
- props.internal = true;
45
- }
46
- var postview = element.getAttribute('data-postview');
47
- if (postview) {
48
- props.postview = true;
49
- }
50
- var preview = element.getAttribute('data-preview');
51
- if (preview) {
52
- props.preview = true;
53
- }
54
- var partial = element.getAttribute('data-partial');
55
- if (partial) {
56
- props.partial = true;
57
- }
58
- // eslint-disable-next-line no-console
59
- console.log(props);
60
- }
61
- ReactDOM.render(_jsx(App, __assign({ isWidget: true }, props)), document.getElementById(WIDGET_ID));
@@ -1,9 +0,0 @@
1
- export declare enum AYFFormStepTypes {
2
- AYF_START_MONTH = "AYF_START_MONTH",
3
- AYF_END_MONTH = "AYF_END_MONTH",
4
- AYF_YEAR = "AYF_YEAR",
5
- AYF_BILL_NUM = "AYF_BILL_NUM",
6
- AYF_CUT_OFF_DATE = "AYF_CUT_OFF_DATE",
7
- AYF_ICA_CITY = "AYF_ICA_CITY"
8
- }
9
- export default AYFFormStepTypes;
@@ -1,10 +0,0 @@
1
- export var AYFFormStepTypes;
2
- (function (AYFFormStepTypes) {
3
- AYFFormStepTypes["AYF_START_MONTH"] = "AYF_START_MONTH";
4
- AYFFormStepTypes["AYF_END_MONTH"] = "AYF_END_MONTH";
5
- AYFFormStepTypes["AYF_YEAR"] = "AYF_YEAR";
6
- AYFFormStepTypes["AYF_BILL_NUM"] = "AYF_BILL_NUM";
7
- AYFFormStepTypes["AYF_CUT_OFF_DATE"] = "AYF_CUT_OFF_DATE";
8
- AYFFormStepTypes["AYF_ICA_CITY"] = "AYF_ICA_CITY";
9
- })(AYFFormStepTypes || (AYFFormStepTypes = {}));
10
- export default AYFFormStepTypes;
@@ -1,21 +0,0 @@
1
- declare enum TYPES {
2
- CBR_MACRO_PROYECTO = "CBR_MACRO_PROYECTO",
3
- CBR_POSTVENTA = "CBR_POSTVENTA",
4
- CBR_FIRST_NAME = "CBR_FIRST_NAME",
5
- CBR_MIDDLE_NAME = "CBR_MIDDLE_NAME",
6
- CBR_LAST_NAME = "CBR_LAST_NAME",
7
- CBR_SECOND_LAST_NAME = "CBR_SECOND_LAST_NAME",
8
- CBR_DOC = "CBR_DOC",
9
- CBR_CEL = "CBR_CEL",
10
- CBR_PHONE = "CBR_PHONE",
11
- CBR_EMAIL = "CBR_EMAIL",
12
- CBR_PROYECTO = "CBR_PROYECTO",
13
- CBR_TIPO_DOC = "CBR_TIPO_DOC",
14
- CBR_TIPO_SOLICITANTE = "CBR_TIPO_SOLICITANTE",
15
- CBR_INMUEBLE = "CBR_INMUEBLE",
16
- CBR_TIPO_ESPACIO = "CBR_TIPO_ESPACIO",
17
- CBR_LOCATIVAS = "CBR_LOCATIVAS",
18
- CBR_INCIDENCIAS = "CBR_INCIDENCIAS",
19
- CBR_COMENTARIO = "CBR_COMENTARIO"
20
- }
21
- export default TYPES;
@@ -1,22 +0,0 @@
1
- var TYPES;
2
- (function (TYPES) {
3
- TYPES["CBR_MACRO_PROYECTO"] = "CBR_MACRO_PROYECTO";
4
- TYPES["CBR_POSTVENTA"] = "CBR_POSTVENTA";
5
- TYPES["CBR_FIRST_NAME"] = "CBR_FIRST_NAME";
6
- TYPES["CBR_MIDDLE_NAME"] = "CBR_MIDDLE_NAME";
7
- TYPES["CBR_LAST_NAME"] = "CBR_LAST_NAME";
8
- TYPES["CBR_SECOND_LAST_NAME"] = "CBR_SECOND_LAST_NAME";
9
- TYPES["CBR_DOC"] = "CBR_DOC";
10
- TYPES["CBR_CEL"] = "CBR_CEL";
11
- TYPES["CBR_PHONE"] = "CBR_PHONE";
12
- TYPES["CBR_EMAIL"] = "CBR_EMAIL";
13
- TYPES["CBR_PROYECTO"] = "CBR_PROYECTO";
14
- TYPES["CBR_TIPO_DOC"] = "CBR_TIPO_DOC";
15
- TYPES["CBR_TIPO_SOLICITANTE"] = "CBR_TIPO_SOLICITANTE";
16
- TYPES["CBR_INMUEBLE"] = "CBR_INMUEBLE";
17
- TYPES["CBR_TIPO_ESPACIO"] = "CBR_TIPO_ESPACIO";
18
- TYPES["CBR_LOCATIVAS"] = "CBR_LOCATIVAS";
19
- TYPES["CBR_INCIDENCIAS"] = "CBR_INCIDENCIAS";
20
- TYPES["CBR_COMENTARIO"] = "CBR_COMENTARIO";
21
- })(TYPES || (TYPES = {}));
22
- export default TYPES;
@@ -1,3 +0,0 @@
1
- export declare const getAcceptedExtensions: () => string;
2
- declare const extensions: string[];
3
- export default extensions;
@@ -1,68 +0,0 @@
1
- export var getAcceptedExtensions = function () {
2
- var extensionString = extensions.reduce(function (acc, current) { return acc + ',.' + current; });
3
- extensionString = '.' + extensionString;
4
- return extensionString;
5
- };
6
- var extensions = [
7
- 'aif',
8
- 'cda',
9
- 'mid',
10
- 'midi',
11
- 'mp3',
12
- 'mpa',
13
- 'ogg',
14
- 'wav',
15
- 'wma',
16
- 'wpl',
17
- 'ai',
18
- 'bmp',
19
- 'gif',
20
- 'ico',
21
- 'jpeg',
22
- 'jpg',
23
- 'png',
24
- 'ps',
25
- 'psd',
26
- 'svg',
27
- 'tif',
28
- 'tiff',
29
- 'key',
30
- 'odp',
31
- 'pps',
32
- 'ppt',
33
- 'pptx',
34
- 'ods',
35
- 'xls',
36
- 'xlsm',
37
- 'xlsx',
38
- '3g2',
39
- '3gp',
40
- 'avi',
41
- 'flv',
42
- 'h264',
43
- 'm4v',
44
- 'mkv',
45
- 'mov',
46
- 'mp4',
47
- 'mpg',
48
- 'mpeg',
49
- 'rm',
50
- 'swf',
51
- 'vob',
52
- 'wmv',
53
- 'doc',
54
- 'docx',
55
- 'docm',
56
- 'odt',
57
- 'pdf',
58
- 'rtf',
59
- 'tex',
60
- 'txt',
61
- 'wpd',
62
- 'csv',
63
- 'tex',
64
- 'msg',
65
- 'zip',
66
- 'rar',
67
- ];
68
- export default extensions;
@@ -1,2 +0,0 @@
1
- declare const maxSize = 31457280;
2
- export default maxSize;
@@ -1,2 +0,0 @@
1
- var maxSize = 31457280;
2
- export default maxSize;
@@ -1,46 +0,0 @@
1
- export declare enum FormTypes {
2
- STEPPER = "STEPPER",
3
- COLUMN = "COLUMN"
4
- }
5
- export declare enum FormStyleTypes {
6
- MATERIAL = "MATERIAL"
7
- }
8
- export declare enum StepTypes {
9
- TITLE = "TITLE",
10
- RATING = "RATING",
11
- CHECKBOX = "CHECKBOX",
12
- TEXTAREA = "TEXTAREA",
13
- DATEPICKER = "DATEPICKER",
14
- FILEUPLOAD = "FILEUPLOAD",
15
- TEXTINPUT = "TEXTINPUT",
16
- SEPARATOR = "SEPARATOR",
17
- SELECTOR = "SELECTOR",
18
- CLASSIFIER_SELECTOR = "CLASSIFIER_SELECTOR",
19
- COLLAPSIBLE = "COLLAPSIBLE",
20
- MAPPER = "MAPPER",
21
- ENTITYVALUEPICKER = "ENTITYVALUEPICKER"
22
- }
23
- export declare enum OptionTypes {
24
- DEFAULT = "DEFAULT",
25
- NESTED = "NESTED",
26
- ADD_SECTION = "ADD_SECTION"
27
- }
28
- export declare enum ClassifierOptionTypes {
29
- HIDE = "CLASSIFIER_HIDE",
30
- NESTED = "CLASSIFIER_NESTED"
31
- }
32
- export declare enum EntityValueOptionTypes {
33
- HIDE = "ENTITY_VALUE_HIDE",
34
- NESTED = "ENTITY_VALUE_NESTED"
35
- }
36
- export declare enum RatingTypes {
37
- SCALE = "SCALE",
38
- SATISFACTION = "SATISFACTION",
39
- LIKE = "LIKE"
40
- }
41
- export default StepTypes;
42
- export declare enum MapperStyleTypes {
43
- PILL = "PILL",
44
- LIST = "LIST",
45
- INLINE = "INLINE"
46
- }
@@ -1,54 +0,0 @@
1
- export var FormTypes;
2
- (function (FormTypes) {
3
- FormTypes["STEPPER"] = "STEPPER";
4
- FormTypes["COLUMN"] = "COLUMN";
5
- })(FormTypes || (FormTypes = {}));
6
- export var FormStyleTypes;
7
- (function (FormStyleTypes) {
8
- FormStyleTypes["MATERIAL"] = "MATERIAL";
9
- })(FormStyleTypes || (FormStyleTypes = {}));
10
- export var StepTypes;
11
- (function (StepTypes) {
12
- StepTypes["TITLE"] = "TITLE";
13
- StepTypes["RATING"] = "RATING";
14
- StepTypes["CHECKBOX"] = "CHECKBOX";
15
- StepTypes["TEXTAREA"] = "TEXTAREA";
16
- StepTypes["DATEPICKER"] = "DATEPICKER";
17
- StepTypes["FILEUPLOAD"] = "FILEUPLOAD";
18
- StepTypes["TEXTINPUT"] = "TEXTINPUT";
19
- StepTypes["SEPARATOR"] = "SEPARATOR";
20
- StepTypes["SELECTOR"] = "SELECTOR";
21
- StepTypes["CLASSIFIER_SELECTOR"] = "CLASSIFIER_SELECTOR";
22
- StepTypes["COLLAPSIBLE"] = "COLLAPSIBLE";
23
- StepTypes["MAPPER"] = "MAPPER";
24
- StepTypes["ENTITYVALUEPICKER"] = "ENTITYVALUEPICKER";
25
- })(StepTypes || (StepTypes = {}));
26
- export var OptionTypes;
27
- (function (OptionTypes) {
28
- OptionTypes["DEFAULT"] = "DEFAULT";
29
- OptionTypes["NESTED"] = "NESTED";
30
- OptionTypes["ADD_SECTION"] = "ADD_SECTION";
31
- })(OptionTypes || (OptionTypes = {}));
32
- export var ClassifierOptionTypes;
33
- (function (ClassifierOptionTypes) {
34
- ClassifierOptionTypes["HIDE"] = "CLASSIFIER_HIDE";
35
- ClassifierOptionTypes["NESTED"] = "CLASSIFIER_NESTED";
36
- })(ClassifierOptionTypes || (ClassifierOptionTypes = {}));
37
- export var EntityValueOptionTypes;
38
- (function (EntityValueOptionTypes) {
39
- EntityValueOptionTypes["HIDE"] = "ENTITY_VALUE_HIDE";
40
- EntityValueOptionTypes["NESTED"] = "ENTITY_VALUE_NESTED";
41
- })(EntityValueOptionTypes || (EntityValueOptionTypes = {}));
42
- export var RatingTypes;
43
- (function (RatingTypes) {
44
- RatingTypes["SCALE"] = "SCALE";
45
- RatingTypes["SATISFACTION"] = "SATISFACTION";
46
- RatingTypes["LIKE"] = "LIKE";
47
- })(RatingTypes || (RatingTypes = {}));
48
- export default StepTypes;
49
- export var MapperStyleTypes;
50
- (function (MapperStyleTypes) {
51
- MapperStyleTypes["PILL"] = "PILL";
52
- MapperStyleTypes["LIST"] = "LIST";
53
- MapperStyleTypes["INLINE"] = "INLINE";
54
- })(MapperStyleTypes || (MapperStyleTypes = {}));
@@ -1,10 +0,0 @@
1
- export declare enum IconTypes {
2
- PROJECT = "PROJECT",
3
- PROPERTY = "PROPERTY",
4
- SPACE = "SPACE",
5
- LEAK = "LEAK",
6
- DOCUMENT = "DOCUMENT",
7
- HANDSHAKE = "HANDSHAKE",
8
- GENERIC = "GENERIC"
9
- }
10
- export default IconTypes;
@@ -1,11 +0,0 @@
1
- export var IconTypes;
2
- (function (IconTypes) {
3
- IconTypes["PROJECT"] = "PROJECT";
4
- IconTypes["PROPERTY"] = "PROPERTY";
5
- IconTypes["SPACE"] = "SPACE";
6
- IconTypes["LEAK"] = "LEAK";
7
- IconTypes["DOCUMENT"] = "DOCUMENT";
8
- IconTypes["HANDSHAKE"] = "HANDSHAKE";
9
- IconTypes["GENERIC"] = "GENERIC";
10
- })(IconTypes || (IconTypes = {}));
11
- export default IconTypes;
@@ -1,3 +0,0 @@
1
- import { MaterialStyle } from '../@Types/Form';
2
- declare const InternalFormStyle: MaterialStyle;
3
- export default InternalFormStyle;
@@ -1,16 +0,0 @@
1
- import { FormStyleTypes } from './FormStepTypes';
2
- var InternalFormStyle = {
3
- type: FormStyleTypes.MATERIAL,
4
- standAloneBackgroundColor: '#ffffff',
5
- backgroundColor: '#ffffff',
6
- stepBackgroundColor: '#ffffff',
7
- primaryColor: '#3d5a7f',
8
- secondaryColor: '#98c1d9',
9
- primaryContrastColor: '#ffffff',
10
- secondaryContrastColor: '#ee6c4d',
11
- errorColor: '#cc2936',
12
- textColor: '#293241',
13
- outlineColor: '#b8b8b8',
14
- descriptionTextColor: '#989898',
15
- };
16
- export default InternalFormStyle;
@@ -1 +0,0 @@
1
- export declare const SEED = "EF";
@@ -1 +0,0 @@
1
- export var SEED = 'EF';
@@ -1,5 +0,0 @@
1
- export declare function getUploadUrls(files: Array<File>, domain?: string): Promise<(Record<string, any> | string)[]>;
2
- export declare function postFile(file: File, postInfo: Record<string, any>): Promise<{
3
- fileName: string;
4
- S3Key: string;
5
- }>;
@@ -1,92 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
- function verb(n) { return function (v) { return step([n, v]); }; }
14
- function step(op) {
15
- if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
- if (y = 0, t) op = [op[0] & 2, t.value];
19
- switch (op[0]) {
20
- case 0: case 1: t = op; break;
21
- case 4: _.label++; return { value: op[1], done: false };
22
- case 5: _.label++; y = op[1]; op = [0]; continue;
23
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
- default:
25
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
- if (t[2]) _.ops.pop();
30
- _.trys.pop(); continue;
31
- }
32
- op = body.call(thisArg, _);
33
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
- }
36
- };
37
- import axios from 'axios';
38
- import axiosInstance from '../AxiosAPI';
39
- import widgetInstance from '../AxiosWidget';
40
- export function getUploadUrls(files, domain) {
41
- var _a;
42
- return __awaiter(this, void 0, void 0, function () {
43
- var filesArray, response;
44
- return __generator(this, function (_b) {
45
- switch (_b.label) {
46
- case 0:
47
- filesArray = files.map(function (file) { return ({
48
- publicFile: false,
49
- extension: file.name.split('.').pop(),
50
- }); });
51
- if (!domain) return [3 /*break*/, 2];
52
- return [4 /*yield*/, widgetInstance.post("/uploadfile?idOrganization=".concat(domain), filesArray)];
53
- case 1:
54
- response = _b.sent();
55
- return [3 /*break*/, 4];
56
- case 2: return [4 /*yield*/, axiosInstance.post('/uploadfile', filesArray)];
57
- case 3:
58
- response = _b.sent();
59
- _b.label = 4;
60
- case 4: return [2 /*return*/, (_a = response.data) !== null && _a !== void 0 ? _a : undefined];
61
- }
62
- });
63
- });
64
- }
65
- export function postFile(file, postInfo) {
66
- return __awaiter(this, void 0, void 0, function () {
67
- var formData;
68
- return __generator(this, function (_a) {
69
- switch (_a.label) {
70
- case 0:
71
- formData = new FormData();
72
- Object.keys(postInfo.postInfo.fields).forEach(function (key) {
73
- formData.append(key, postInfo.postInfo.fields[key]);
74
- });
75
- // Actual file has to be appended last.
76
- formData.append('file', file);
77
- return [4 /*yield*/, axios.post(postInfo.postInfo.url, formData, {
78
- timeout: 300000,
79
- headers: {
80
- 'Content-Type': 'multipart/form-data',
81
- },
82
- })];
83
- case 1:
84
- _a.sent();
85
- return [2 /*return*/, {
86
- fileName: file.name,
87
- S3Key: postInfo.S3Key,
88
- }];
89
- }
90
- });
91
- });
92
- }
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/dist/index.js DELETED
@@ -1,29 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import * as ReactDOM from 'react-dom';
14
- import App from './App';
15
- import styles from './index.module.css';
16
- var urlParams = new URLSearchParams(window.location.search);
17
- var values = urlParams.get('data-values');
18
- var dataValues = undefined;
19
- if (values) {
20
- try {
21
- dataValues = JSON.parse(decodeURIComponent(values));
22
- // eslint-disable-next-line no-console
23
- console.log('DATA:', dataValues);
24
- }
25
- catch (error) {
26
- console.error('Invalid data-values JSON', error);
27
- }
28
- }
29
- ReactDOM.render(_jsx("div", __assign({ className: styles.eurekaForm }, { children: _jsx(App, { isWidget: false, apiKey: window.location.pathname.replace('/', ''), valuesData: dataValues }) })), document.getElementById('eureka-root'));
@@ -1,7 +0,0 @@
1
- import EurekaForm, { AppProps as EurekaFormProps } from './App';
2
- import { StepProps } from './FormComponents/Step/Step';
3
- import * as StepFunctions from './FormComponents/Step/StepFunctions';
4
- export type { StepProps, EurekaFormProps };
5
- export { EurekaForm, StepFunctions };
6
- export default EurekaForm;
7
- export { default as ReactFromModule } from 'react';
package/dist/index.lib.js DELETED
@@ -1,5 +0,0 @@
1
- import EurekaForm from './App';
2
- import * as StepFunctions from './FormComponents/Step/StepFunctions';
3
- export { EurekaForm, StepFunctions };
4
- export default EurekaForm;
5
- export { default as ReactFromModule } from 'react';
@@ -1,14 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');
2
-
3
- body {
4
- font-family: 'Nunito';
5
- }
6
-
7
- .eurekaForm {
8
- min-height: 100vh;
9
- width: 100%;
10
- scroll-behavior: smooth;
11
- overflow: hidden;
12
- overflow-x: hidden;
13
- overflow-y: auto;
14
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export interface InputIconProps {
3
- icon: string;
4
- fill?: string;
5
- }
6
- declare function InputIcon({ icon, fill, ...others }: InputIconProps): JSX.Element;
7
- export default InputIcon;
@@ -1,81 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import LeakIcon from '../../Icons/Construction/LeakIcon';
25
- import ProjectIcon from '../../Icons/Construction/ProjectIcon';
26
- import PropertyIcon from '../../Icons/Construction/PropertyIcon';
27
- import SpaceIcon from '../../Icons/Construction/SpaceIcon';
28
- import DocumentIcon from '../../Icons/DocumentIcon';
29
- import GenericEntityIcon from '../../Icons/Entities/GenericEntityIcon';
30
- import HandShakeIcon from '../../Icons/Entities/HandshakeIcon';
31
- import IconTypes from '../../constants/IconTypes';
32
- function InputIcon(_a) {
33
- var icon = _a.icon, _b = _a.fill, fill = _b === void 0 ? '#757575' : _b, others = __rest(_a, ["icon", "fill"]);
34
- switch (icon) {
35
- case IconTypes.PROJECT:
36
- return (_jsx(ProjectIcon, __assign({ style: {
37
- display: 'flex',
38
- height: 24,
39
- width: 24,
40
- }, fill: fill }, others)));
41
- case IconTypes.PROPERTY:
42
- return (_jsx(PropertyIcon, __assign({ style: {
43
- display: 'flex',
44
- height: 23,
45
- width: 23,
46
- }, fill: fill }, others)));
47
- case IconTypes.SPACE:
48
- return (_jsx(SpaceIcon, __assign({ style: {
49
- display: 'flex',
50
- height: 23,
51
- width: 23,
52
- }, fill: fill }, others)));
53
- case IconTypes.LEAK:
54
- return (_jsx(LeakIcon, __assign({ style: {
55
- display: 'flex',
56
- height: 23,
57
- width: 23,
58
- marginTop: 2,
59
- }, fill: fill }, others)));
60
- case IconTypes.DOCUMENT:
61
- return (_jsx(DocumentIcon, __assign({ style: {
62
- display: 'flex',
63
- height: 23,
64
- width: 23,
65
- }, fill: fill }, others)));
66
- case IconTypes.HANDSHAKE:
67
- return (_jsx(HandShakeIcon, __assign({ style: {
68
- display: 'flex',
69
- height: 23,
70
- width: 23,
71
- }, fill: fill }, others)));
72
- case IconTypes.GENERIC:
73
- default:
74
- return (_jsx(GenericEntityIcon, __assign({ style: {
75
- display: 'flex',
76
- height: 23,
77
- width: 23,
78
- }, fill: fill }, others)));
79
- }
80
- }
81
- export default InputIcon;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- interface LoaderProps {
3
- /** The color of the loader */
4
- color?: string;
5
- /** If the loader should show a curtain behind it */
6
- curtain?: boolean;
7
- /** The zIndex of the loader */
8
- zIndex?: number;
9
- /** The size of the loader */
10
- size?: number;
11
- /** The position of the loader */
12
- position?: any;
13
- }
14
- /**
15
- * Generic Loader Component with optional curtain.
16
- */
17
- declare function Loader({ color, curtain, zIndex, size, position, }: LoaderProps): JSX.Element;
18
- export default Loader;