@guillotinaweb/react-gmi 0.24.1 → 0.25.1
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/README.md +2 -1
- package/dist/components/fields/renderField.d.ts +5 -0
- package/dist/components/input/search_input.d.ts +14 -3
- package/dist/components/input/search_input_list.d.ts +35 -0
- package/dist/index.d.ts +1 -0
- package/dist/react-gmi.esm.js +694 -105
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +696 -104
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +592 -83
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +696 -104
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -140,4 +140,5 @@ This project is sponsored by <a href="https://www.vinissimus.com">Vinissimus Win
|
|
|
140
140
|
[] Render tags and render values in properties form, use vocabulary label instead of vocabulary key
|
|
141
141
|
[] Add richtext
|
|
142
142
|
[X] Add scales in IImageAttachment
|
|
143
|
-
[] Guillotina, no elimina l'info de l'imatge de l'objecte quan es borra, si que elimina l¡imatge, fer test a guillotina de IImageAttachment i @delete
|
|
143
|
+
[] Guillotina, no elimina l'info de l'imatge de l'objecte quan es borra, si que elimina l¡imatge, fer test a guillotina de IImageAttachment i @delete
|
|
144
|
+
[] Poder posar per defecte un Panel properties, item properties etc a tots els tipus. Llegir-ho del context
|
|
@@ -9,6 +9,11 @@ export function RenderFieldComponent({ schema, field, val, modifyContent }: {
|
|
|
9
9
|
val: any;
|
|
10
10
|
modifyContent: any;
|
|
11
11
|
}): JSX.Element;
|
|
12
|
+
export function SearchRenderField({ schema, value, modifyContent }: {
|
|
13
|
+
schema: any;
|
|
14
|
+
value: any;
|
|
15
|
+
modifyContent: any;
|
|
16
|
+
}): JSX.Element;
|
|
12
17
|
export function VocabularyRenderField({ schema, value, modifyContent }: {
|
|
13
18
|
schema: any;
|
|
14
19
|
value: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function SearchInput({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, }: {
|
|
1
|
+
export function SearchInput({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: {
|
|
2
2
|
onChange: any;
|
|
3
3
|
error: any;
|
|
4
4
|
errorZoneClassName: any;
|
|
@@ -12,14 +12,25 @@ export function SearchInput({ onChange, error, errorZoneClassName, traversal, pa
|
|
|
12
12
|
dataTestSearchInput?: string;
|
|
13
13
|
dataTestItem?: string;
|
|
14
14
|
renderTextItemOption?: any;
|
|
15
|
+
typeNameQuery?: any;
|
|
16
|
+
labelProperty?: string;
|
|
15
17
|
}): JSX.Element;
|
|
16
18
|
export namespace SearchInput {
|
|
17
19
|
namespace propTypes {
|
|
18
20
|
const onChange: any;
|
|
19
21
|
const value: any;
|
|
20
|
-
const client: any;
|
|
21
22
|
const path: any;
|
|
22
|
-
const PageSize: any;
|
|
23
23
|
const btnClass: any;
|
|
24
|
+
const error: any;
|
|
25
|
+
const errorZoneClassName: any;
|
|
26
|
+
const traversal: any;
|
|
27
|
+
const qs: any;
|
|
28
|
+
const queryCondition: any;
|
|
29
|
+
const dataTestWrapper: any;
|
|
30
|
+
const dataTestSearchInput: any;
|
|
31
|
+
const dataTestItem: any;
|
|
32
|
+
const renderTextItemOption: any;
|
|
33
|
+
const typeNameQuery: any;
|
|
34
|
+
const labelProperty: any;
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export function SearchInputList({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: {
|
|
2
|
+
onChange: any;
|
|
3
|
+
error: any;
|
|
4
|
+
errorZoneClassName: any;
|
|
5
|
+
traversal?: any;
|
|
6
|
+
path?: any;
|
|
7
|
+
qs?: any[];
|
|
8
|
+
queryCondition?: string;
|
|
9
|
+
value: any;
|
|
10
|
+
btnClass?: string;
|
|
11
|
+
dataTestWrapper?: string;
|
|
12
|
+
dataTestSearchInput?: string;
|
|
13
|
+
dataTestItem?: string;
|
|
14
|
+
renderTextItemOption?: any;
|
|
15
|
+
typeNameQuery?: any;
|
|
16
|
+
labelProperty?: string;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
export namespace SearchInputList {
|
|
19
|
+
namespace propTypes {
|
|
20
|
+
const onChange: any;
|
|
21
|
+
const path: any;
|
|
22
|
+
const btnClass: any;
|
|
23
|
+
const dataTestWrapper: any;
|
|
24
|
+
const dataTestSearchInput: any;
|
|
25
|
+
const dataTestItem: any;
|
|
26
|
+
const renderTextItemOption: any;
|
|
27
|
+
const typeNameQuery: any;
|
|
28
|
+
const labelProperty: any;
|
|
29
|
+
const error: any;
|
|
30
|
+
const errorZoneClassName: any;
|
|
31
|
+
const traversal: any;
|
|
32
|
+
const qs: any;
|
|
33
|
+
const queryCondition: any;
|
|
34
|
+
}
|
|
35
|
+
}
|
package/dist/index.d.ts
CHANGED