@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
@@ -1,76 +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 RoundedTextField from '../../../../shared/RoundedTextField/RoundedTextField';
25
- import styles from './MaterialTextInputStep.module.css';
26
- import { Controller } from 'react-hook-form';
27
- import { calcStepWidth } from '../../StepFunctions';
28
- import { useState } from 'react';
29
- function TextInputStep(_a) {
30
- var icon = _a.icon, step = _a.step, form = _a.form, errors = _a.errors, control = _a.control, editable = _a.editable, postview = _a.postview, formStyle = _a.formStyle, widthStats = _a.widthStats, _b = _a.defaultValue, defaultValue = _b === void 0 ? '' : _b, dependencyStore = _a.dependencyStore, setDependencyStore = _a.setDependencyStore;
31
- var _c = useState(null), timer = _c[0], setTimer = _c[1];
32
- return (_jsx("div", __assign({ className: styles.container, style: {
33
- width: widthStats.currentBreakPoint <= step.size
34
- ? '100%'
35
- : calcStepWidth(step.size, form.size),
36
- minHeight: (!postview &&
37
- editable &&
38
- (step.required || step.validation)) ||
39
- step.description
40
- ? '55px'
41
- : '43px',
42
- } }, { children: _jsx(Controller, { name: step.id, control: control, defaultValue: defaultValue, rules: {
43
- required: step.required
44
- ? 'Este campo es obligatorio'
45
- : undefined,
46
- pattern: step.validation
47
- ? {
48
- value: new RegExp(step.validation.value),
49
- message: step.validation.message,
50
- }
51
- : undefined,
52
- }, shouldUnregister: true, render: function (_a) {
53
- var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
54
- return (_jsx(RoundedTextField, __assign({}, field, { onChange: function (e) {
55
- var value = e.target.value;
56
- if (dependencyStore[step.id] !== undefined) {
57
- try {
58
- clearTimeout(timer);
59
- // eslint-disable-next-line no-empty
60
- }
61
- catch (e) { }
62
- setTimer(setTimeout(function () {
63
- setDependencyStore(function (deps) {
64
- var _a;
65
- return (__assign(__assign({}, deps), (_a = {}, _a[step.id] = value, _a)));
66
- });
67
- setTimer(null);
68
- }, 1000));
69
- }
70
- field.onChange(value);
71
- }, "data-testid": step.id, label: step.label, inputRef: ref, cantEdit: !editable || postview, required: step.required, fontWeight: 400, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.stepBackgroundColor, helperText: errors[step.id]
72
- ? errors[step.id].message
73
- : step.description, helperTextColor: formStyle.descriptionTextColor, error: !!errors[step.id], icon: step.showIcon ? icon : undefined })));
74
- } }) })));
75
- }
76
- export default TextInputStep;
@@ -1,9 +0,0 @@
1
- .container {
2
- width: fit-content;
3
- max-width: calc(100% - 20px);
4
- display: flex;
5
- padding: 10px;
6
- padding-bottom: 0px;
7
- padding-top: 5px;
8
- margin-bottom: 0px;
9
- }
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { TextInput } from '../../../@Types/FormStep';
3
- import { StepProps } from '../Step';
4
- export interface TextInputStepProps extends StepProps {
5
- /** The TextInputStep to display */
6
- step: TextInput;
7
- /** The icon to display */
8
- icon?: React.ReactNode;
9
- /** Default value to display */
10
- defaultValue?: string;
11
- }
12
- declare function TextInputStep(props: TextInputStepProps): JSX.Element;
13
- export default TextInputStep;
@@ -1,23 +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 { FormStyleTypes } from '../../../constants/FormStepTypes';
14
- import MaterialTextInputStep from './MaterialTextInputStep/MaterialTextInputStep';
15
- function TextInputStep(props) {
16
- switch (props.formStyle.type) {
17
- case FormStyleTypes.MATERIAL:
18
- default: {
19
- return _jsx(MaterialTextInputStep, __assign({}, props));
20
- }
21
- }
22
- }
23
- export default TextInputStep;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { TitleStepProps } from '../TitleStep';
3
- declare function TitleStep({ step, formStyle, widthStats, }: TitleStepProps): JSX.Element;
4
- export default TitleStep;
@@ -1,20 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- import styles from './MaterialTitleStep.module.css';
14
- function TitleStep(_a) {
15
- var step = _a.step, formStyle = _a.formStyle, widthStats = _a.widthStats;
16
- return (_jsxs("div", __assign({ className: styles.container, style: { color: formStyle.textColor } }, { children: [_jsx("div", __assign({ className: styles.titleLbl, style: { textAlign: widthStats.isMobile ? 'center' : 'start' } }, { children: step.title })), step.description && (_jsx("p", __assign({ className: styles.descriptionPar, style: {
17
- margin: step.title ? '10px 0px' : '0px 0px 5px 0px',
18
- } }, { children: step.description })))] })));
19
- }
20
- export default TitleStep;
@@ -1,19 +0,0 @@
1
- .container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 900px;
5
- max-width: 100%;
6
- padding: 5px 10px;
7
- }
8
-
9
- .titleLbl {
10
- font-size: 24px;
11
- font-weight: 600;
12
- cursor: default;
13
- }
14
-
15
- .descriptionPar {
16
- font-size: 16px;
17
- white-space: pre-wrap;
18
- cursor: default;
19
- }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Title } from '../../../@Types/FormStep';
3
- import { StepProps } from '../Step';
4
- export interface TitleStepProps extends StepProps {
5
- /** The TitleStep to display */
6
- step: Title;
7
- }
8
- declare function TitleStep({ step, formStyle, ...others }: TitleStepProps): JSX.Element;
9
- export default TitleStep;
@@ -1,35 +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 { FormStyleTypes } from '../../../constants/FormStepTypes';
25
- import MaterialTitleStep from './MaterialTitleStep/MaterialTitleStep';
26
- function TitleStep(_a) {
27
- var step = _a.step, formStyle = _a.formStyle, others = __rest(_a, ["step", "formStyle"]);
28
- switch (formStyle.type) {
29
- case FormStyleTypes.MATERIAL:
30
- default: {
31
- return (_jsx(MaterialTitleStep, __assign({ step: step, formStyle: formStyle }, others)));
32
- }
33
- }
34
- }
35
- export default TitleStep;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { TermComponentProps } from '../Term';
3
- declare function TermComponent({ term, errors, control, postview, setValue, formStyle, tempError, }: TermComponentProps): JSX.Element;
4
- export default TermComponent;
@@ -1,88 +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, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { Dialog } from '@material-ui/core';
25
- import React from 'react';
26
- import { useState } from 'react';
27
- import { Controller } from 'react-hook-form';
28
- import RoundedButton from '../../../shared/RoundedButton/RoundedButton';
29
- import RoundedCheckBox from '../../../shared/RoundedCheckBox/RoundedCheckBox';
30
- import CloseRoundedIcon from '@material-ui/icons/CloseRounded';
31
- import styles from './MaterialTerm.module.css';
32
- function TermComponent(_a) {
33
- var _b;
34
- var term = _a.term, errors = _a.errors, control = _a.control, postview = _a.postview, setValue = _a.setValue, formStyle = _a.formStyle, tempError = _a.tempError;
35
- var _c = useState(false), showDialog = _c[0], setShowDialog = _c[1];
36
- /**
37
- * Function that renders the highlighted text
38
- * @returns a string with span highlighted
39
- */
40
- var renderText = function (text) {
41
- if (text) {
42
- var parts = text.split(/{{(.*?)}}/gi);
43
- for (var i = 1; i < parts.length; i += 2) {
44
- parts[i] = (_jsx("span", __assign({ className: styles.highlight, style: {
45
- color: !!errors[term.id] && tempError
46
- ? formStyle.errorColor
47
- : formStyle.primaryColor,
48
- }, onClick: function () {
49
- var _a, _b, _c, _d, _e;
50
- if (((_a = term.clickEffect) === null || _a === void 0 ? void 0 : _a.type) === 'LINK') {
51
- (_d = (_c = (_b = window
52
- .open) === null || _b === void 0 ? void 0 : _b.call(window, term.clickEffect.url, '_blank')) === null || _c === void 0 ? void 0 : _c.focus) === null || _d === void 0 ? void 0 : _d.call(_c);
53
- }
54
- else if (((_e = term.clickEffect) === null || _e === void 0 ? void 0 : _e.type) === 'DIALOG') {
55
- setShowDialog(true);
56
- }
57
- } }, { children: parts[i] }), i));
58
- }
59
- return parts;
60
- }
61
- };
62
- return (_jsxs(React.Fragment, { children: [_jsx(Dialog, __assign({ PaperProps: {
63
- style: {
64
- borderRadius: '20px',
65
- },
66
- }, onClose: function () {
67
- setShowDialog(false);
68
- }, open: showDialog }, { children: ((_b = term.clickEffect) === null || _b === void 0 ? void 0 : _b.type) === 'DIALOG' && (_jsxs("div", __assign({ className: styles.dialogContainer, style: { color: formStyle.textColor } }, { children: [_jsx("div", __assign({ className: styles.closeIcon, onClick: function () {
69
- setShowDialog(false);
70
- } }, { children: _jsx(CloseRoundedIcon, { fontSize: "inherit" }) })), _jsx("div", __assign({ className: styles.dialogTitle, style: {
71
- borderBottom: '1px solid ' + formStyle.primaryColor,
72
- } }, { children: term.clickEffect.title })), _jsx("div", __assign({ className: styles.dialogContentContainer }, { children: term.clickEffect.text })), _jsx(RoundedButton, { text: 'Aceptar', padding: "20px 15px", backgroundColor: formStyle.primaryColor, color: formStyle.primaryContrastColor, fontSize: 20, onClick: function () {
73
- setShowDialog(false);
74
- if (!postview) {
75
- setValue(term.id, true);
76
- }
77
- } })] }))) })), _jsxs("div", __assign({ className: styles.container + ' noselect' }, { children: [_jsx("div", __assign({ className: styles.checkboxContainer }, { children: _jsx(Controller, { name: term.id, control: control, rules: {
78
- required: true,
79
- }, defaultValue: false, shouldUnregister: true, render: function (_a) {
80
- var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
81
- return (_jsx(RoundedCheckBox, __assign({ inputRef: ref }, field, { checked: field.value, cantEdit: postview, padding: "5px", checkedColor: formStyle.primaryColor, errorColor: formStyle.errorColor, size: "1.5rem", error: !!errors[term.id] })));
82
- } }) })), _jsx("div", __assign({ className: styles.messageContainer, style: {
83
- color: !!errors[term.id] && tempError
84
- ? formStyle.errorColor
85
- : 'inherit',
86
- } }, { children: renderText(term.message) }))] }))] }));
87
- }
88
- export default TermComponent;
@@ -1,83 +0,0 @@
1
- .container {
2
- display: flex;
3
- flex-direction: row;
4
- align-items: center;
5
- padding-left: 0px;
6
- padding-right: 0px;
7
- width: 100%;
8
- }
9
- .checkboxContainer {
10
- margin-bottom: auto;
11
- margin-left: 12px;
12
- }
13
- .messageContainer {
14
- font-size: 1rem;
15
- padding-right: 25px;
16
- }
17
-
18
- .highlight {
19
- font-weight: bold;
20
- cursor: pointer;
21
- }
22
- .dialogContainer {
23
- overflow-y: hidden;
24
- max-height: 60vh;
25
- min-width: 400px;
26
- padding-bottom: 20px;
27
- display: flex;
28
- flex-direction: column;
29
- align-items: center;
30
- position: relative;
31
- }
32
-
33
- .dialogContainer,
34
- .dialogContainer *,
35
- .dialogContainer *::after,
36
- .dialogContainer *::before {
37
- -webkit-box-sizing: content-box;
38
- -moz-box-sizing: content-box;
39
- box-sizing: content-box;
40
- }
41
-
42
- .closeIcon {
43
- right: 15px;
44
- top: 10px;
45
- font-size: 26px;
46
- position: absolute;
47
- cursor: pointer;
48
- }
49
- .dialogTitle {
50
- font-size: 22px;
51
- font-weight: 600;
52
- margin-top: 10px;
53
- padding-bottom: 5px;
54
- width: calc(100% - 40px);
55
- margin-bottom: 5px;
56
- text-align: center;
57
- }
58
- .dialogContentContainer {
59
- overflow-y: auto;
60
- width: calc(100% - 35px);
61
- padding-left: 20px;
62
- padding-right: 10px;
63
- max-height: calc(60vh - 50px);
64
- margin-bottom: 15px;
65
- }
66
- .dialogContentContainer {
67
- scrollbar-width: thin;
68
- scrollbar-color: #787878 transparent;
69
- margin-right: 1px;
70
- }
71
- .dialogContentContainer::-webkit-scrollbar {
72
- width: 4px;
73
- }
74
- .dialogContentContainer::-webkit-scrollbar-track {
75
- background: transparent;
76
- }
77
- .dialogContentContainer::-webkit-scrollbar-thumb {
78
- background: #787878;
79
- border-radius: 2px;
80
- }
81
- .dialogContentContainer::-webkit-scrollbar-thumb:hover {
82
- background: #4f4f4f;
83
- }
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { Control, FieldValues } from 'react-hook-form';
3
- import { Form, FormStyle, Term } from '../../@Types/Form';
4
- export interface TermComponentProps {
5
- term: Term;
6
- form: Form;
7
- control: Control<FieldValues, object>;
8
- errors: Record<string, any>;
9
- formStyle: FormStyle;
10
- postview: boolean;
11
- tempError: boolean;
12
- setValue: Function;
13
- }
14
- declare function TermComponent(props: TermComponentProps): JSX.Element;
15
- export default TermComponent;
@@ -1,23 +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 { FormStyleTypes } from '../../constants/FormStepTypes';
14
- import MaterialTerm from './MaterialTerm/MaterialTerm';
15
- function TermComponent(props) {
16
- switch (props.formStyle.type) {
17
- case FormStyleTypes.MATERIAL:
18
- default: {
19
- return _jsx(MaterialTerm, __assign({}, props));
20
- }
21
- }
22
- }
23
- export default TermComponent;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function LeakIcon(props: any): JSX.Element;
3
- export default LeakIcon;
@@ -1,16 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- function LeakIcon(props) {
14
- return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "512pt", viewBox: "0 -86 512.00056 512", width: "512pt", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "m203.484375 196.359375c2.402344 0 4.753906-.867187 6.601563-2.492187l26.621093-23.394532c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-9.21875-27.257812 21.613281-18.996094c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-11.359375-33.570312c-1.070313-3.167969-3.652344-5.589844-6.882813-6.457031l-57.925781-15.519531c-5.335937-1.433594-10.816406 1.734374-12.246093 7.070312-1.429688 5.335938 1.734374 10.820312 7.070312 12.25l52.753906 14.132812 7.507813 22.1875-21.613281 18.996094c-3.03125 2.664063-4.164063 6.890625-2.871094 10.714844l9.21875 27.257812-17.59375 15.460938-130.027344-34.839844 30.992188-115.667968c.6875-2.5625.328124-5.292969-.996094-7.589844-1.328125-2.296875-3.511719-3.972656-6.074219-4.660156l-45.574219-12.210938c-5.332031-1.429688-10.816406 1.734375-12.246094 7.070312l-36.636718 136.722657c-.6875 2.5625-.324219 5.292969 1 7.589843 1.324218 2.292969 3.511718 3.972657 6.070312 4.65625l45.574219 12.210938c.867187.234375 1.738281.34375 2.597656.34375 4.414063 0 8.453125-2.945312 9.652344-7.414062l.464844-1.734376 135.199219 36.226563c.851562.230469 1.722656.34375 2.585937.34375zm-181.238281-56.703125 31.460937-117.40625 26.253907 7.035156-31.457032 117.40625zm0 0" }), _jsx("path", { d: "m511.660156 144.136719-36.636718-136.722657c-1.429688-5.332031-6.910157-8.5-12.246094-7.070312l-45.574219 12.210938c-2.5625.6875-4.746094 2.363281-6.070313 4.660156-1.328124 2.296875-1.6875 5.023437-1 7.585937l.464844 1.734375-135.199218 36.226563c-3.28125.878906-5.894532 3.367187-6.933594 6.605469-1.039063 3.238281-.363282 6.777343 1.796875 9.40625l19.121093 23.265624-5.867187 25.070313c-.796875 3.40625.242187 6.980469 2.738281 9.425781l19.386719 18.988282-6.847656 28.496093c-.824219 3.429688.21875 7.039063 2.742187 9.5 1.894532 1.84375 4.40625 2.839844 6.980469 2.839844.863281 0 1.730469-.113281 2.585937-.34375l57.925782-15.519531c5.335937-1.429688 8.5-6.914063 7.070312-12.25-1.429687-5.332032-6.914062-8.5-12.246094-7.070313l-41.683593 11.171875 4.246093-17.664062c.820313-3.421875-.214843-7.023438-2.726562-9.484375l-19.417969-19.015625 5.714844-24.398438c.710937-3.035156-.035156-6.222656-2.011719-8.628906l-12.40625-15.09375 120.207032-32.207031 30.992187 115.667969c1.199219 4.46875 5.238281 7.414062 9.65625 7.414062.855469 0 1.726563-.109375 2.59375-.339844l45.574219-12.210937c2.5625-.6875 4.746094-2.363281 6.070312-4.660157 1.328125-2.296874 1.6875-5.027343 1-7.589843zm-48.160156 2.554687-30.996094-115.667968s0 0 0-.003907v-.003906l-.464844-1.730469 26.257813-7.035156 31.457031 117.40625zm0 0" }), _jsx("path", { d: "m263.386719 203.265625c-1.894531-2.078125-4.574219-3.261719-7.386719-3.261719-2.808594 0-5.492188 1.183594-7.386719 3.261719-.78125.855469-1.640625 1.789063-2.570312 2.792969-14.488281 15.730468-44.640625 48.457031-44.640625 79.34375 0 30.105468 24.492187 54.601562 54.597656 54.601562s54.597656-24.496094 54.597656-54.601562c0-30.886719-30.148437-63.613282-44.640625-79.339844-.925781-1.007812-1.789062-1.941406-2.570312-2.796875zm-7.386719 116.738281c-19.078125 0-34.597656-15.523437-34.597656-34.601562 0-20.492188 20.960937-45.539063 34.597656-60.601563 13.636719 15.0625 34.597656 40.109375 34.597656 60.601563 0 19.078125-15.519531 34.601562-34.597656 34.601562zm0 0" }), _jsx("path", { d: "m129.878906 54.871094c.917969.261718 1.839844.386718 2.75.386718 4.351563 0 8.355469-2.863281 9.609375-7.253906 1.519531-5.3125-1.554687-10.847656-6.867187-12.363281h-.007813c-5.308593-1.519531-10.839843 1.554687-12.359375 6.867187-1.515625 5.308594 1.5625 10.847657 6.875 12.363282zm0 0" }), _jsx("path", { d: "m407.335938 149.527344-.007813.003906c-5.335937 1.421875-8.507813 6.898438-7.082031 12.238281 1.191406 4.472657 5.238281 7.421875 9.65625 7.421875.855468 0 1.722656-.109375 2.585937-.339844 5.335938-1.421874 8.507813-6.902343 7.085938-12.238281-1.425781-5.335937-6.90625-8.511719-12.238281-7.085937zm0 0" })] })));
15
- }
16
- export default LeakIcon;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function ProjectIcon(props: any): JSX.Element;
3
- export default ProjectIcon;
@@ -1,16 +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
- function ProjectIcon(props) {
14
- return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) })));
15
- }
16
- export default ProjectIcon;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function PropertyIcon(props: any): JSX.Element;
3
- export default PropertyIcon;
@@ -1,16 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- function PropertyIcon(props) {
14
- return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "512", viewBox: "0 0 512 512", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("g", __assign({ id: "_01-home", "data-name": "01-home" }, { children: _jsxs("g", __assign({ id: "glyph" }, { children: [_jsx("path", { d: "m256 4c-108.075 0-196 87.925-196 196 0 52.5 31.807 119.92 94.537 200.378a1065.816 1065.816 0 0 0 93.169 104.294 12 12 0 0 0 16.588 0 1065.816 1065.816 0 0 0 93.169-104.294c62.73-80.458 94.537-147.878 94.537-200.378 0-108.075-87.925-196-196-196zm0 336c-77.2 0-140-62.8-140-140s62.8-140 140-140 140 62.8 140 140-62.8 140-140 140z" }), _jsx("path", { d: "m352.072 183.121-88-80a12 12 0 0 0 -16.144 0l-88 80a12.006 12.006 0 0 0 -2.23 15.039 12.331 12.331 0 0 0 10.66 5.84h11.642v76a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-44a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v44a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-76h11.642a12.331 12.331 0 0 0 10.66-5.84 12.006 12.006 0 0 0 -2.23-15.039z" })] })) })) })));
15
- }
16
- export default PropertyIcon;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function SpaceIcon(props: any): JSX.Element;
3
- export default SpaceIcon;
@@ -1,16 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- function SpaceIcon(props) {
14
- return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [_jsx("title", { children: "SpaceType" }), _jsxs("g", __assign({ id: "space_type", "data-name": "space type" }, { children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] }))] })));
15
- }
16
- export default SpaceIcon;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function DocumentIcon(props: any): JSX.Element;
3
- export default DocumentIcon;
@@ -1,16 +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
- function DocumentIcon(props) {
14
- return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) })));
15
- }
16
- export default DocumentIcon;
@@ -1,2 +0,0 @@
1
- declare const GenericEntityIcon: (props: any) => any;
2
- export default GenericEntityIcon;
@@ -1,17 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- var GenericEntityIcon = function (props) {
14
- var _a;
15
- return (_jsxs("svg", __assign({ version: "1.1", width: "500pt", height: "500pt", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', className: props.className, style: props.style }, { children: [_jsx("path", { d: "M10 5H4c-.55 0-1 .45-1 1s.45 1 1 1h2v3c0 .55.45 1 1 1s1-.45 1-1V7h2c.55 0 1-.45 1-1s-.45-1-1-1zM10 2H4c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zM20.89 13.11a.9959.9959 0 00-1.41 0l-6.36 6.36c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41z" }), _jsx("circle", { cx: "14.5", cy: "14.5", r: "1.5" }), _jsx("circle", { cx: "19.5", cy: "19.5", r: "1.5" }), _jsx("path", { d: "M15.5 11c1.38 0 2.5-1.12 2.5-2.5V4h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1v3.51c-.42-.32-.93-.51-1.5-.51C14.12 6 13 7.12 13 8.5s1.12 2.5 2.5 2.5zM10.45 18.09c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0l-.71.71-.71-.71.35-.35c.98-.98.98-2.56 0-3.54-.49-.49-1.13-.73-1.77-.73-.64 0-1.28.24-1.77.73-.98.98-.98 2.56 0 3.54l.35.35-1.06 1.06c-.98.98-.98 2.56 0 3.54.5.48 1.14.72 1.78.72.64 0 1.28-.24 1.77-.73l1.06-1.06.71.71c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41l-.71-.71.71-.71zm-4.6-3.89c.12-.12.26-.15.35-.15s.23.03.35.15c.19.2.19.51 0 .71l-.35.35-.35-.36c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35zm0 5.65c-.12.12-.26.15-.35.15s-.23-.03-.35-.15c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35l1.06-1.06.71.71-1.07 1.05z" })] })));
16
- };
17
- export default GenericEntityIcon;
@@ -1,2 +0,0 @@
1
- declare const HandShakeIcon: (props: any) => any;
2
- export default HandShakeIcon;
@@ -1,17 +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, jsxs as _jsxs } from "react/jsx-runtime";
13
- var HandShakeIcon = function (props) {
14
- var _a;
15
- return (_jsxs("svg", __assign({ version: "1.1", width: "511pt", height: "511pt", viewBox: "0 -3 511.99992 511", xmlns: "http://www.w3.org/2000/svg", fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', className: props.className, style: props.style }, { children: [_jsx("path", { d: "m509.914062 214.859375-85.695312-111.320313c-3.171875-4.117187-8.957031-5.132812-13.34375-2.34375l-55.328125 35.1875h-72.160156c-.933594 0-1.863281.199219-2.761719.460938l-55.949219 16.105469-58.054687-15.878907-56.410156-35.875c-4.3125-2.742187-9.992188-1.8125-13.199219 2.164063l-94.785157 117.40625c-3.40625 4.21875-2.84375 10.378906 1.265626 13.914063l49.679687 42.753906 44.570313 60.0625c-13.035157 13.886718-12.78125 35.789062.78125 49.355468 6.011718 6.007813 13.65625 9.402344 21.519531 10.191407-.273438 1.78125-.414063 3.589843-.414063 5.425781 0 9.476562 3.691406 18.386719 10.390625 25.085938 6.703125 6.703124 15.613281 10.394531 25.089844 10.394531.128906 0 .253906-.007813.378906-.011719-.003906.242188-.015625.480469-.015625.722656 0 9.476563 3.691406 18.386719 10.390625 25.089844 6.703125 6.699219 15.613281 10.390625 25.089844 10.390625 1.871094 0 3.722656-.152344 5.539063-.433594.769531 7.890625 4.171874 15.570313 10.203124 21.601563 6.914063 6.917968 16 10.375 25.085938 10.375s18.171875-3.457032 25.089844-10.375l5.425781-5.425782 2.277344 1.835938c6.859375 6.644531 15.765625 9.964844 24.671875 9.964844 9.085937 0 18.171875-3.457032 25.085937-10.375 7.058594-7.058594 10.515625-16.375 10.371094-25.644532 9.265625.140626 18.585937-3.3125 25.644531-10.367187 7.050782-7.054687 10.507813-16.363281 10.371094-25.628906 9.652344.152343 18.808594-3.554688 25.640625-10.386719 7.058594-7.058594 10.515625-16.375 10.371094-25.644531 9.273437.140625 18.585937-3.3125 25.644531-10.371094 12.046875-12.046875 13.597656-30.667969 4.664062-44.414063l32.542969-68.15625 48.925781-42.101562c4.042969-3.480469 4.660157-9.511719 1.40625-13.734375zm-402.914062-91.910156 40.5625 25.792969-88.238281 107.5-35.359375-30.433594zm5.722656 227.921875 12.242188-12.242188c.371094-.371094.761718-.722656 1.160156-1.050781 2.394531-1.953125 5.292969-3.117187 8.363281-3.394531.085938-.007813.175781-.007813.261719-.011719.4375-.035156.875-.058594 1.316406-.054687 4.195313.058593 8.09375 1.773437 10.984375 4.824218 5.671875 5.996094 5.367188 15.792969-.679687 21.839844l-11.871094 11.871094c-6.003906 6.003906-15.773438 6.003906-21.777344 0-6.003906-6.007813-6.003906-15.777344 0-21.78125zm31.496094 62.484375c-2.910156-2.90625-4.511719-6.773438-4.511719-10.886719s1.601563-7.980469 4.511719-10.890625l23.738281-23.738281c4.546875-4.546875 11.695313-5.792969 17.507813-3.023438 5.992187 2.855469 9.363281 9.359375 8.484375 15.902344-.46875 3.492188-2.09375 6.78125-4.585938 9.277344l-23.363281 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm35.84375 36.191406c-2.910156-2.90625-4.511719-6.773437-4.511719-10.886719 0-4.113281 1.601563-7.980468 4.511719-10.890625l23.734375-23.738281c4.863281-4.859375 12.664063-5.90625 18.617187-2.441406 5.4375 3.164062 8.285157 9.375 7.351563 15.5625-.511719 3.402344-2.128906 6.601562-4.5625 9.035156l-23.359375 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm40.828125 31.5625c-6.003906-6.003906-6.003906-15.773437 0-21.777344l12.242187-12.242187c.371094-.371094.757813-.71875 1.15625-1.046875.011719-.007813.019532-.015625.027344-.023438 1.992188-1.617187 4.332032-2.699219 6.828125-3.171875.058594-.007812.117188-.015625.175781-.023437.429688-.078125.867188-.140625 1.304688-.179688.175781-.015625.351562-.015625.53125-.027343.359375-.019532.714844-.042969 1.078125-.039063 4.191406.058594 8.09375 1.769531 10.984375 4.824219.355469.375.6875.765625.992188 1.167968 4.617187 6.035157 3.996093 15-1.734376 20.734376l-11.808593 11.808593c-6.003907 6.003907-15.773438 6-21.777344-.003906zm187.285156-112.042969c-6.003906 6.007813-15.773437 6.003906-21.777343 0-.21875-.21875-.449219-.421875-.683594-.613281l-64.554688-65.234375c-3.902344-3.941406-10.257812-3.972656-14.199218-.070312-3.941407 3.898437-3.972657 10.253906-.074219 14.195312l65.253906 65.933594c.007813.007812.015625.015625.023437.023437 6.003907 6.003907 6.003907 15.777344 0 21.78125-2.910156 2.910157-6.777343 4.511719-10.890624 4.511719-4.117188 0-7.984376-1.601562-10.890626-4.511719l-43.652343-44.105469c-3.898438-3.941406-10.253907-3.972656-14.195313-.074218-3.941406 3.902344-3.972656 10.257812-.074218 14.199218l42.984374 43.429688c.21875.273438.453126.535156.703126.785156 6.003906 6.003906 6.003906 15.777344 0 21.78125-6.007813 6.003906-15.78125 6-21.785157-.003906l-23.824219-24.074219c-3.902343-3.941406-10.257812-3.976562-14.199218-.074219-3.941406 3.898438-3.972656 10.253907-.074219 14.195313l23.160156 23.398437c.21875.273438.453125.539063.707031.789063 6.003907 6.003906 6.003907 15.777344 0 21.78125-6.003906 6.007813-15.773437 6.003906-21.777343 0-.691407-.691406-1.503907-1.222656-2.277344-1.816406-.65625-.5-.828125-.847657-.5-1.644531.332031-.808594.828125-1.539063 1.160156-2.351563.367188-.90625.664063-1.839844.953125-2.777344 1.539063-4.960937 1.992188-10.296875 1.300782-15.445312-1.328126-9.878907-6.761719-18.792969-14.996094-24.433594-4.449219-3.042969-9.597656-5.039063-14.933594-5.789063 2.585938-11.40625-.519531-23.773437-8.597656-32.308593-6.648438-7.023438-15.628906-10.964844-25.289063-11.097657-.351562-.003906-.703125-.003906-1.058593 0 .214843-9.21875-3.136719-18.378906-9.492188-25.09375-6.652344-7.023437-15.632812-10.964843-25.289062-11.097656-2.871094-.039062-5.769532.265625-8.566407.910156-1.195312-8.316406-5.386719-16.011718-11.734375-21.515624-6.308594-5.460938-14.242187-8.492188-22.691406-8.609376-8.894531-.128906-17.632812 3.152344-24.238281 9.117188l-38.808594-52.292969 92.84375-113.109375 29.589844 8.09375-38.644531 68.191406c-4.671876 8.246094-5.851563 17.816407-3.324219 26.949219 2.527343 9.136719 8.457031 16.738281 16.703125 21.410157.515625.292968 1.035156.570312 1.5625.835937.039062.019531.078125.039063.121094.058594 1.386718.691406 2.8125 1.285156 4.257812 1.785156 6.730469 2.332031 14 2.585937 21.011719.648437 9.132812-2.527343 16.734375-8.460937 21.40625-16.703124l25.113281-44.316407 44.839844 3.179688 119.402344 119.398437c6 6.007813 6 15.777344-.003907 21.78125zm4.160157-46.019531-112.011719-112.007813c-.210938-.214843-.433594-.417968-.664063-.609374-1.613281-1.34375-3.613281-2.15625-5.722656-2.304688l-54.902344-3.894531c-3.796875-.261719-7.570312 1.757812-9.445312 5.066406l-28.234375 49.828125c-2.027344 3.578125-5.328125 6.152344-9.292969 7.25-3.960938 1.097656-8.117188.582031-11.699219-1.445312-3.578125-2.027344-6.152343-5.328126-7.25-9.292969-1.097656-3.964844-.585937-8.121094 1.445313-11.699219l37.691406-66.519531 15.273438-4.394531c.101562-.03125.199218-.070313.300781-.101563l57.003906-16.460937h68.875l85.984375 109.304687zm40.503906-73.039063-79.515625-101.136718 40.582031-25.808594 74.300781 96.511719zm0 0" }), _jsx("path", { d: "m310.183594 117.53125c2.570312 0 5.140625-.980469 7.101562-2.941406l68.578125-68.578125c3.921875-3.921875 3.921875-10.277344 0-14.199219s-10.277343-3.921875-14.199219 0l-68.578124 68.578125c-3.921876 3.921875-3.921876 10.277344 0 14.199219 1.960937 1.960937 4.53125 2.941406 7.097656 2.941406zm0 0" }), _jsx("path", { d: "m194.714844 114.589844c1.960937 1.960937 4.53125 2.941406 7.101562 2.941406 2.566406 0 5.136719-.980469 7.097656-2.941406 3.921876-3.921875 3.921876-10.277344 0-14.199219l-68.578124-68.578125c-3.921876-3.921875-10.277344-3.921875-14.199219 0s-3.921875 10.277344 0 14.199219zm0 0" }), _jsx("path", { d: "m256 117.53125c5.542969 0 10.039062-4.496094 10.039062-10.039062v-56.753907c0-5.542969-4.496093-10.039062-10.039062-10.039062s-10.039062 4.496093-10.039062 10.039062v56.753907c0 5.542968 4.496093 10.039062 10.039062 10.039062zm0 0" }), _jsx("path", { d: "m246.734375 14.351562c1.59375 3.863282 5.566406 6.398438 9.757813 6.179688 4.140624-.214844 7.777343-3.011719 9.058593-6.953125 1.285157-3.972656-.113281-8.5-3.441406-11.03125-3.394531-2.5859375-8.128906-2.730469-11.679687-.382813-3.960938 2.617188-5.496094 7.828126-3.695313 12.1875zm0 0" })] })));
16
- };
17
- export default HandShakeIcon;
package/dist/Widget.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};