argous 1.2.236 → 1.2.238

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.
@@ -96,7 +96,7 @@ function Programa(_a) {
96
96
  var _this = this;
97
97
  var code = _a.code, children = _a.children, _b = _a.loading, loading = _b === void 0 ? false : _b, _c = _a.threads, threads = _c === void 0 ? [] : _c, hint = _a.hint, title = _a.title, panelTitle = _a.panelTitle, hideTitle = _a.hideTitle, setCurrentProgram = _a.setCurrentProgram, programDidMount = _a.programDidMount, favorites = _a.favorites, setFavorites = _a.setFavorites, bfHabNavegador = _a.bfHabNavegador, _d = _a.bfAbas, bfAbas = _d === void 0 ? [] : _d, _e = _a.bfFerramentas, bfFerramentas = _e === void 0 ? [] : _e, bfExecutaFuncao = _a.bfExecutaFuncao, bfNmFuncaoVoltar = _a.bfNmFuncaoVoltar, bfNmCompartilhar = _a.bfNmCompartilhar, bfHabCrud = _a.bfHabCrud, bfNmSalva = _a.bfNmSalva, bfNmExclui = _a.bfNmExclui, _f = _a.bfHabFavorito, bfHabFavorito = _f === void 0 ? true : _f, bfTitulo = _a.bfTitulo,
98
98
  // permissoes = { salvar: true, editar: true, excluir: true },
99
- linkCompartilhamento = _a.linkCompartilhamento, className = _a.className, rightSidebar = _a.rightSidebar, setRightSidebar = _a.setRightSidebar, setAddProgramWidget = _a.setAddProgramWidget, setProgramAnnotation = _a.setProgramAnnotation, annotationParameters = _a.annotationParameters, openAnnotationParameters = _a.openAnnotationParameters, _ = _a.fields, props = __rest(_a, ["code", "children", "loading", "threads", "hint", "title", "panelTitle", "hideTitle", "setCurrentProgram", "programDidMount", "favorites", "setFavorites", "bfHabNavegador", "bfAbas", "bfFerramentas", "bfExecutaFuncao", "bfNmFuncaoVoltar", "bfNmCompartilhar", "bfHabCrud", "bfNmSalva", "bfNmExclui", "bfHabFavorito", "bfTitulo", "linkCompartilhamento", "className", "rightSidebar", "setRightSidebar", "setAddProgramWidget", "setProgramAnnotation", "annotationParameters", "openAnnotationParameters", "fields"]);
99
+ linkCompartilhamento = _a.linkCompartilhamento, className = _a.className, rightSidebar = _a.rightSidebar, setRightSidebar = _a.setRightSidebar, setAddProgramWidget = _a.setAddProgramWidget, setProgramAnnotation = _a.setProgramAnnotation, annotationParameters = _a.annotationParameters, openAnnotationParameters = _a.openAnnotationParameters, programAnnotation = _a.programAnnotation, _ = _a.fields, props = __rest(_a, ["code", "children", "loading", "threads", "hint", "title", "panelTitle", "hideTitle", "setCurrentProgram", "programDidMount", "favorites", "setFavorites", "bfHabNavegador", "bfAbas", "bfFerramentas", "bfExecutaFuncao", "bfNmFuncaoVoltar", "bfNmCompartilhar", "bfHabCrud", "bfNmSalva", "bfNmExclui", "bfHabFavorito", "bfTitulo", "linkCompartilhamento", "className", "rightSidebar", "setRightSidebar", "setAddProgramWidget", "setProgramAnnotation", "annotationParameters", "openAnnotationParameters", "programAnnotation", "fields"]);
100
100
  var theme = core_1.useTheme();
101
101
  var _g = react_1.useState({}), programa = _g[0], setPrograma = _g[1];
102
102
  var _h = react_1.useState(false), favoriteAnimationInsert = _h[0], setFavoriteAnimationInsert = _h[1];
@@ -387,7 +387,6 @@ var copyToClipboard = function (text) {
387
387
  var textField = document.createElement('input');
388
388
  textField.setAttribute('value', text);
389
389
  document.body.appendChild(textField);
390
- textField.focus();
391
390
  textField.select();
392
391
  textField.setSelectionRange(0, 99999);
393
392
  document.execCommand('copy');
@@ -22,7 +22,7 @@ function Programa({
22
22
  hint,
23
23
  title,
24
24
  panelTitle,
25
- hideTitle,
25
+ hideTitle,
26
26
  setCurrentProgram,
27
27
  programDidMount,
28
28
  favorites,
@@ -37,7 +37,7 @@ function Programa({
37
37
  bfNmSalva,
38
38
  bfNmExclui,
39
39
  bfHabFavorito = true,
40
- bfTitulo,
40
+ bfTitulo,
41
41
  // permissoes = { salvar: true, editar: true, excluir: true },
42
42
  linkCompartilhamento,
43
43
  className,
@@ -47,6 +47,7 @@ function Programa({
47
47
  setProgramAnnotation,
48
48
  annotationParameters,
49
49
  openAnnotationParameters,
50
+ programAnnotation,
50
51
  fields: _,
51
52
  ...props
52
53
  }) {
@@ -308,7 +308,6 @@ export const copyToClipboard = (text: string) => {
308
308
  const textField = document.createElement('input');
309
309
  textField.setAttribute('value', text);
310
310
  document.body.appendChild(textField);
311
- textField.focus();
312
311
  textField.select();
313
312
  textField.setSelectionRange(0, 99999);
314
313
  document.execCommand('copy');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "argous",
3
- "version": "1.2.236",
3
+ "version": "1.2.238",
4
4
  "description": "Argous.",
5
5
  "main": "lib/index.js",
6
6
  "author": "Carlos Schneider",