@uniformdev/uniform-nuxt 20.74.6-alpha.5 → 20.74.6-alpha.7.sha-23d7a1d929

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.d.mts CHANGED
@@ -8,31 +8,31 @@ interface UniformModuleOptions {
8
8
  readOnlyApiKey: string;
9
9
  /**
10
10
  * The host to be used when calling the API.
11
- * @default 'https://uniform.app'
11
+ * @defaultValue 'https://uniform.app'
12
12
  */
13
13
  apiHost?: string;
14
14
  /**
15
15
  * The host to be used when calling the Edge API.
16
- * @default 'https://uniform.global'
16
+ * @defaultValue 'https://uniform.global'
17
17
  */
18
18
  edgeApiHost?: string;
19
19
  /** The Uniform Context manifest. This one is usually fetched right before the app is started using Uniform's CLI. Uniform Context won't be enabled if a manifest is missing. */
20
20
  manifest?: ManifestV2;
21
21
  /**
22
22
  * Set it to 'edge' when building the app for the edge using [NESI technology](https://docs.uniform.app/context/reference/netlify)
23
- * @default 'standard'
23
+ * @defaultValue 'standard'
24
24
  */
25
25
  outputType?: string;
26
26
  /** The path to a file that exports a Unifrom Context instance as default.<br>This will override the values of `manifest`, `defaultConsent` and `enableContextDevTools`. Useful for advanced use cases (such us using plugins other than the Context DevTools one). */
27
27
  uniformContextPath?: string;
28
28
  /**
29
29
  * Sets the default value of the user consent.
30
- * @default false
30
+ * @defaultValue false
31
31
  */
32
32
  defaultConsent?: boolean;
33
33
  /**
34
34
  * Enables the [Context DevTools](https://docs.uniform.app/context/getting-started/browser-extension) plugin.
35
- * @default true
35
+ * @defaultValue true
36
36
  */
37
37
  enableContextDevTools?: boolean;
38
38
  /**
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "20.74.6-alpha.5+aaa8f352b2",
4
+ "version": "20.74.6-alpha.7.sha-23d7a1d929",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -59,6 +59,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
59
59
  name: string;
60
60
  value?: string;
61
61
  helpText?: string;
62
+ editorVisibility?: "opt-in";
62
63
  optionsSource?: {
63
64
  source: "static";
64
65
  options: {
@@ -151,6 +152,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
151
152
  };
152
153
  };
153
154
  };
155
+ _patternOptedInQueryStrings?: string[];
154
156
  _patternError?: "NOTFOUND" | "CYCLIC";
155
157
  _overrides?: {
156
158
  [key: string]: {
@@ -307,6 +309,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
307
309
  };
308
310
  };
309
311
  };
312
+ _patternOptedInQueryStrings?: string[];
310
313
  _dataResources?: {
311
314
  [key: string]: {
312
315
  type: string;
@@ -440,6 +443,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
440
443
  };
441
444
  };
442
445
  };
446
+ _patternOptedInQueryStrings?: string[];
443
447
  _patternError?: "NOTFOUND" | "CYCLIC";
444
448
  _overrides?: {
445
449
  [key: string]: /*elided*/ any;
@@ -592,6 +596,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
592
596
  };
593
597
  };
594
598
  };
599
+ _patternOptedInQueryStrings?: string[];
595
600
  _patternError?: "NOTFOUND" | "CYCLIC";
596
601
  _overrides?: {
597
602
  [key: string]: /*elided*/ any;
@@ -631,6 +636,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
631
636
  hideLockedParameters?: boolean;
632
637
  };
633
638
  _locales?: string[];
639
+ _optedInQueryStrings?: string[];
634
640
  } | {
635
641
  _id: string;
636
642
  _name: string;
@@ -817,6 +823,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
817
823
  name: string;
818
824
  value?: string;
819
825
  helpText?: string;
826
+ editorVisibility?: "opt-in";
820
827
  optionsSource?: {
821
828
  source: "static";
822
829
  options: {
@@ -909,6 +916,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
909
916
  };
910
917
  };
911
918
  };
919
+ _patternOptedInQueryStrings?: string[];
912
920
  _patternError?: "NOTFOUND" | "CYCLIC";
913
921
  _overrides?: {
914
922
  [key: string]: {
@@ -1065,6 +1073,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
1065
1073
  };
1066
1074
  };
1067
1075
  };
1076
+ _patternOptedInQueryStrings?: string[];
1068
1077
  _dataResources?: {
1069
1078
  [key: string]: {
1070
1079
  type: string;
@@ -1198,6 +1207,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
1198
1207
  };
1199
1208
  };
1200
1209
  };
1210
+ _patternOptedInQueryStrings?: string[];
1201
1211
  _patternError?: "NOTFOUND" | "CYCLIC";
1202
1212
  _overrides?: {
1203
1213
  [key: string]: /*elided*/ any;
@@ -1350,6 +1360,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
1350
1360
  };
1351
1361
  };
1352
1362
  };
1363
+ _patternOptedInQueryStrings?: string[];
1353
1364
  _patternError?: "NOTFOUND" | "CYCLIC";
1354
1365
  _overrides?: {
1355
1366
  [key: string]: /*elided*/ any;
@@ -1389,6 +1400,7 @@ export declare const useUniformComposition: (options: (CompositionGetByNodePathP
1389
1400
  hideLockedParameters?: boolean;
1390
1401
  };
1391
1402
  _locales?: string[];
1403
+ _optedInQueryStrings?: string[];
1392
1404
  };
1393
1405
  workflowId?: string;
1394
1406
  workflowStageId?: string;
@@ -1,6 +1,5 @@
1
1
  import { CompositionDeliveryClient, CompositionGetParameters } from '@uniformdev/canvas';
2
2
  import { Context } from '@uniformdev/context';
3
- import { type Ref } from 'vue';
4
3
  export type PreviewState = {
5
4
  slug: string | undefined;
6
5
  compositionId: string | undefined;
@@ -15,7 +14,7 @@ declare const _default: import("#app").Plugin<{
15
14
  uniformCanvasClient: CompositionDeliveryClient;
16
15
  uniformContext: Context;
17
16
  useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
18
- data: Ref<({
17
+ data: import("vue").Ref<({
19
18
  wholeResponseCacheDiagnostics?: {
20
19
  info: string;
21
20
  cacheTtl: number;
@@ -196,6 +195,7 @@ declare const _default: import("#app").Plugin<{
196
195
  name: string;
197
196
  value?: string;
198
197
  helpText?: string;
198
+ editorVisibility?: "opt-in";
199
199
  optionsSource?: {
200
200
  source: "static";
201
201
  options: {
@@ -288,6 +288,7 @@ declare const _default: import("#app").Plugin<{
288
288
  };
289
289
  };
290
290
  };
291
+ _patternOptedInQueryStrings?: string[];
291
292
  _patternError?: "NOTFOUND" | "CYCLIC";
292
293
  _overrides?: {
293
294
  [key: string]: {
@@ -444,6 +445,7 @@ declare const _default: import("#app").Plugin<{
444
445
  };
445
446
  };
446
447
  };
448
+ _patternOptedInQueryStrings?: string[];
447
449
  _dataResources?: {
448
450
  [key: string]: {
449
451
  type: string;
@@ -577,6 +579,7 @@ declare const _default: import("#app").Plugin<{
577
579
  };
578
580
  };
579
581
  };
582
+ _patternOptedInQueryStrings?: string[];
580
583
  _patternError?: "NOTFOUND" | "CYCLIC";
581
584
  _overrides?: {
582
585
  [key: string]: /*elided*/ any;
@@ -729,6 +732,7 @@ declare const _default: import("#app").Plugin<{
729
732
  };
730
733
  };
731
734
  };
735
+ _patternOptedInQueryStrings?: string[];
732
736
  _patternError?: "NOTFOUND" | "CYCLIC";
733
737
  _overrides?: {
734
738
  [key: string]: /*elided*/ any;
@@ -768,6 +772,7 @@ declare const _default: import("#app").Plugin<{
768
772
  hideLockedParameters?: boolean;
769
773
  };
770
774
  _locales?: string[];
775
+ _optedInQueryStrings?: string[];
771
776
  };
772
777
  workflowId?: string;
773
778
  workflowStageId?: string;
@@ -988,6 +993,7 @@ declare const _default: import("#app").Plugin<{
988
993
  name: string;
989
994
  value?: string;
990
995
  helpText?: string;
996
+ editorVisibility?: "opt-in";
991
997
  optionsSource?: {
992
998
  source: "static";
993
999
  options: {
@@ -1080,6 +1086,7 @@ declare const _default: import("#app").Plugin<{
1080
1086
  };
1081
1087
  };
1082
1088
  };
1089
+ _patternOptedInQueryStrings?: string[];
1083
1090
  _patternError?: "NOTFOUND" | "CYCLIC";
1084
1091
  _overrides?: {
1085
1092
  [key: string]: {
@@ -1236,6 +1243,7 @@ declare const _default: import("#app").Plugin<{
1236
1243
  };
1237
1244
  };
1238
1245
  };
1246
+ _patternOptedInQueryStrings?: string[];
1239
1247
  _dataResources?: {
1240
1248
  [key: string]: {
1241
1249
  type: string;
@@ -1369,6 +1377,7 @@ declare const _default: import("#app").Plugin<{
1369
1377
  };
1370
1378
  };
1371
1379
  };
1380
+ _patternOptedInQueryStrings?: string[];
1372
1381
  _patternError?: "NOTFOUND" | "CYCLIC";
1373
1382
  _overrides?: {
1374
1383
  [key: string]: /*elided*/ any;
@@ -1521,6 +1530,7 @@ declare const _default: import("#app").Plugin<{
1521
1530
  };
1522
1531
  };
1523
1532
  };
1533
+ _patternOptedInQueryStrings?: string[];
1524
1534
  _patternError?: "NOTFOUND" | "CYCLIC";
1525
1535
  _overrides?: {
1526
1536
  [key: string]: /*elided*/ any;
@@ -1560,6 +1570,7 @@ declare const _default: import("#app").Plugin<{
1560
1570
  hideLockedParameters?: boolean;
1561
1571
  };
1562
1572
  _locales?: string[];
1573
+ _optedInQueryStrings?: string[];
1563
1574
  };
1564
1575
  workflowId?: string;
1565
1576
  workflowStageId?: string;
@@ -1600,8 +1611,8 @@ declare const _default: import("#app").Plugin<{
1600
1611
  editionName?: string;
1601
1612
  editionPriority?: number;
1602
1613
  }) | undefined>;
1603
- pending: Ref<boolean, boolean>;
1604
- error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
1614
+ pending: import("vue").Ref<boolean, boolean>;
1615
+ error: import("vue").Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
1605
1616
  }>;
1606
1617
  }> & import("#app").ObjectPlugin<{
1607
1618
  uniformIsSetup: boolean;
@@ -1610,7 +1621,7 @@ declare const _default: import("#app").Plugin<{
1610
1621
  uniformCanvasClient: CompositionDeliveryClient;
1611
1622
  uniformContext: Context;
1612
1623
  useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
1613
- data: Ref<({
1624
+ data: import("vue").Ref<({
1614
1625
  wholeResponseCacheDiagnostics?: {
1615
1626
  info: string;
1616
1627
  cacheTtl: number;
@@ -1791,6 +1802,7 @@ declare const _default: import("#app").Plugin<{
1791
1802
  name: string;
1792
1803
  value?: string;
1793
1804
  helpText?: string;
1805
+ editorVisibility?: "opt-in";
1794
1806
  optionsSource?: {
1795
1807
  source: "static";
1796
1808
  options: {
@@ -1883,6 +1895,7 @@ declare const _default: import("#app").Plugin<{
1883
1895
  };
1884
1896
  };
1885
1897
  };
1898
+ _patternOptedInQueryStrings?: string[];
1886
1899
  _patternError?: "NOTFOUND" | "CYCLIC";
1887
1900
  _overrides?: {
1888
1901
  [key: string]: {
@@ -2039,6 +2052,7 @@ declare const _default: import("#app").Plugin<{
2039
2052
  };
2040
2053
  };
2041
2054
  };
2055
+ _patternOptedInQueryStrings?: string[];
2042
2056
  _dataResources?: {
2043
2057
  [key: string]: {
2044
2058
  type: string;
@@ -2172,6 +2186,7 @@ declare const _default: import("#app").Plugin<{
2172
2186
  };
2173
2187
  };
2174
2188
  };
2189
+ _patternOptedInQueryStrings?: string[];
2175
2190
  _patternError?: "NOTFOUND" | "CYCLIC";
2176
2191
  _overrides?: {
2177
2192
  [key: string]: /*elided*/ any;
@@ -2324,6 +2339,7 @@ declare const _default: import("#app").Plugin<{
2324
2339
  };
2325
2340
  };
2326
2341
  };
2342
+ _patternOptedInQueryStrings?: string[];
2327
2343
  _patternError?: "NOTFOUND" | "CYCLIC";
2328
2344
  _overrides?: {
2329
2345
  [key: string]: /*elided*/ any;
@@ -2363,6 +2379,7 @@ declare const _default: import("#app").Plugin<{
2363
2379
  hideLockedParameters?: boolean;
2364
2380
  };
2365
2381
  _locales?: string[];
2382
+ _optedInQueryStrings?: string[];
2366
2383
  };
2367
2384
  workflowId?: string;
2368
2385
  workflowStageId?: string;
@@ -2583,6 +2600,7 @@ declare const _default: import("#app").Plugin<{
2583
2600
  name: string;
2584
2601
  value?: string;
2585
2602
  helpText?: string;
2603
+ editorVisibility?: "opt-in";
2586
2604
  optionsSource?: {
2587
2605
  source: "static";
2588
2606
  options: {
@@ -2675,6 +2693,7 @@ declare const _default: import("#app").Plugin<{
2675
2693
  };
2676
2694
  };
2677
2695
  };
2696
+ _patternOptedInQueryStrings?: string[];
2678
2697
  _patternError?: "NOTFOUND" | "CYCLIC";
2679
2698
  _overrides?: {
2680
2699
  [key: string]: {
@@ -2831,6 +2850,7 @@ declare const _default: import("#app").Plugin<{
2831
2850
  };
2832
2851
  };
2833
2852
  };
2853
+ _patternOptedInQueryStrings?: string[];
2834
2854
  _dataResources?: {
2835
2855
  [key: string]: {
2836
2856
  type: string;
@@ -2964,6 +2984,7 @@ declare const _default: import("#app").Plugin<{
2964
2984
  };
2965
2985
  };
2966
2986
  };
2987
+ _patternOptedInQueryStrings?: string[];
2967
2988
  _patternError?: "NOTFOUND" | "CYCLIC";
2968
2989
  _overrides?: {
2969
2990
  [key: string]: /*elided*/ any;
@@ -3116,6 +3137,7 @@ declare const _default: import("#app").Plugin<{
3116
3137
  };
3117
3138
  };
3118
3139
  };
3140
+ _patternOptedInQueryStrings?: string[];
3119
3141
  _patternError?: "NOTFOUND" | "CYCLIC";
3120
3142
  _overrides?: {
3121
3143
  [key: string]: /*elided*/ any;
@@ -3155,6 +3177,7 @@ declare const _default: import("#app").Plugin<{
3155
3177
  hideLockedParameters?: boolean;
3156
3178
  };
3157
3179
  _locales?: string[];
3180
+ _optedInQueryStrings?: string[];
3158
3181
  };
3159
3182
  workflowId?: string;
3160
3183
  workflowStageId?: string;
@@ -3195,8 +3218,8 @@ declare const _default: import("#app").Plugin<{
3195
3218
  editionName?: string;
3196
3219
  editionPriority?: number;
3197
3220
  }) | undefined>;
3198
- pending: Ref<boolean, boolean>;
3199
- error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
3221
+ pending: import("vue").Ref<boolean, boolean>;
3222
+ error: import("vue").Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
3200
3223
  }>;
3201
3224
  }>;
3202
3225
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "20.74.6-alpha.5+aaa8f352b2",
3
+ "version": "20.74.6-alpha.7.sha-23d7a1d929",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,24 +28,24 @@
28
28
  "apidocs-extract": "api-extractor run --local"
29
29
  },
30
30
  "dependencies": {
31
- "@nuxt/kit": "4.4.8",
32
- "@uniformdev/canvas": "20.74.6-alpha.5+aaa8f352b2",
33
- "@uniformdev/canvas-vue": "20.74.6-alpha.5+aaa8f352b2",
34
- "@uniformdev/context": "20.74.6-alpha.5+aaa8f352b2",
35
- "@uniformdev/context-vue": "20.74.6-alpha.5+aaa8f352b2",
36
- "@uniformdev/richtext": "20.74.6-alpha.5+aaa8f352b2"
31
+ "@nuxt/kit": "4.5.2",
32
+ "@uniformdev/canvas": "20.74.6-alpha.7.sha-23d7a1d929",
33
+ "@uniformdev/canvas-vue": "20.74.6-alpha.7.sha-23d7a1d929",
34
+ "@uniformdev/context": "20.74.6-alpha.7.sha-23d7a1d929",
35
+ "@uniformdev/context-vue": "20.74.6-alpha.7.sha-23d7a1d929",
36
+ "@uniformdev/richtext": "20.74.6-alpha.7.sha-23d7a1d929"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@nuxt/module-builder": "1.0.2",
40
- "@nuxt/schema": "4.4.8",
40
+ "@nuxt/schema": "4.5.2",
41
41
  "@nuxtjs/eslint-config-typescript": "12.1.0",
42
42
  "esbuild": "0.28.1",
43
- "nuxt": "4.4.8",
43
+ "nuxt": "4.5.2",
44
44
  "vue": "3.5.38",
45
45
  "vue-router": "4.5.1"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "aaa8f352b2378d4ef9f062e364ebf7336145d95d"
50
+ "gitHead": "23d7a1d929f2626dc09db5965d8aa6d25588d67c"
51
51
  }