tricc-oo 1.5.19__tar.gz → 1.5.21__tar.gz
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.
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/PKG-INFO +1 -1
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/pyproject.toml +1 -1
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/base.py +5 -1
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/xlsform_cht.py +23 -21
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo.egg-info/PKG-INFO +1 -1
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/README.md +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/setup.cfg +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tests/build.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tests/test_cql.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tests/to_ocl.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/codesystem_to_ocl.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/cql/cqlLexer.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/cql/cqlListener.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/cql/cqlParser.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/cql/cqlVisitor.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/cql_to_operation.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/datadictionnary.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/drawio_type_map.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/tricc_to_xls_form.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/utils.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/converters/xml_to_tricc.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/calculate.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/lang.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/ocl.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/ordered_set.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/models/tricc.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/parsers/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/parsers/xml.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/serializers/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/serializers/planuml.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/serializers/xls_form.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/input/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/input/base_input_strategy.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/input/drawio.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/base_output_strategy.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/spice.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/xls_form.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/xlsform_cdss.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/strategies/output/xlsform_cht_hf.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/visitors/__init__.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/visitors/tricc.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/visitors/utils.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo/visitors/xform_pd.py +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo.egg-info/SOURCES.txt +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo.egg-info/dependency_links.txt +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo.egg-info/requires.txt +0 -0
- {tricc_oo-1.5.19 → tricc_oo-1.5.21}/tricc_oo.egg-info/top_level.txt +0 -0
|
@@ -203,7 +203,11 @@ class TriccGroup(TriccBaseModel):
|
|
|
203
203
|
super().__init__(**data)
|
|
204
204
|
if self.name is None:
|
|
205
205
|
self.name = generate_id(str(data))
|
|
206
|
-
|
|
206
|
+
|
|
207
|
+
def gen_name(self):
|
|
208
|
+
if self.name is None:
|
|
209
|
+
self.name = get_rand_name(self.id)
|
|
210
|
+
|
|
207
211
|
def get_name(self):
|
|
208
212
|
result = str(super().get_name())
|
|
209
213
|
name = getattr(self, 'name', None)
|
|
@@ -301,6 +301,28 @@ class XLSFormCHTStrategy(XLSFormCDSSStrategy):
|
|
|
301
301
|
"",
|
|
302
302
|
"",
|
|
303
303
|
]
|
|
304
|
+
|
|
305
|
+
df_input.loc[len(df_input)] = [
|
|
306
|
+
"hidden",
|
|
307
|
+
"data_load",
|
|
308
|
+
*list(langs.get_trads("NO_LABEL", force_dict=True).values()),
|
|
309
|
+
*list(empty.values()),
|
|
310
|
+
*list(empty.values()),
|
|
311
|
+
"",
|
|
312
|
+
"hidden",
|
|
313
|
+
"",
|
|
314
|
+
*list(empty.values()),
|
|
315
|
+
"",
|
|
316
|
+
"",
|
|
317
|
+
"",
|
|
318
|
+
*list(empty.values()),
|
|
319
|
+
"",
|
|
320
|
+
"",
|
|
321
|
+
"",
|
|
322
|
+
"",
|
|
323
|
+
"",
|
|
324
|
+
"",
|
|
325
|
+
]
|
|
304
326
|
|
|
305
327
|
df_input.loc[len(df_input)] = [
|
|
306
328
|
"end_group",
|
|
@@ -451,27 +473,7 @@ class XLSFormCHTStrategy(XLSFormCDSSStrategy):
|
|
|
451
473
|
"", #'image'
|
|
452
474
|
"", # choice filter
|
|
453
475
|
]
|
|
454
|
-
|
|
455
|
-
"hidden",
|
|
456
|
-
"data_load",
|
|
457
|
-
*list(langs.get_trads("NO_LABEL", force_dict=True).values()),
|
|
458
|
-
*list(empty.values()),
|
|
459
|
-
*list(empty.values()),
|
|
460
|
-
"",
|
|
461
|
-
"hidden",
|
|
462
|
-
"",
|
|
463
|
-
*list(empty.values()),
|
|
464
|
-
"",
|
|
465
|
-
"",
|
|
466
|
-
"",
|
|
467
|
-
*list(empty.values()),
|
|
468
|
-
"",
|
|
469
|
-
"",
|
|
470
|
-
"",
|
|
471
|
-
"",
|
|
472
|
-
"",
|
|
473
|
-
"",
|
|
474
|
-
]
|
|
476
|
+
|
|
475
477
|
|
|
476
478
|
for input in inputs:
|
|
477
479
|
df_input.loc[len(df_input)] = get_input_calc_line(input)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|