@paris-ias/list 1.0.133 → 1.0.134

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paris-ias/list",
3
3
  "configKey": "list",
4
- "version": "1.0.133",
4
+ "version": "1.0.134",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -156,6 +156,7 @@ export const useRootStore = defineStore("rootStore", {
156
156
  const model = $models[type];
157
157
  if (moduleState && model) {
158
158
  const clone = (o) => typeof structuredClone === "function" ? structuredClone(o) : JSON.parse(JSON.stringify(o));
159
+ moduleState.search = "";
159
160
  moduleState.filters = clone(model.filters ?? {});
160
161
  moduleState.view = model.views ? {
161
162
  ...clone(model.views[Object.keys(model.views)[0]]),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "AGPL-3.0-only",
3
3
  "main": "./dist/module.mjs",
4
- "version": "1.0.133",
4
+ "version": "1.0.134",
5
5
  "name": "@paris-ias/list",
6
6
  "repository": {
7
7
  "url": "git+https://github.com/IEA-Paris/list.git",
@@ -67,5 +67,8 @@
67
67
  ]
68
68
  }
69
69
  },
70
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
70
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
71
+ "devDependencies": {
72
+ "@nuxt/devtools": "^2.6.3"
73
+ }
71
74
  }