componenteshospitais 3.5.2 → 3.5.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/dist/cjs/index.js +6 -6
- package/dist/esm/index.js +6 -6
- package/package.json +1 -1
- package/src/components/ActionBar.tsx +6 -6
package/dist/cjs/index.js
CHANGED
|
@@ -16584,14 +16584,14 @@ var ActionBar = function (_a) {
|
|
|
16584
16584
|
{ icon: React.createElement(FiPlus, { className: styles.actionBoxIcon }), active: showNew, function: newFunction, title: 'Novo', id: 1, initial: true },
|
|
16585
16585
|
{ icon: React.createElement(BsPencil, { className: styles.actionBoxIcon }), active: showEdit, function: editFunction, title: 'Editar', id: 2, initial: true },
|
|
16586
16586
|
{ icon: React.createElement(LiaTimesSolid, { className: styles.actionBoxIcon }), active: showDelete, function: deleteFunction, title: 'Excluir', id: 3, initial: true },
|
|
16587
|
-
{ icon: React.createElement(PiFloppyDisk, { className: styles.actionBoxIcon }), active: showSave, function: saveFunction, title: 'Salvar', id: 4, initial:
|
|
16588
|
-
{ icon: React.createElement(IoReturnUpBack, { className: styles.actionBoxIcon }), active: showBack, function: backFunction, title: 'Voltar', id: 5, initial:
|
|
16589
|
-
{ icon: React.createElement(SlPrinter, { className: styles.actionBoxIcon }), active: showPrint, function: printFunction, title: 'Imprimir', id: 6, initial:
|
|
16590
|
-
{ icon: React.createElement(BsFileSpreadsheet, { className: styles.actionBoxIcon }), active: showExcel, function: excelFunction, title: 'Gerar Excel', id: 7, initial:
|
|
16587
|
+
{ icon: React.createElement(PiFloppyDisk, { className: styles.actionBoxIcon }), active: showSave, function: saveFunction, title: 'Salvar', id: 4, initial: true },
|
|
16588
|
+
{ icon: React.createElement(IoReturnUpBack, { className: styles.actionBoxIcon }), active: showBack, function: backFunction, title: 'Voltar', id: 5, initial: true },
|
|
16589
|
+
{ icon: React.createElement(SlPrinter, { className: styles.actionBoxIcon }), active: showPrint, function: printFunction, title: 'Imprimir', id: 6, initial: false },
|
|
16590
|
+
{ icon: React.createElement(BsFileSpreadsheet, { className: styles.actionBoxIcon }), active: showExcel, function: excelFunction, title: 'Gerar Excel', id: 7, initial: false },
|
|
16591
16591
|
];
|
|
16592
16592
|
var dataButtonsRight = [
|
|
16593
|
-
{ icon: React.createElement(IoKeyOutline, { className: styles.actionBoxIcon }), active: showPermissions, function: permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial:
|
|
16594
|
-
{ icon: React.createElement(TfiHelp, { className: styles.actionBoxIcon }), active: showHelp, function: helpFunction, title: 'Preciso de Ajuda', id: 9, initial:
|
|
16593
|
+
{ icon: React.createElement(IoKeyOutline, { className: styles.actionBoxIcon }), active: showPermissions, function: permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial: false },
|
|
16594
|
+
{ icon: React.createElement(TfiHelp, { className: styles.actionBoxIcon }), active: showHelp, function: helpFunction, title: 'Preciso de Ajuda', id: 9, initial: false }
|
|
16595
16595
|
];
|
|
16596
16596
|
var definiteFunction = function (item) {
|
|
16597
16597
|
if (item.active) {
|
package/dist/esm/index.js
CHANGED
|
@@ -16582,14 +16582,14 @@ var ActionBar = function (_a) {
|
|
|
16582
16582
|
{ icon: React.createElement(FiPlus, { className: styles.actionBoxIcon }), active: showNew, function: newFunction, title: 'Novo', id: 1, initial: true },
|
|
16583
16583
|
{ icon: React.createElement(BsPencil, { className: styles.actionBoxIcon }), active: showEdit, function: editFunction, title: 'Editar', id: 2, initial: true },
|
|
16584
16584
|
{ icon: React.createElement(LiaTimesSolid, { className: styles.actionBoxIcon }), active: showDelete, function: deleteFunction, title: 'Excluir', id: 3, initial: true },
|
|
16585
|
-
{ icon: React.createElement(PiFloppyDisk, { className: styles.actionBoxIcon }), active: showSave, function: saveFunction, title: 'Salvar', id: 4, initial:
|
|
16586
|
-
{ icon: React.createElement(IoReturnUpBack, { className: styles.actionBoxIcon }), active: showBack, function: backFunction, title: 'Voltar', id: 5, initial:
|
|
16587
|
-
{ icon: React.createElement(SlPrinter, { className: styles.actionBoxIcon }), active: showPrint, function: printFunction, title: 'Imprimir', id: 6, initial:
|
|
16588
|
-
{ icon: React.createElement(BsFileSpreadsheet, { className: styles.actionBoxIcon }), active: showExcel, function: excelFunction, title: 'Gerar Excel', id: 7, initial:
|
|
16585
|
+
{ icon: React.createElement(PiFloppyDisk, { className: styles.actionBoxIcon }), active: showSave, function: saveFunction, title: 'Salvar', id: 4, initial: true },
|
|
16586
|
+
{ icon: React.createElement(IoReturnUpBack, { className: styles.actionBoxIcon }), active: showBack, function: backFunction, title: 'Voltar', id: 5, initial: true },
|
|
16587
|
+
{ icon: React.createElement(SlPrinter, { className: styles.actionBoxIcon }), active: showPrint, function: printFunction, title: 'Imprimir', id: 6, initial: false },
|
|
16588
|
+
{ icon: React.createElement(BsFileSpreadsheet, { className: styles.actionBoxIcon }), active: showExcel, function: excelFunction, title: 'Gerar Excel', id: 7, initial: false },
|
|
16589
16589
|
];
|
|
16590
16590
|
var dataButtonsRight = [
|
|
16591
|
-
{ icon: React.createElement(IoKeyOutline, { className: styles.actionBoxIcon }), active: showPermissions, function: permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial:
|
|
16592
|
-
{ icon: React.createElement(TfiHelp, { className: styles.actionBoxIcon }), active: showHelp, function: helpFunction, title: 'Preciso de Ajuda', id: 9, initial:
|
|
16591
|
+
{ icon: React.createElement(IoKeyOutline, { className: styles.actionBoxIcon }), active: showPermissions, function: permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial: false },
|
|
16592
|
+
{ icon: React.createElement(TfiHelp, { className: styles.actionBoxIcon }), active: showHelp, function: helpFunction, title: 'Preciso de Ajuda', id: 9, initial: false }
|
|
16593
16593
|
];
|
|
16594
16594
|
var definiteFunction = function (item) {
|
|
16595
16595
|
if (item.active) {
|
package/package.json
CHANGED
|
@@ -76,15 +76,15 @@ const ActionBar: React.FC<ActionBarProps> = ({
|
|
|
76
76
|
{ icon : <FiPlus className={styles.actionBoxIcon}/>, active : showNew, function : newFunction, title: 'Novo', id: 1, initial: true},
|
|
77
77
|
{ icon : <BsPencil className={styles.actionBoxIcon}/>, active : showEdit, function : editFunction, title: 'Editar', id: 2, initial: true},
|
|
78
78
|
{ icon : <LiaTimesSolid className={styles.actionBoxIcon}/>, active : showDelete, function : deleteFunction, title: 'Excluir', id: 3, initial: true},
|
|
79
|
-
{ icon : <PiFloppyDisk className={styles.actionBoxIcon}/>, active : showSave, function : saveFunction, title: 'Salvar', id: 4, initial:
|
|
80
|
-
{ icon : <IoReturnUpBack className={styles.actionBoxIcon}/>, active : showBack, function : backFunction, title: 'Voltar', id: 5, initial:
|
|
81
|
-
{ icon : <SlPrinter className={styles.actionBoxIcon}/>, active : showPrint, function : printFunction, title: 'Imprimir', id: 6, initial:
|
|
82
|
-
{ icon : <BsFileSpreadsheet className={styles.actionBoxIcon}/>, active : showExcel, function : excelFunction, title: 'Gerar Excel', id: 7, initial:
|
|
79
|
+
{ icon : <PiFloppyDisk className={styles.actionBoxIcon}/>, active : showSave, function : saveFunction, title: 'Salvar', id: 4, initial: true},
|
|
80
|
+
{ icon : <IoReturnUpBack className={styles.actionBoxIcon}/>, active : showBack, function : backFunction, title: 'Voltar', id: 5, initial: true},
|
|
81
|
+
{ icon : <SlPrinter className={styles.actionBoxIcon}/>, active : showPrint, function : printFunction, title: 'Imprimir', id: 6, initial: false},
|
|
82
|
+
{ icon : <BsFileSpreadsheet className={styles.actionBoxIcon}/>, active : showExcel, function : excelFunction, title: 'Gerar Excel', id: 7, initial: false},
|
|
83
83
|
]
|
|
84
84
|
|
|
85
85
|
const dataButtonsRight = [
|
|
86
|
-
{ icon : <IoKeyOutline className={styles.actionBoxIcon}/>, active : showPermissions, function : permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial:
|
|
87
|
-
{ icon : <TfiHelp className={styles.actionBoxIcon}/>, active : showHelp, function : helpFunction, title: 'Preciso de Ajuda', id: 9, initial:
|
|
86
|
+
{ icon : <IoKeyOutline className={styles.actionBoxIcon}/>, active : showPermissions, function : permissionsFunction, title: 'Gerenciar Permissões', id: 8, initial: false},
|
|
87
|
+
{ icon : <TfiHelp className={styles.actionBoxIcon}/>, active : showHelp, function : helpFunction, title: 'Preciso de Ajuda', id: 9, initial: false}
|
|
88
88
|
];
|
|
89
89
|
|
|
90
90
|
const handleClick = (item: Button) => {
|