@archbase/security-ui 4.2.4 → 4.2.6

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.
@@ -10,6 +10,14 @@ export interface SeletorEmArvoreProps {
10
10
  * um recurso sem ação não é uma pergunta que o backend saiba responder.
11
11
  */
12
12
  somenteFolhas?: boolean;
13
+ /**
14
+ * O ramo a pedir ao abrir um nó.
15
+ *
16
+ * <p>Não é o mesmo do nível de cima: as ações de um recurso vivem em ACTIONS_OF_RESOURCE, e
17
+ * pedir RESOURCES com parentId faz o servidor ignorar o pai e devolver os recursos de novo —
18
+ * o nó abria mostrando recursos e nunca chegava numa ação para escolher.
19
+ */
20
+ branchDosFilhos?: ArchbaseTreeBranch;
13
21
  /** Devolve o nó escolhido e, quando existir, o pai — é dele que sai o nome do recurso. */
14
22
  onSelecionar: (no: ArchbaseTreeNode, pai?: ArchbaseTreeNode) => void;
15
23
  }
@@ -24,4 +32,4 @@ export interface SeletorEmArvoreProps {
24
32
  * <p>Carrega por demanda e busca no servidor, como a árvore principal: a lista de pessoas de um
25
33
  * tenant grande não cabe numa requisição só, e filtrar no cliente exigiria tê-la carregado inteira.
26
34
  */
27
- export declare const SeletorEmArvore: ({ label, valor, placeholder, branch, somenteFolhas, onSelecionar, }: SeletorEmArvoreProps) => import("react/jsx-runtime").JSX.Element;
35
+ export declare const SeletorEmArvore: ({ label, valor, placeholder, branch, somenteFolhas, branchDosFilhos, onSelecionar, }: SeletorEmArvoreProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archbase/security-ui",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "Security UI components for Archbase React - Forms, Modals, and Views",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -40,11 +40,11 @@
40
40
  "inversify-react": "^1.1.0",
41
41
  "rxjs": "^7.8.2",
42
42
  "uuid": "^9.0.1",
43
- "@archbase/core": "4.2.4",
44
- "@archbase/data": "4.2.4",
45
- "@archbase/components": "4.2.4",
46
- "@archbase/layout": "4.2.4",
47
- "@archbase/security": "4.2.4"
43
+ "@archbase/core": "4.2.6",
44
+ "@archbase/data": "4.2.6",
45
+ "@archbase/components": "4.2.6",
46
+ "@archbase/layout": "4.2.6",
47
+ "@archbase/security": "4.2.6"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/react": "^19.0.6",
Binary file