@data-fair/app-dashboards 0.9.2 → 0.9.4

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.
@@ -535,18 +535,32 @@
535
535
  "minValue": {
536
536
  "type": "string",
537
537
  "title": "Valeur min",
538
- "x-fromUrl": "{datasets.0.href}/values_agg?field={parent.value.field}&sort={parent.value.field}&{parent.value.field}_gte={q}&stringify=true",
539
- "x-itemsProp": "aggs",
540
- "x-itemTitle": "value",
541
- "x-itemKey": "value"
538
+ "x-fromUrl": "{datasets.0.href}/values/{parent.value.field}?sort=asc&{parent.value.field}_gte={q}&stringify=true"
542
539
  },
543
540
  "maxValue": {
544
541
  "type": "string",
545
542
  "title": "Valeur max",
546
- "x-fromUrl": "{datasets.0.href}/values_agg?field={parent.value.field}&sort=-{parent.value.field}&{parent.value.field}_lte={q}&stringify=true",
547
- "x-itemsProp": "aggs",
548
- "x-itemTitle": "value",
549
- "x-itemKey": "value"
543
+ "x-fromUrl": "{datasets.0.href}/values/{parent.value.field}?sort=desc&{parent.value.field}_lte={q}&stringify=true"
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "title": "Exclure des valeurs",
549
+ "required": ["field"],
550
+ "properties": {
551
+ "type": {
552
+ "const": "nin"
553
+ },
554
+ "field": {
555
+ "$ref": "#/definitions/filterField"
556
+ },
557
+ "values": {
558
+ "type": "array",
559
+ "title": "Valeurs à exclure",
560
+ "items": {
561
+ "type": "string"
562
+ },
563
+ "x-fromUrl": "{datasets.0.href}/values/{parent.value.field}?q={q}&q_mode=complete&size=100&stringify=true"
550
564
  }
551
565
  }
552
566
  }
package/dist/index.html CHANGED
@@ -20,8 +20,8 @@
20
20
 
21
21
  <!-- Capture a global variable defined by data-fair's reverse proxy. -->
22
22
  <script type="text/javascript">window.APPLICATION=%APPLICATION%;</script>
23
- <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.2/dist/assets/index-DC3eCRpR.js"></script>
24
- <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.2/dist/assets/index-DQsqORXR.css">
23
+ <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.4/dist/assets/index-BalE0Aog.js"></script>
24
+ <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@0.9.4/dist/assets/index-DQsqORXR.css">
25
25
  </head>
26
26
 
27
27
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/app-dashboards",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "scripts": {
5
5
  "dev": "APP_URL=http://localhost:3000/app/ df-dev-server",
6
6
  "dev-src": "vite",
@@ -21,7 +21,7 @@
21
21
  "@data-fair/lib-vue": "^1.13.10",
22
22
  "@data-fair/lib-vuetify": "^1.6.6",
23
23
  "@koumoul/v-iframe": "^2.4.4",
24
- "@vueuse/core": "^10.7.2",
24
+ "@vueuse/core": "^12.0.0",
25
25
  "ofetch": "^1.3.3",
26
26
  "unplugin-fonts": "^1.3.1",
27
27
  "vue": "^3.4.15",