dmencu 3.1.1 → 3.1.4
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.
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Codenautas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# dmencu
|
|
4
|
+
|
|
5
|
+
Comprehensive system for field operations management, survey collection, and tracking based on Backend-Plus.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
[](https://npmjs.org/package/dmencu)
|
|
9
|
+
[](https://npmjs.org/package/dmencu)
|
|
10
|
+
[](https://github.com/codenautas/dmencu/actions/workflows/build-and-test.yml)
|
|
11
|
+
[](https://coveralls.io/r/codenautas/dmencu)
|
|
12
|
+
[](https://socket.dev/npm/package/dmencu)
|
|
13
|
+
[](https://github.com/codenautas/dmencu/actions/workflows/qa-control.yml)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
language: 
|
|
17
|
+
also available in:
|
|
18
|
+
[](LEEME.md)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
An advanced framework and application specialized in statistical field operation management, field roadmaps (Hdr), survey data collection, and quality control. Built on top of the **Backend-Plus** ecosystem and PostgreSQL, it is fully optimized for field deployment via an Offline-First/PWA architecture.
|
|
22
|
+
|
|
23
|
+
Main features are:
|
|
24
|
+
|
|
25
|
+
1. **Field Operations & Roadmap Management (Hdr):**
|
|
26
|
+
- Dynamic assignment and allocation of workloads per zone, area, surveyor, and supervisor.
|
|
27
|
+
- Real-time tracking of survey progress at the dwelling, household, and individual levels.
|
|
28
|
+
- Visit logging, non-response reason tracking, re-entries, and supervisory escalation workflows.
|
|
29
|
+
2. **Task Engine & Actions:**
|
|
30
|
+
- Allows modeling tasks, configuring available actions for each, and assembling an operational workflow around them.
|
|
31
|
+
- Automated audit logs tracking user activity, timestamped transitions, and historical edits.
|
|
32
|
+
3. **Centralized Metadata Architecture:**
|
|
33
|
+
- Allows questionnaire modeling driven by metadata, validating skip patterns and valid inclusions through the "meta-enc" metadata engine.
|
|
34
|
+
- **Consistency Engine & Validation Rules:** Automated real-time or post-entry logical and range validation.
|
|
35
|
+
- **Permissions & Processes:** Granular access control for views, tables, and operational actions based on field roles (Surveyor, Supervisor, Data Entry, Field Coordinator).
|
|
36
|
+
4. **Offline-First Architecture (PWA) & Installer:**
|
|
37
|
+
- Seamless background installation and updates managed via Service Worker (`swa`).
|
|
38
|
+
- Publicly served static assets, manifests, and App Shell (decoupled from session cookies) ensuring total application resilience in low/no-signal areas.
|
|
39
|
+
- Floating installation log console and non-intrusive overlay for credential re-validation.
|
|
40
|
+
5. **Advanced Grids & Survey UI:**
|
|
41
|
+
- Interactive, editable, filterable, and sortable data grids with native XLSX export support.
|
|
42
|
+
- Responsive user interface optimized for mobile devices and desktop operation.
|
|
@@ -638,6 +638,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
638
638
|
}>);
|
|
639
639
|
specialSqlDefaultExpressions: Record<string, string>;
|
|
640
640
|
activeSkinFiles: Set<string>;
|
|
641
|
+
transformInput: <T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1;
|
|
641
642
|
};
|
|
642
643
|
} & T;
|
|
643
644
|
export declare var AppDmEncu: {
|
|
@@ -1272,6 +1273,7 @@ export declare var AppDmEncu: {
|
|
|
1272
1273
|
}>);
|
|
1273
1274
|
specialSqlDefaultExpressions: Record<string, string>;
|
|
1274
1275
|
activeSkinFiles: Set<string>;
|
|
1276
|
+
transformInput: <T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T;
|
|
1275
1277
|
};
|
|
1276
1278
|
} & (new (...args: any[]) => {
|
|
1277
1279
|
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
@@ -1853,6 +1855,7 @@ export declare var AppDmEncu: {
|
|
|
1853
1855
|
specialValueWhenInsert: {
|
|
1854
1856
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1855
1857
|
};
|
|
1858
|
+
specialSqlDefaultExpressions: Record<string, string>;
|
|
1856
1859
|
clearCaches(): void;
|
|
1857
1860
|
start(opts?: import("backend-plus").StartOptions): Promise<void>;
|
|
1858
1861
|
getTables(): import("backend-plus").TableItemDef[];
|
|
@@ -1892,7 +1895,10 @@ export declare var AppDmEncu: {
|
|
|
1892
1895
|
message: string;
|
|
1893
1896
|
fun: () => Promise<void>;
|
|
1894
1897
|
}): void;
|
|
1895
|
-
shutdownBackend(
|
|
1898
|
+
shutdownBackend(opts?: {
|
|
1899
|
+
skipTurnOff?: boolean;
|
|
1900
|
+
onlyTurnOff?: boolean;
|
|
1901
|
+
}): Promise<void>;
|
|
1896
1902
|
setLog(opts: {
|
|
1897
1903
|
until: string;
|
|
1898
1904
|
results?: boolean;
|
|
@@ -1902,6 +1908,8 @@ export declare var AppDmEncu: {
|
|
|
1902
1908
|
prepareTransformationSql: string[];
|
|
1903
1909
|
endTransformationSql: string[];
|
|
1904
1910
|
}>;
|
|
1911
|
+
activeSkinFiles: Set<string>;
|
|
1912
|
+
transformInput: <T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1;
|
|
1905
1913
|
};
|
|
1906
1914
|
prefixTableName(tableName: string, prefix: string): string;
|
|
1907
1915
|
} & typeof procesamiento.AppBackend;
|