datastake-daf 0.6.243 → 0.6.244

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.
@@ -1,3 +1,3 @@
1
- import { getApiBaseUrl, getAppHeader, storyData } from "./storyConfig1";
1
+ import { getApiBaseUrl, getAppHeader, storyData } from "./storyConfig2";
2
2
 
3
3
  export { getApiBaseUrl, getAppHeader, storyData };
@@ -18,65 +18,12 @@ export const storyData = {
18
18
  "options": {
19
19
  "id": "identification",
20
20
  "position": 1,
21
- "documents": {
22
- "_id": "68b80b53fb611cf05f6d0483",
23
- "id": "a4432e33-89e2-433c-9fba-d86d3b955af3",
24
- "dataId": "documents",
21
+ "smartHelp": {
22
+ "_id": "68c98328d5b4b914e77d95e1",
23
+ "id": "7063577f-80a4-4466-ad1a-243e7e90eeb4",
24
+ "dataId": "smartHelp",
25
25
  "section": "identification",
26
- "type": "upload",
27
- "meta": {
28
- "comment": false,
29
- "notApplicable": false,
30
- "notAvailable": false,
31
- "group": "documentation",
32
- "versioning": true,
33
- "mandatory": true
34
- },
35
- "showIf": "type is documents",
36
- "position": 6,
37
- "dataLink": {
38
- "entity": "Documents",
39
- "createUserVersion": false,
40
- "createNew": true,
41
- "collection": "documents",
42
- "formNamespace": "DOCUMENTS",
43
- "keys": [
44
- "title"
45
- ],
46
- "pickKeys": []
47
- },
48
- "rules": [
49
- {
50
- "message": "errors::field is required",
51
- "required": true
52
- },
53
- {
54
- "accept": ".doc,.docx,.pdf,.xls,.xlsx",
55
- "type": "any"
56
- },
57
- {
58
- "max": 5,
59
- "type": "any"
60
- }
61
- ],
62
- "scope": [
63
- "global",
64
- "modal",
65
- "registrationFormDocuments",
66
- "evaluationDocumentation",
67
- "documents",
68
- "createDocument",
69
- "evidenceAmoundGoldProduced",
70
- "investmentNote",
71
- "financialAnalysis",
72
- "linkedDocumentation",
73
- "activityDocumentation"
74
- ],
75
- "label": "Cargar Archivo",
76
- "tableLabel": "Contenido",
77
- "createdAt": "2025-09-03T09:33:24.308Z",
78
- "updatedAt": "2025-09-03T09:33:24.308Z",
79
- "__v": 0
26
+ "type": "smartHelp",
80
27
  },
81
28
  },
82
29
  "subTitle": "Identificación"
@@ -0,0 +1,14 @@
1
+ const config = {
2
+ viewBox: "0 0 16 16",
3
+ children: (
4
+ <path
5
+ d="M9.49968 1.33331H5.66264C5.54298 1.33331 5.48316 1.33331 5.43034 1.35153C5.38363 1.36764 5.34109 1.39393 5.30579 1.42851C5.26587 1.4676 5.23912 1.52111 5.18561 1.62813L2.38561 7.22813C2.25782 7.4837 2.19393 7.61149 2.20927 7.71537C2.22268 7.80607 2.27285 7.88725 2.34798 7.9398C2.43403 7.99998 2.5769 7.99998 2.86264 7.99998H6.99968L4.99968 14.6666L13.1284 6.23685C13.4027 5.95245 13.5398 5.81025 13.5478 5.68857C13.5548 5.58295 13.5112 5.4803 13.4303 5.412C13.3371 5.33331 13.1396 5.33331 12.7445 5.33331H7.99968L9.49968 1.33331Z"
6
+ stroke="currentColor"
7
+ strokeWidth="1.2"
8
+ strokeLinecap="round"
9
+ strokeLinejoin="round"
10
+ />
11
+ ),
12
+ };
13
+
14
+ export default config;
@@ -207,7 +207,7 @@ import LinkChain from "./LinkChain";
207
207
  import Robot from "./Robot";
208
208
  import Hedera01 from "./Hedera01";
209
209
  import Records from "./Records";
210
-
210
+ import Lightning from "./Lightning";
211
211
  const config = {
212
212
  Right,
213
213
  ApplicationForm,
@@ -417,7 +417,8 @@ const config = {
417
417
  LinkChain,
418
418
  Robot,
419
419
  Hedera01,
420
- Records
420
+ Records,
421
+ Lightning,
421
422
  };
422
423
 
423
424
  export default config;
@@ -5,7 +5,7 @@ import { Button, Tag, Tooltip, Image, Popover } from 'antd';
5
5
  import { UpOutlined, DownOutlined, PaperClipOutlined, LinkOutlined } from '@ant-design/icons'
6
6
  import moment from 'moment';
7
7
  import _ from 'lodash';
8
-
8
+ import Smart from '../../EditForm/components/Smart/index.js';
9
9
  import { types, repeatObjects, verifyConditional, renderPlaceholder, showHideInput, getSelectOptions, getImageUploadViewValue, numberWithCommas, noLabelInputTypes, renderDate } from '../helper';
10
10
  import Geolocation from './geolocation';
11
11
  import DataLink from './DataLink';
@@ -658,6 +658,8 @@ export const BasicInput = ({
658
658
  console.log(e);
659
659
  return '';
660
660
  }
661
+ case 'smartHelp':
662
+ return <Smart />;
661
663
  default:
662
664
  return input.type;
663
665
  }