@hybridly/vue 0.10.0-beta.27 → 0.10.0-beta.29

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/index.d.mts CHANGED
@@ -311,7 +311,7 @@ declare const WhenVisible: vue.DefineComponent<vue.ExtractPropTypes<{
311
311
  }>> & Readonly<{
312
312
  onLoading?: ((_state: LoadStateSlotProps) => any) | undefined;
313
313
  }>, {
314
- options: Omit<HybridRequestOptions, "data" | "method" | "url">;
314
+ options: Omit<HybridRequestOptions<Record<string, any>>, "data" | "method" | "url">;
315
315
  as: string;
316
316
  buffer: number;
317
317
  root: string | Element | null;
@@ -752,6 +752,7 @@ interface TimeSuggestion {
752
752
  type: 'time';
753
753
  label: string;
754
754
  date: string;
755
+ is_current: boolean;
755
756
  }
756
757
  /**
757
758
  * Timeframe suggestion for date range filters.
@@ -761,6 +762,7 @@ interface TimeframeSuggestion {
761
762
  label: string;
762
763
  start: string;
763
764
  end: string;
765
+ is_current: boolean;
764
766
  }
765
767
  /**
766
768
  * Date filter refinement.
package/dist/index.mjs CHANGED
@@ -1280,6 +1280,9 @@ async function initializeHybridly(options = {}) {
1280
1280
  onContextUpdate: (context) => {
1281
1281
  state.setContext(context);
1282
1282
  },
1283
+ onPropertiesUpdate: (properties) => {
1284
+ state.setProperties(properties);
1285
+ },
1283
1286
  onViewSwap: async (options) => {
1284
1287
  if (options.component) {
1285
1288
  onMountedCallbacks.push(() => options.onMounted?.({ isDialog: false }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridly/vue",
3
3
  "type": "module",
4
- "version": "0.10.0-beta.27",
4
+ "version": "0.10.0-beta.29",
5
5
  "description": "Vue adapter for Hybridly",
6
6
  "author": "Enzo Innocenzi <enzo@innocenzi.dev>",
7
7
  "license": "MIT",
@@ -47,8 +47,8 @@
47
47
  "dependencies": {
48
48
  "@clickbar/dot-diver": "^1.0.7",
49
49
  "es-toolkit": "^1.45.1",
50
- "@hybridly/core": "0.10.0-beta.27",
51
- "@hybridly/utils": "0.10.0-beta.27",
50
+ "@hybridly/core": "0.10.0-beta.29",
51
+ "@hybridly/utils": "0.10.0-beta.29",
52
52
  "@vue/devtools-api": "^8.1.0",
53
53
  "defu": "^6.1.4",
54
54
  "nprogress": "^0.2.0"