datastake-daf 0.6.797 → 0.6.799

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 (85) hide show
  1. package/dist/components/index.js +3164 -972
  2. package/dist/context/index.js +6 -6
  3. package/dist/pages/index.js +10674 -1442
  4. package/dist/services/index.js +112 -9
  5. package/dist/utils/index.js +71 -19
  6. package/package.json +1 -1
  7. package/src/@daf/core/components/EditForm/sections.jsx +18 -8
  8. package/src/@daf/core/components/Screens/Admin/AdminDashboard/components/UserStatistics/TopContributors/hook.js +0 -1
  9. package/src/@daf/core/components/Screens/Admin/AdminDashboard/components/UserStatistics/TopContributors/index.jsx +1 -1
  10. package/src/@daf/core/components/Screens/Admin/AdminDashboard/components/UserStatistics/UserGrowth/hook.js +1 -1
  11. package/src/@daf/core/components/Screens/Admin/AdminDashboard/components/UserStatistics/UserGrowth/index.jsx +1 -1
  12. package/src/@daf/core/components/Screens/Admin/AdminModals/AddUser/index.jsx +0 -1
  13. package/src/@daf/core/components/Screens/Admin/AdminModals/CombineLocation/columns.js +79 -0
  14. package/src/@daf/core/components/Screens/Admin/AdminModals/CombineLocation/helper.js +2 -2
  15. package/src/@daf/core/components/Screens/Admin/AdminModals/CombineLocation/index.jsx +18 -8
  16. package/src/@daf/core/components/Screens/Admin/AdminModals/CombineSubjects/index.jsx +6 -6
  17. package/src/@daf/core/components/Screens/Admin/AdminModals/NewAccount/index.jsx +1 -1
  18. package/src/@daf/core/components/Screens/Admin/AdminModals/NewUser/index.jsx +61 -38
  19. package/src/@daf/core/components/Screens/Admin/AdminScreens/Accounts.jsx +1 -4
  20. package/src/@daf/core/components/Screens/Admin/AdminScreens/AccountsView.jsx +2 -0
  21. package/src/@daf/core/components/Screens/Admin/AdminScreens/Dashboard.jsx +2 -2
  22. package/src/@daf/core/components/Screens/Admin/AdminScreens/Location.jsx +6 -7
  23. package/src/@daf/core/components/Screens/Admin/AdminScreens/Subjects.jsx +2 -3
  24. package/src/@daf/core/components/Screens/Admin/AdminScreens/SubjectsView.jsx +395 -0
  25. package/src/@daf/core/components/Screens/Admin/AdminScreens/index.js +1 -0
  26. package/src/@daf/core/components/Screens/Admin/AdminTables/AccountTable/index.jsx +1 -0
  27. package/src/@daf/core/components/Screens/Admin/AdminTables/LocationTable/column.js +223 -0
  28. package/src/@daf/core/components/Screens/Admin/AdminTables/LocationTable/helper.js +65 -0
  29. package/src/@daf/core/components/Screens/Admin/AdminTables/LocationTable/index.jsx +73 -45
  30. package/src/@daf/core/components/Screens/Admin/AdminTables/SubjectsTable/columns.js +37 -37
  31. package/src/@daf/core/components/Screens/Admin/AdminTables/SubjectsTable/index.jsx +48 -22
  32. package/src/@daf/core/components/Screens/Admin/AdminTables/UserTable/index.jsx +1 -0
  33. package/src/@daf/core/components/Screens/Admin/AdminViews/EditLocation/configTransformer.js +137 -0
  34. package/src/@daf/core/components/Screens/Admin/AdminViews/EditLocation/index.js +9 -0
  35. package/src/@daf/core/components/Screens/Admin/AdminViews/EditLocation/index.jsx +196 -0
  36. package/src/@daf/core/components/Screens/Admin/AdminViews/EditStakeholder/configTransformer.js +216 -0
  37. package/src/@daf/core/components/Screens/Admin/AdminViews/EditStakeholder/index.js +7 -0
  38. package/src/@daf/core/components/Screens/Admin/AdminViews/EditStakeholder/index.jsx +184 -0
  39. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewLocation/config.js +64 -0
  40. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewLocation/helpers.js +13 -0
  41. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewLocation/index.jsx +77 -0
  42. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewStakeholder/config.js +51 -0
  43. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewStakeholder/helpers.js +0 -0
  44. package/src/@daf/core/components/Screens/Admin/AdminViews/ViewStakeholder/index.jsx +75 -0
  45. package/src/@daf/core/components/Screens/Admin/AdminViews/components/Edit/index.jsx +7 -1
  46. package/src/@daf/core/components/Screens/Admin/AdminViews/components/SidebarMenu/index.jsx +5 -3
  47. package/src/@daf/core/components/Screens/Admin/AdminViews/components/Users/helper.js +13 -8
  48. package/src/@daf/core/components/Screens/Admin/AdminViews/components/Users/index.jsx +16 -10
  49. package/src/@daf/core/components/Screens/Admin/AdminViews/components/View/index.jsx +2 -1
  50. package/src/@daf/core/components/Screens/Admin/AdminViews/index.jsx +66 -26
  51. package/src/@daf/core/components/Screens/Admin/AppInvitation/index.jsx +193 -0
  52. package/src/@daf/core/components/Screens/Admin/adminRoutes.js +81 -2
  53. package/src/@daf/layouts/AppLayout/index.jsx +0 -1
  54. package/src/@daf/pages/Edit/hooks/usePrepareForm.js +178 -0
  55. package/src/@daf/pages/Edit/index.jsx +356 -0
  56. package/src/@daf/pages/SelfAssesment/components/AssociatedInformationTable/columns.js +180 -0
  57. package/src/@daf/pages/SelfAssesment/components/AssociatedInformationTable/config.js +0 -0
  58. package/src/@daf/pages/SelfAssesment/components/AssociatedInformationTable/index.jsx +27 -0
  59. package/src/@daf/pages/SelfAssesment/components/OrgInformationTable/columns.js +157 -0
  60. package/src/@daf/pages/SelfAssesment/components/OrgInformationTable/config.js +31 -0
  61. package/src/@daf/pages/SelfAssesment/components/OrgInformationTable/index.js +77 -0
  62. package/src/@daf/pages/SelfAssesment/components/ProductionSiteTable/columns.js +117 -0
  63. package/src/@daf/pages/SelfAssesment/components/ProductionSiteTable/index.jsx +54 -0
  64. package/src/@daf/pages/SelfAssesment/index.jsx +0 -0
  65. package/src/@daf/pages/View/hooks/usePrepareForm.js +11 -1
  66. package/src/@daf/pages/View/hooks/useViewUrlParams.js +23 -1
  67. package/src/@daf/pages/View/index.jsx +14 -2
  68. package/src/@daf/services/AdminService.js +111 -7
  69. package/src/@daf/services/AuthenticationService.js +1 -0
  70. package/src/@daf/services/DashboardService.js +2 -1
  71. package/src/@daf/utils/arrays.js +1 -0
  72. package/src/@daf/utils/filters.js +15 -13
  73. package/src/constants/locales/en/translation.js +7 -0
  74. package/src/constants/locales/fr/translation.js +1 -1
  75. package/src/constants/locales/sp/translation.js +1 -1
  76. package/src/helpers/Forms.js +60 -0
  77. package/src/index.js +1 -0
  78. package/src/pages.js +4 -1
  79. package/src/utils.js +4 -2
  80. package/build/favicon.ico +0 -0
  81. package/build/logo192.png +0 -0
  82. package/build/logo512.png +0 -0
  83. package/build/manifest.json +0 -25
  84. package/build/robots.txt +0 -3
  85. package/dist/style/datastake/mapbox-gl.css +0 -330
@@ -7,15 +7,19 @@ export const useViewUrlParams = ({
7
7
  search,
8
8
  searchParams,
9
9
  setSearchParams,
10
+ getRedirectLink,
10
11
  }) => {
11
12
  const [namespace, setNamespace] = useState(params?.namespace);
12
13
  const [id, setId] = useState(params?.id);
13
14
  const [group, setGroup] = useState(params?.group);
14
15
  const [subsection, setSubSection] = useState(params?.subsection);
16
+ const [formId, setFormId] = useState(params?.formid);
17
+ const [subgroup, setSubGroup] = useState(params?.subgroup);
15
18
  const sourceUrl = searchParams.get("source");
16
19
  const versionUrl = searchParams.get("version");
17
20
  const [source, setSource] = useState(sourceUrl || null);
18
21
  const [version, setVersion] = useState(versionUrl || null);
22
+ const [changedPath, setChangedPath] = useState([]);
19
23
 
20
24
  useEffect(() => {
21
25
  if ((id && params.id !== id) || (namespace && namespace !== params.namespace)) {
@@ -29,6 +33,8 @@ export const useViewUrlParams = ({
29
33
  }
30
34
  setNamespace(params.namespace);
31
35
  setId(params.id);
36
+ setSubGroup(params.subgroup);
37
+ setFormId(params.formid);
32
38
  }, [params]);
33
39
 
34
40
  useEffect(() => {
@@ -64,7 +70,18 @@ export const useViewUrlParams = ({
64
70
  push(`${previous}/edit/${extra}`);
65
71
  }
66
72
  }, [pathname, search, push]);
67
-
73
+
74
+ const getViewLink = useCallback(() => {
75
+ switch (namespace) {
76
+ default:
77
+ }
78
+ return getRedirectLink(
79
+ `/app/view/${namespace}/${id}/${group}${subsection ? `/${subsection}` : ""}${
80
+ subgroup ? `/${subgroup}` : ""
81
+ }${search ? `/${search}` : ""}`,
82
+ );
83
+ }, [namespace, id, group, subsection, subgroup, search, getRedirectLink, pathname, search]);
84
+
68
85
  const match = useMemo(
69
86
  () => ({
70
87
  params,
@@ -89,5 +106,10 @@ export const useViewUrlParams = ({
89
106
  getEditLink,
90
107
  match,
91
108
  search,
109
+ formId,
110
+ subgroup,
111
+ getViewLink,
112
+ changedPath,
113
+ setChangedPath,
92
114
  };
93
115
  }
@@ -54,7 +54,7 @@ const View = ({
54
54
  }) => {
55
55
  const getNamespaceConfig = (namespace) => namespaceConfiguration?.[namespace] || {};
56
56
  const [openRecordsModal, setOpenRecordsModal] = useState(false);
57
-
57
+
58
58
  // HANDLES THE URL PARAMS FOR THE VIEW PAGE
59
59
  const {
60
60
  namespace,
@@ -77,6 +77,7 @@ const View = ({
77
77
  search,
78
78
  searchParams,
79
79
  setSearchParams,
80
+ getRedirectLink,
80
81
  });
81
82
 
82
83
  const namespaceConfig = useMemo(() => getNamespaceConfig(namespace), [namespace]);
@@ -115,7 +116,11 @@ const View = ({
115
116
  });
116
117
 
117
118
  const groupForm = useMemo(() => {
118
- const gF = form[group] || {};
119
+ // If no group is specified, use the first available group
120
+ const formKeys = Object.keys(form || {});
121
+ const selectedGroup = group || (formKeys.length > 0 ? formKeys[0] : null);
122
+ const gF = selectedGroup ? (form[selectedGroup] || {}) : {};
123
+
119
124
  if (subsection) {
120
125
  const sectionForms = groupSubsections(gF);
121
126
  if (sectionForms[subsection]) {
@@ -214,6 +219,13 @@ const View = ({
214
219
  : pageActions;
215
220
  }, [groupForm, pageActions]);
216
221
 
222
+ console.log({namespaceConfiguration, namespaceConfig, allData, namespace, id, group, subsection,
223
+ version,
224
+ source,
225
+ isSupported,
226
+ notFound
227
+ })
228
+
217
229
  if(!isSupported || notFound) {
218
230
  return <Loading />
219
231
  }
@@ -15,6 +15,14 @@ class AdminService extends BaseService {
15
15
  })
16
16
  }
17
17
 
18
+
19
+ inviteCompanyAccount({ companyId, data }) {
20
+ return this.apiPost({
21
+ url: `/accounts/${companyId}/invite`,
22
+ data,
23
+ })
24
+ }
25
+
18
26
  inviteAccount(data) {
19
27
  return this.apiPost({
20
28
  url: `/accounts/inviteAccount`,
@@ -69,18 +77,114 @@ class AdminService extends BaseService {
69
77
  }
70
78
 
71
79
  getSubjects({ subject, params }) {
72
- return this.apiGet({
73
- url: `${subject}`,
80
+ return this.apiGet({
81
+ url: `/management/subjects/${subject}`,
74
82
  params,
75
- })
83
+ });
76
84
  }
77
85
 
78
- mergeSubjects({ subject, ...data }) {
86
+
87
+ mergeLocations({ ids, data }) {
88
+ const [id1, id2, ...remainingIds] = ids || [];
89
+
90
+ if (!id1 || !id2) {
91
+ throw new Error('At least two IDs are required for merging');
92
+ }
93
+
94
+ const url = `/management/merge/location/${id1}/${id2}`;
95
+
96
+ const payload = {
97
+ ...data,
98
+ };
99
+
100
+ if (remainingIds.length > 0) {
101
+ payload.additionalIds = remainingIds;
102
+ }
103
+
104
+ return this.apiPost({
105
+ url,
106
+ data: payload,
107
+ });
108
+ }
109
+
110
+
111
+
112
+
113
+ mergeSubjects({ subject, ids, data }) {
114
+ const [id1, id2, ...remainingIds] = ids || [];
115
+
116
+ if (!id1 || !id2) {
117
+ throw new Error('At least two IDs are required for merging');
118
+ }
119
+
120
+ const url = `/management/merge/${subject}/${id1}/${id2}`;
121
+
122
+ const payload = {
123
+ ...data,
124
+
125
+ };
126
+
127
+ if (remainingIds.length > 0) {
128
+ payload.additionalIds = remainingIds;
129
+ }
130
+
79
131
  return this.apiPost({
80
- url: `/merge/${subject}`,
81
- data,
82
- })
132
+ url,
133
+ data: payload,
134
+ });
135
+ }
136
+
137
+ getSubjectForm({ subject, scope = 'global' }) {
138
+ return this.apiGet({
139
+ url: `/forms/${subject}`,
140
+ params: { scope },
141
+ });
83
142
  }
143
+
144
+ getSubjectData({ subject, id }) {
145
+ return this.apiGet({
146
+ url: `/management/subject/${subject}/${id}`,
147
+ });
148
+ }
149
+
150
+
151
+ viewLocation({ id }) {
152
+ return this.apiGet({
153
+ url: `/management/subject/location/${id}`,
154
+ });
155
+ }
156
+
157
+ viewStakeholder({ id }) {
158
+ return this.apiGet({
159
+ url: `/management/subject/stakeholder/${id}`,
160
+ });
161
+ }
162
+
163
+
164
+ updateSubject({ subject, id, data }) {
165
+ const type = subject === 'location' ? 'location' : 'stakeholder';
166
+ return this.apiPut({
167
+ url: `/management/subject/${type}/${id}`,
168
+ data,
169
+ });
170
+ }
171
+
172
+ deleteSubject({ subject, id }) {
173
+ const type = subject === 'location' ? 'location' : 'stakeholder';
174
+ return this.apiDelete({
175
+ url: `/management/subject/${type}/${id}`,
176
+ });
177
+ }
178
+
179
+ getUserGrowth(activeFilter) {
180
+ return this.apiGet({
181
+ url: `/accounts/dashboard/user-growth`,
182
+ isUserManager: true,
183
+ params: { activeFilter },
184
+ });
185
+ }
186
+
187
+
84
188
  }
85
189
 
86
190
  export default createLazyService(AdminService);
@@ -1,5 +1,6 @@
1
1
  import { BaseService } from "./BaseService.js";
2
2
  import { createLazyService } from "./helpers/LazyService.js";
3
+ import { StorageManager } from '../../helpers/StorageManager.js';
3
4
 
4
5
  class AuthenticationService extends BaseService {
5
6
  register(form) {
@@ -26,4 +26,5 @@ class DashboardService extends BaseService {
26
26
  }
27
27
  }
28
28
 
29
- export default createLazyService(DashboardService);
29
+ export default createLazyService(DashboardService);
30
+
@@ -0,0 +1 @@
1
+ export const isArrayOfObjects = (arr) => Array.isArray(arr) && arr.map((i) => typeof i === "object").every((i) => i);
@@ -63,19 +63,29 @@ export const getDefaultActiveFilters = (
63
63
  };
64
64
 
65
65
  const NEW_PAGINATION_APPS = ["nashiriki"];
66
+
66
67
  export const filterParams = (value, module) => {
67
68
  const { activeFilters, ...rest } = value;
68
69
 
69
- const { page, pageSize, sortDir, sortBy, search, searchParams, ...filters } =
70
- activeFilters || {};
70
+ const {
71
+ page = 1,
72
+ pageSize = 20,
73
+ sortDir,
74
+ sortBy,
75
+ search,
76
+ searchParams,
77
+ ...filters
78
+ } = activeFilters || {};
71
79
 
72
80
  const params = {};
73
-
81
+
74
82
  params.pagination = JSON.stringify({
75
- [NEW_PAGINATION_APPS.includes(module) ? "skip" : "page"]: page,
76
- [NEW_PAGINATION_APPS.includes(module) ? "take" : "pageSize"]: pageSize,
83
+ page,
84
+ pageSize,
77
85
  });
78
86
 
87
+ params.filters = JSON.stringify(filters);
88
+
79
89
  if (search && searchParams) {
80
90
  params.search = JSON.stringify({
81
91
  qs: search,
@@ -90,14 +100,6 @@ export const filterParams = (value, module) => {
90
100
  });
91
101
  }
92
102
 
93
- if (Object.keys(filters).length) {
94
- if (value.sourceId && value.sourceId === "overview") {
95
- params.filters = JSON.stringify(filters);
96
- } else {
97
- params.filters = JSON.stringify({ ...filters, authorId: undefined });
98
- }
99
- }
100
-
101
103
  return { ...rest, ...params };
102
104
  };
103
105
 
@@ -1,5 +1,12 @@
1
1
  const en = {
2
2
  "All Data": "All Data",
3
+ "sbg-admin::remove-user-title":"Remove User Title",
4
+ "sbg-admin::remove-user-body":"Remove User Body",
5
+ "Administrative-level-1": "Administrative Level 1",
6
+ "Administrative-level-2": "Administrative Level 2",
7
+ "merge-output": "Merge Output",
8
+ "admin::current_subjects": "Current Subjects",
9
+ "add-account":"Add Account",
3
10
  "Site": "Site",
4
11
  "Production Sites": "Production Sites",
5
12
  "Type of account": "Type of account",
@@ -421,7 +421,7 @@ const fr = {
421
421
  Documentation: "Documents",
422
422
  "Edit project": "Modifier le projet",
423
423
  Name: "Nom",
424
- Type: "Tapez",
424
+ Type: "Type",
425
425
  type: "Type",
426
426
  Province: "Province",
427
427
  Territory: "Territoire",
@@ -234,7 +234,7 @@ const sp = {
234
234
  "Documentation": "Documentos",
235
235
  "Edit project": "Modificar proyecto",
236
236
  "Name": "Nombre",
237
- "Type": "Escribe",
237
+ "Type": "Tipo",
238
238
  "type": "Tipo",
239
239
  "Province": "Provincia",
240
240
  "Territory": "Territorio",
@@ -829,3 +829,63 @@ export const getValueOnSelectFromDefaultKeys = (val, options, uniqueDefaultKeys)
829
829
  }
830
830
  return null;
831
831
  }
832
+
833
+ // REQUIRED FOR EDIT FORM SUBMIT(SAVE)
834
+ export const extractFiles = (fileList = []) => {
835
+ const processedFiles = fileList
836
+ .map(file => file.response || file)
837
+ .filter(file => file?.status === "done");
838
+
839
+ // Remove duplicates
840
+ return Array.isArray(processedFiles)
841
+ ? [...new Set(processedFiles)]
842
+ : processedFiles;
843
+ };
844
+
845
+ export const hasFileList = (value) => {
846
+ return value &&
847
+ typeof value === "object" &&
848
+ value !== null &&
849
+ "fileList" in value;
850
+ };
851
+
852
+ export const hasContent = (obj) => {
853
+ if (typeof obj !== "object" || obj === null) return true;
854
+ return Object.keys(obj).some(key => propHasValue(obj[key]));
855
+ };
856
+
857
+ export const transformPayload = (payload) => {
858
+ if (!payload || typeof payload !== "object") return payload;
859
+
860
+ const transformed = { ...payload };
861
+
862
+ Object.keys(transformed).forEach(key => {
863
+ const value = transformed[key];
864
+
865
+ // Skip null or non-object values
866
+ if (!value || typeof value !== "object" || !propHasValue(value)) return;
867
+
868
+ // Handle arrays - filter out empty objects
869
+ if (Array.isArray(value)) {
870
+ transformed[key] = value.filter(hasContent);
871
+ return;
872
+ }
873
+
874
+ // Handle objects with fileLists
875
+ if (hasFileList(value)) {
876
+ transformed[key] = extractFiles(value.fileList);
877
+ return;
878
+ }
879
+
880
+ // Handle nested objects that might have fileLists
881
+ Object.keys(value).forEach(nestedKey => {
882
+ const nestedValue = value[nestedKey];
883
+
884
+ if (hasFileList(nestedValue)) {
885
+ transformed[key][nestedKey] = extractFiles(nestedValue.fileList);
886
+ }
887
+ });
888
+ });
889
+
890
+ return transformed;
891
+ };
package/src/index.js CHANGED
@@ -152,6 +152,7 @@ export { default as StakeholderMappings } from "./@daf/core/components/Graphs/St
152
152
  //* ------------------------------ Screens ------------------------------
153
153
  export { default as BaseScreen } from "./@daf/core/components/Screens/BaseScreen/index.jsx";
154
154
  // Admin - Base Components
155
+ export { default as AppInvitation } from "./@daf/core/components/Screens/Admin/AppInvitation/index.jsx";
155
156
  export { default as AdminDashboard } from "./@daf/core/components/Screens/Admin/AdminDashboard/index.jsx";
156
157
  export { default as UserTable } from "./@daf/core/components/Screens/Admin/AdminTables/UserTable/index.jsx";
157
158
  export { default as AccountTable } from "./@daf/core/components/Screens/Admin/AdminTables/AccountTable/index.jsx";
package/src/pages.js CHANGED
@@ -16,4 +16,7 @@ export { default as MineSummary } from './@daf/pages/Summary/Minesite/index.jsx'
16
16
  export { default as MonitoringActivitySummary } from './@daf/pages/Summary/Activities/Monitoring/index.jsx';
17
17
 
18
18
  // View
19
- export { default as View } from './@daf/pages/View/index.jsx';
19
+ export { default as View } from './@daf/pages/View/index.jsx';
20
+
21
+ // Edit
22
+ export { default as Edit } from './@daf/pages/Edit/index.jsx';
package/src/utils.js CHANGED
@@ -12,7 +12,7 @@ export { propHasValue } from './helpers/deepFind'
12
12
  export { isEmptyOrSpaces, capitalizeAll, capitalize, camelCaseToTitle, snakeCaseToTitleCase, titleToCamelCase, findOptions, getOptionAsObject, nowToIso, renderTemplateString, renderTemplateStringInObject, truncateString, splitStringInMultipleLines, safeJsonParse, cleanJSON, formatToKebabCase } from './helpers/StringHelper.js'
13
13
  export { getNkey, groupSubsections, getImageUploadViewValue } from './@daf/core/components/ViewForm/helper'
14
14
  export { renderRows } from './@daf/core/components/Table/helper'
15
- export { filterOptions, filterString, hasNotChanged, filterSelectOptions, mapSubGroupsInSubmit, mapSubGroupsInGet, filterCreateData, changeInputMeta, renderDateFormatted, sortForm } from './helpers/Forms'
15
+ export { filterOptions, filterString, hasNotChanged, filterSelectOptions, mapSubGroupsInSubmit, mapSubGroupsInGet, filterCreateData, changeInputMeta, renderDateFormatted, sortForm, extractFiles, hasFileList, hasContent, transformPayload } from './helpers/Forms'
16
16
  export { mapFormGroup, showHideInput, editErrorHandler } from './@daf/core/components/EditForm/helper'
17
17
 
18
18
  export { defaultFilterKeys, getDefaultActiveFilters, filterParams } from './@daf/utils/filters';
@@ -62,4 +62,6 @@ export {
62
62
 
63
63
  export { renderBreadCrumbs, buildBreadCrumbs as buildBreadCrumbsHelper } from './helpers/breadCrumbs.js'
64
64
 
65
- export { copyToClipboard } from './helpers/copyToClipboard.js'
65
+ export { copyToClipboard } from './helpers/copyToClipboard.js'
66
+
67
+ export { isArrayOfObjects } from './@daf/utils/arrays.js'
package/build/favicon.ico DELETED
Binary file
package/build/logo192.png DELETED
Binary file
package/build/logo512.png DELETED
Binary file
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/build/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow: