@archbase/components 4.0.25 → 4.0.27

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.
@@ -1,13 +1,13 @@
1
1
  import { FloatingPosition, MantineSize, MantineStyleProp, OptionsFilter } from '@mantine/core';
2
2
  import { default as React, FocusEventHandler, ReactNode } from 'react';
3
- import { ArchbaseDataSource } from '@archbase/data';
3
+ import { ArchbaseDataSource, IArchbaseDataSourceBase } from '@archbase/data';
4
4
  export interface ArchbaseMultiSelectProps<T, ID, O> {
5
5
  /** Permite ou não desselecionar um item */
6
6
  allowDeselect?: boolean;
7
7
  /** Indicador se permite limpar o select */
8
8
  clearable?: boolean;
9
- /** Fonte de dados onde será atribuido o item selecionado */
10
- dataSource?: ArchbaseDataSource<T, ID>;
9
+ /** Fonte de dados onde será atribuido o item selecionado (V1 ou V2) */
10
+ dataSource?: IArchbaseDataSourceBase<T>;
11
11
  /** Campo onde deverá ser atribuido o item selecionado na fonte de dados */
12
12
  dataField?: string;
13
13
  /** Indicador se o select está desabilitado */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archbase/components",
3
- "version": "4.0.25",
3
+ "version": "4.0.27",
4
4
  "description": "UI Components for Archbase React v3 - Form editors, data visualization, and business components",
5
5
  "author": "Edson Martins <edsonmartins2005@gmail.com>",
6
6
  "license": "MIT",
@@ -23,16 +23,16 @@
23
23
  "src"
24
24
  ],
25
25
  "peerDependencies": {
26
- "@mantine/carousel": "9.2.1",
27
- "@mantine/charts": "9.2.1",
28
- "@mantine/code-highlight": "9.2.1",
29
- "@mantine/core": "9.2.1",
30
- "@mantine/dates": "9.2.1",
31
- "@mantine/dropzone": "9.2.1",
32
- "@mantine/form": "9.2.1",
33
- "@mantine/hooks": "9.2.1",
34
- "@mantine/modals": "9.2.1",
35
- "@mantine/notifications": "9.2.1",
26
+ "@mantine/carousel": "9.2.2",
27
+ "@mantine/charts": "9.2.2",
28
+ "@mantine/code-highlight": "9.2.2",
29
+ "@mantine/core": "9.2.2",
30
+ "@mantine/dates": "9.2.2",
31
+ "@mantine/dropzone": "9.2.2",
32
+ "@mantine/form": "9.2.2",
33
+ "@mantine/hooks": "9.2.2",
34
+ "@mantine/modals": "9.2.2",
35
+ "@mantine/notifications": "9.2.2",
36
36
  "@tabler/icons-react": "^3.26.0",
37
37
  "react": "^18.3.0 || ^19.2.0",
38
38
  "react-dom": "^18.3.0 || ^19.2.0"
@@ -118,9 +118,9 @@
118
118
  "vis-timeline": "^7.7.3",
119
119
  "xlsx": "^0.18.5",
120
120
  "yet-another-react-lightbox": "^3.21.0",
121
- "@archbase/core": "4.0.25",
122
- "@archbase/data": "4.0.25",
123
- "@archbase/layout": "4.0.25"
121
+ "@archbase/core": "4.0.27",
122
+ "@archbase/data": "4.0.27",
123
+ "@archbase/layout": "4.0.27"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/d3": "^7.4.3",
@@ -28,7 +28,7 @@ import React, {
28
28
  useRef,
29
29
  useState
30
30
  } from 'react';
31
- import { ArchbaseDataSource, DataSourceEvent, DataSourceEventNames } from '@archbase/data';
31
+ import { ArchbaseDataSource, DataSourceEvent, DataSourceEventNames, IArchbaseDataSourceBase } from '@archbase/data';
32
32
  import { useArchbaseDidMount, useArchbaseDidUpdate, useArchbaseWillUnmount } from '@archbase/core';
33
33
 
34
34
  export interface ArchbaseMultiSelectProps<T, ID, O> {
@@ -36,8 +36,8 @@ export interface ArchbaseMultiSelectProps<T, ID, O> {
36
36
  allowDeselect?: boolean;
37
37
  /** Indicador se permite limpar o select */
38
38
  clearable?: boolean;
39
- /** Fonte de dados onde será atribuido o item selecionado */
40
- dataSource?: ArchbaseDataSource<T, ID>;
39
+ /** Fonte de dados onde será atribuido o item selecionado (V1 ou V2) */
40
+ dataSource?: IArchbaseDataSourceBase<T>;
41
41
  /** Campo onde deverá ser atribuido o item selecionado na fonte de dados */
42
42
  dataField?: string;
43
43
  /** Indicador se o select está desabilitado */
Binary file