@keepeek/keepicker-react 1.6.0-beta.9 → 1.6.0
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 +16 -7
- package/dist/index.js +2 -2
- package/dist/license.txt +0 -2
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -34,7 +34,12 @@
|
|
|
34
34
|
document
|
|
35
35
|
.querySelector("#keepicker")
|
|
36
36
|
.addEventListener("kpk-insert", (event) => {
|
|
37
|
-
console.log(event.detail
|
|
37
|
+
console.log(event.detail);
|
|
38
|
+
});
|
|
39
|
+
document
|
|
40
|
+
.querySelector("#keepicker")
|
|
41
|
+
.addEventListener("kpk-insert-link", (event) => {
|
|
42
|
+
console.log(event.detail);
|
|
38
43
|
});
|
|
39
44
|
</script>
|
|
40
45
|
```
|
|
@@ -101,14 +106,16 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
|
|
|
101
106
|
};
|
|
102
107
|
```
|
|
103
108
|
|
|
109
|
+
|
|
104
110
|
## List of attributes
|
|
105
111
|
|
|
106
|
-
| Name | Madatory | Type | Default value
|
|
107
|
-
| ------------------ | -------- | ------ |
|
|
108
|
-
| api-endpoint | yes | String |
|
|
109
|
-
| keycloak-client-id | no | String | Default Keepicker Client ID
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
+
| Name | Madatory | Type | Default value | Description |
|
|
113
|
+
| ------------------ | -------- | ------ | --------------------------- | -------------------------------- |
|
|
114
|
+
| api-endpoint | yes | String | | API Endpoint |
|
|
115
|
+
| keycloak-client-id | no | String | Default Keepicker Client ID | Keycloak Client ID |
|
|
116
|
+
| keycloak-idp | no | String | FR | Keycloak IDP to add a SSO button |
|
|
117
|
+
| data-locale | no | String | FR | Data locale |
|
|
118
|
+
| ui-locale | no | String | FR | Interface locale |
|
|
112
119
|
|
|
113
120
|
## List of events
|
|
114
121
|
|
|
@@ -116,3 +123,5 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
|
|
|
116
123
|
| --------------- | -------------------------------------------------- |
|
|
117
124
|
| kpk-insert | Event dispached when inserting one element |
|
|
118
125
|
| kpk-insert-link | Event dispached when inserting a generated picture |
|
|
126
|
+
|
|
127
|
+
|