c2-clinical 1.0.126 → 1.0.128

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.
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const BuildFormulaFlowItem_1 = __importDefault(require("../../item/BuildFormulaFlowItem"));
6
+ const BuildFormulaFlowItemTester_1 = __importDefault(require("../../item/BuildFormulaFlowItemTester"));
7
7
  const ExecFormulaFlowItem_1 = __importDefault(require("../../item/ExecFormulaFlowItem"));
8
8
  class GetEnablesFormUnitsFlowItem {
9
9
  execute(formUnits) {
@@ -15,7 +15,7 @@ class GetEnablesFormUnitsFlowItem {
15
15
  return true;
16
16
  //MONTAGEM DA FORMULA COM OS VALORES
17
17
  let formulaToEnable = unit.formulaToEnable;
18
- formulaToEnable = BuildFormulaFlowItem_1.default.execute(answers, formulaToEnable ?? "");
18
+ formulaToEnable = BuildFormulaFlowItemTester_1.default.execute(answers, formulaToEnable ?? "");
19
19
  //TENTAR EXECUTAR A FORMULA
20
20
  let enable = false;
21
21
  enable = ExecFormulaFlowItem_1.default.exec(false, formulaToEnable);
@@ -14,7 +14,9 @@ export interface IUploadFileConfig {
14
14
  thumbExample: string;
15
15
  }
16
16
  export interface IGroupConfig {
17
- showTips: boolean;
17
+ tips: {
18
+ showTips: boolean;
19
+ };
18
20
  }
19
21
  export interface ITip {
20
22
  type: TypeTipEnum;
@@ -328,7 +330,10 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
328
330
  labelButtonConfirm?: string | null | undefined;
329
331
  } | null | undefined;
330
332
  groupConfig?: {
331
- showTips: boolean;
333
+ tips?: {
334
+ description: string;
335
+ show: boolean;
336
+ } | null | undefined;
332
337
  } | null | undefined;
333
338
  tableConfig?: {
334
339
  headerData: Types.DocumentArray<{
@@ -479,7 +484,10 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
479
484
  labelButtonConfirm?: string | null | undefined;
480
485
  } | null | undefined;
481
486
  groupConfig?: {
482
- showTips: boolean;
487
+ tips?: {
488
+ description: string;
489
+ show: boolean;
490
+ } | null | undefined;
483
491
  } | null | undefined;
484
492
  tableConfig?: {
485
493
  headerData: Types.DocumentArray<{
@@ -630,7 +638,10 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
630
638
  labelButtonConfirm?: string | null | undefined;
631
639
  } | null | undefined;
632
640
  groupConfig?: {
633
- showTips: boolean;
641
+ tips?: {
642
+ description: string;
643
+ show: boolean;
644
+ } | null | undefined;
634
645
  } | null | undefined;
635
646
  tableConfig?: {
636
647
  headerData: Types.DocumentArray<{
@@ -86,7 +86,12 @@ exports.FormUnitSchema = new mongoose_1.Schema({
86
86
  //DADOS PARA GRUPO
87
87
  groupConfig: {
88
88
  type: {
89
- showTips: { type: Boolean, default: true }
89
+ tips: {
90
+ type: {
91
+ show: { type: Boolean, default: true },
92
+ description: { type: String, default: "Habilitar dicas" }
93
+ }
94
+ }
90
95
  },
91
96
  _id: false
92
97
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.126",
3
+ "version": "1.0.128",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",