@uniformdev/canvas-react 20.11.0 → 20.12.1-alpha.18
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 +195 -17
- package/dist/index.d.ts +195 -17
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -125,7 +125,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
125
125
|
source?: string;
|
|
126
126
|
op: string;
|
|
127
127
|
value: string | string[];
|
|
128
|
-
} | any)[];
|
|
128
|
+
} | /*elided*/ any)[];
|
|
129
129
|
};
|
|
130
130
|
value: unknown;
|
|
131
131
|
id: number;
|
|
@@ -139,7 +139,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
139
139
|
source?: string;
|
|
140
140
|
op: string;
|
|
141
141
|
value: string | string[];
|
|
142
|
-
} | any)[];
|
|
142
|
+
} | /*elided*/ any)[];
|
|
143
143
|
};
|
|
144
144
|
value: unknown;
|
|
145
145
|
id: number;
|
|
@@ -193,7 +193,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
193
193
|
source?: string;
|
|
194
194
|
op: string;
|
|
195
195
|
value: string | string[];
|
|
196
|
-
} | any)[];
|
|
196
|
+
} | /*elided*/ any)[];
|
|
197
197
|
};
|
|
198
198
|
value: unknown;
|
|
199
199
|
id: number;
|
|
@@ -207,7 +207,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
207
207
|
source?: string;
|
|
208
208
|
op: string;
|
|
209
209
|
value: string | string[];
|
|
210
|
-
} | any)[];
|
|
210
|
+
} | /*elided*/ any)[];
|
|
211
211
|
};
|
|
212
212
|
value: unknown;
|
|
213
213
|
id: number;
|
|
@@ -217,7 +217,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
217
217
|
};
|
|
218
218
|
variant?: string;
|
|
219
219
|
slots?: {
|
|
220
|
-
[key: string]: any[];
|
|
220
|
+
[key: string]: /*elided*/ any[];
|
|
221
221
|
};
|
|
222
222
|
_id?: string;
|
|
223
223
|
_pattern?: string;
|
|
@@ -268,7 +268,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
268
268
|
source?: string;
|
|
269
269
|
op: string;
|
|
270
270
|
value: string | string[];
|
|
271
|
-
} | any)[];
|
|
271
|
+
} | /*elided*/ any)[];
|
|
272
272
|
};
|
|
273
273
|
value: unknown;
|
|
274
274
|
id: number;
|
|
@@ -282,7 +282,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
282
282
|
source?: string;
|
|
283
283
|
op: string;
|
|
284
284
|
value: string | string[];
|
|
285
|
-
} | any)[];
|
|
285
|
+
} | /*elided*/ any)[];
|
|
286
286
|
};
|
|
287
287
|
value: unknown;
|
|
288
288
|
id: number;
|
|
@@ -291,7 +291,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
slots?: {
|
|
294
|
-
[key: string]: any[];
|
|
294
|
+
[key: string]: /*elided*/ any[];
|
|
295
295
|
};
|
|
296
296
|
variant?: string;
|
|
297
297
|
dataResources?: {
|
|
@@ -331,7 +331,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
331
331
|
source?: string;
|
|
332
332
|
op: string;
|
|
333
333
|
value: string | string[];
|
|
334
|
-
} | any)[];
|
|
334
|
+
} | /*elided*/ any)[];
|
|
335
335
|
};
|
|
336
336
|
value: unknown;
|
|
337
337
|
id: number;
|
|
@@ -345,7 +345,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
345
345
|
source?: string;
|
|
346
346
|
op: string;
|
|
347
347
|
value: string | string[];
|
|
348
|
-
} | any)[];
|
|
348
|
+
} | /*elided*/ any)[];
|
|
349
349
|
};
|
|
350
350
|
value: unknown;
|
|
351
351
|
id: number;
|
|
@@ -354,7 +354,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
354
354
|
};
|
|
355
355
|
};
|
|
356
356
|
slots?: {
|
|
357
|
-
[key: string]: any[];
|
|
357
|
+
[key: string]: /*elided*/ any[];
|
|
358
358
|
};
|
|
359
359
|
variant?: string;
|
|
360
360
|
dataResources?: {
|
|
@@ -435,7 +435,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
435
435
|
source?: string;
|
|
436
436
|
op: string;
|
|
437
437
|
value: string | string[];
|
|
438
|
-
} | any)[];
|
|
438
|
+
} | /*elided*/ any)[];
|
|
439
439
|
};
|
|
440
440
|
value: unknown;
|
|
441
441
|
id: number;
|
|
@@ -449,7 +449,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
449
449
|
source?: string;
|
|
450
450
|
op: string;
|
|
451
451
|
value: string | string[];
|
|
452
|
-
} | any)[];
|
|
452
|
+
} | /*elided*/ any)[];
|
|
453
453
|
};
|
|
454
454
|
value: unknown;
|
|
455
455
|
id: number;
|
|
@@ -458,7 +458,96 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
458
458
|
};
|
|
459
459
|
};
|
|
460
460
|
slots?: {
|
|
461
|
-
[key: string]:
|
|
461
|
+
[key: string]: {
|
|
462
|
+
type: string;
|
|
463
|
+
parameters?: {
|
|
464
|
+
[key: string]: {
|
|
465
|
+
value?: unknown;
|
|
466
|
+
type: string;
|
|
467
|
+
connectedData?: {
|
|
468
|
+
pointer: string;
|
|
469
|
+
syntax: "jptr";
|
|
470
|
+
failureAction?: "t" | "p" | "c" | "a";
|
|
471
|
+
failureLogLevel?: "e" | "w" | "i";
|
|
472
|
+
failureDefault?: string;
|
|
473
|
+
};
|
|
474
|
+
locales?: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
conditions?: {
|
|
478
|
+
when: {
|
|
479
|
+
op?: "&" | "|";
|
|
480
|
+
clauses: ({
|
|
481
|
+
rule: string;
|
|
482
|
+
source?: string;
|
|
483
|
+
op: string;
|
|
484
|
+
value: string | string[];
|
|
485
|
+
} | /*elided*/ any)[];
|
|
486
|
+
};
|
|
487
|
+
value: unknown;
|
|
488
|
+
id: number;
|
|
489
|
+
}[];
|
|
490
|
+
localesConditions?: {
|
|
491
|
+
[key: string]: {
|
|
492
|
+
when: {
|
|
493
|
+
op?: "&" | "|";
|
|
494
|
+
clauses: ({
|
|
495
|
+
rule: string;
|
|
496
|
+
source?: string;
|
|
497
|
+
op: string;
|
|
498
|
+
value: string | string[];
|
|
499
|
+
} | /*elided*/ any)[];
|
|
500
|
+
};
|
|
501
|
+
value: unknown;
|
|
502
|
+
id: number;
|
|
503
|
+
}[];
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
variant?: string;
|
|
508
|
+
slots?: {
|
|
509
|
+
[key: string]: /*elided*/ any[];
|
|
510
|
+
};
|
|
511
|
+
_id?: string;
|
|
512
|
+
_pattern?: string;
|
|
513
|
+
_dataResources?: {
|
|
514
|
+
[key: string]: {
|
|
515
|
+
type: string;
|
|
516
|
+
isPatternParameter?: boolean;
|
|
517
|
+
ignorePatternParameterDefault?: boolean;
|
|
518
|
+
optionalPatternParameter?: boolean;
|
|
519
|
+
variables?: {
|
|
520
|
+
[key: string]: string;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
_patternDataResources?: {
|
|
525
|
+
[key: string]: {
|
|
526
|
+
type: string;
|
|
527
|
+
isPatternParameter?: boolean;
|
|
528
|
+
ignorePatternParameterDefault?: boolean;
|
|
529
|
+
optionalPatternParameter?: boolean;
|
|
530
|
+
variables?: {
|
|
531
|
+
[key: string]: string;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
_patternError?: "NOTFOUND" | "CYCLIC";
|
|
536
|
+
_overrides?: {
|
|
537
|
+
[key: string]: /*elided*/ any;
|
|
538
|
+
};
|
|
539
|
+
_patternOverrides?: {
|
|
540
|
+
[key: string]: /*elided*/ any;
|
|
541
|
+
};
|
|
542
|
+
_overridability?: {
|
|
543
|
+
parameters?: {
|
|
544
|
+
[key: string]: "yes" | "no";
|
|
545
|
+
};
|
|
546
|
+
variants?: boolean;
|
|
547
|
+
hideLockedParameters?: boolean;
|
|
548
|
+
};
|
|
549
|
+
_locales?: string[];
|
|
550
|
+
}[];
|
|
462
551
|
};
|
|
463
552
|
variant?: string;
|
|
464
553
|
dataResources?: {
|
|
@@ -498,7 +587,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
498
587
|
source?: string;
|
|
499
588
|
op: string;
|
|
500
589
|
value: string | string[];
|
|
501
|
-
} | any)[];
|
|
590
|
+
} | /*elided*/ any)[];
|
|
502
591
|
};
|
|
503
592
|
value: unknown;
|
|
504
593
|
id: number;
|
|
@@ -512,7 +601,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
512
601
|
source?: string;
|
|
513
602
|
op: string;
|
|
514
603
|
value: string | string[];
|
|
515
|
-
} | any)[];
|
|
604
|
+
} | /*elided*/ any)[];
|
|
516
605
|
};
|
|
517
606
|
value: unknown;
|
|
518
607
|
id: number;
|
|
@@ -521,7 +610,96 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
521
610
|
};
|
|
522
611
|
};
|
|
523
612
|
slots?: {
|
|
524
|
-
[key: string]:
|
|
613
|
+
[key: string]: {
|
|
614
|
+
type: string;
|
|
615
|
+
parameters?: {
|
|
616
|
+
[key: string]: {
|
|
617
|
+
value?: unknown;
|
|
618
|
+
type: string;
|
|
619
|
+
connectedData?: {
|
|
620
|
+
pointer: string;
|
|
621
|
+
syntax: "jptr";
|
|
622
|
+
failureAction?: "t" | "p" | "c" | "a";
|
|
623
|
+
failureLogLevel?: "e" | "w" | "i";
|
|
624
|
+
failureDefault?: string;
|
|
625
|
+
};
|
|
626
|
+
locales?: {
|
|
627
|
+
[key: string]: unknown;
|
|
628
|
+
};
|
|
629
|
+
conditions?: {
|
|
630
|
+
when: {
|
|
631
|
+
op?: "&" | "|";
|
|
632
|
+
clauses: ({
|
|
633
|
+
rule: string;
|
|
634
|
+
source?: string;
|
|
635
|
+
op: string;
|
|
636
|
+
value: string | string[];
|
|
637
|
+
} | /*elided*/ any)[];
|
|
638
|
+
};
|
|
639
|
+
value: unknown;
|
|
640
|
+
id: number;
|
|
641
|
+
}[];
|
|
642
|
+
localesConditions?: {
|
|
643
|
+
[key: string]: {
|
|
644
|
+
when: {
|
|
645
|
+
op?: "&" | "|";
|
|
646
|
+
clauses: ({
|
|
647
|
+
rule: string;
|
|
648
|
+
source?: string;
|
|
649
|
+
op: string;
|
|
650
|
+
value: string | string[];
|
|
651
|
+
} | /*elided*/ any)[];
|
|
652
|
+
};
|
|
653
|
+
value: unknown;
|
|
654
|
+
id: number;
|
|
655
|
+
}[];
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
variant?: string;
|
|
660
|
+
slots?: {
|
|
661
|
+
[key: string]: /*elided*/ any[];
|
|
662
|
+
};
|
|
663
|
+
_id?: string;
|
|
664
|
+
_pattern?: string;
|
|
665
|
+
_dataResources?: {
|
|
666
|
+
[key: string]: {
|
|
667
|
+
type: string;
|
|
668
|
+
isPatternParameter?: boolean;
|
|
669
|
+
ignorePatternParameterDefault?: boolean;
|
|
670
|
+
optionalPatternParameter?: boolean;
|
|
671
|
+
variables?: {
|
|
672
|
+
[key: string]: string;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
_patternDataResources?: {
|
|
677
|
+
[key: string]: {
|
|
678
|
+
type: string;
|
|
679
|
+
isPatternParameter?: boolean;
|
|
680
|
+
ignorePatternParameterDefault?: boolean;
|
|
681
|
+
optionalPatternParameter?: boolean;
|
|
682
|
+
variables?: {
|
|
683
|
+
[key: string]: string;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
_patternError?: "NOTFOUND" | "CYCLIC";
|
|
688
|
+
_overrides?: {
|
|
689
|
+
[key: string]: /*elided*/ any;
|
|
690
|
+
};
|
|
691
|
+
_patternOverrides?: {
|
|
692
|
+
[key: string]: /*elided*/ any;
|
|
693
|
+
};
|
|
694
|
+
_overridability?: {
|
|
695
|
+
parameters?: {
|
|
696
|
+
[key: string]: "yes" | "no";
|
|
697
|
+
};
|
|
698
|
+
variants?: boolean;
|
|
699
|
+
hideLockedParameters?: boolean;
|
|
700
|
+
};
|
|
701
|
+
_locales?: string[];
|
|
702
|
+
}[];
|
|
525
703
|
};
|
|
526
704
|
variant?: string;
|
|
527
705
|
dataResources?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
125
125
|
source?: string;
|
|
126
126
|
op: string;
|
|
127
127
|
value: string | string[];
|
|
128
|
-
} | any)[];
|
|
128
|
+
} | /*elided*/ any)[];
|
|
129
129
|
};
|
|
130
130
|
value: unknown;
|
|
131
131
|
id: number;
|
|
@@ -139,7 +139,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
139
139
|
source?: string;
|
|
140
140
|
op: string;
|
|
141
141
|
value: string | string[];
|
|
142
|
-
} | any)[];
|
|
142
|
+
} | /*elided*/ any)[];
|
|
143
143
|
};
|
|
144
144
|
value: unknown;
|
|
145
145
|
id: number;
|
|
@@ -193,7 +193,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
193
193
|
source?: string;
|
|
194
194
|
op: string;
|
|
195
195
|
value: string | string[];
|
|
196
|
-
} | any)[];
|
|
196
|
+
} | /*elided*/ any)[];
|
|
197
197
|
};
|
|
198
198
|
value: unknown;
|
|
199
199
|
id: number;
|
|
@@ -207,7 +207,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
207
207
|
source?: string;
|
|
208
208
|
op: string;
|
|
209
209
|
value: string | string[];
|
|
210
|
-
} | any)[];
|
|
210
|
+
} | /*elided*/ any)[];
|
|
211
211
|
};
|
|
212
212
|
value: unknown;
|
|
213
213
|
id: number;
|
|
@@ -217,7 +217,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
217
217
|
};
|
|
218
218
|
variant?: string;
|
|
219
219
|
slots?: {
|
|
220
|
-
[key: string]: any[];
|
|
220
|
+
[key: string]: /*elided*/ any[];
|
|
221
221
|
};
|
|
222
222
|
_id?: string;
|
|
223
223
|
_pattern?: string;
|
|
@@ -268,7 +268,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
268
268
|
source?: string;
|
|
269
269
|
op: string;
|
|
270
270
|
value: string | string[];
|
|
271
|
-
} | any)[];
|
|
271
|
+
} | /*elided*/ any)[];
|
|
272
272
|
};
|
|
273
273
|
value: unknown;
|
|
274
274
|
id: number;
|
|
@@ -282,7 +282,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
282
282
|
source?: string;
|
|
283
283
|
op: string;
|
|
284
284
|
value: string | string[];
|
|
285
|
-
} | any)[];
|
|
285
|
+
} | /*elided*/ any)[];
|
|
286
286
|
};
|
|
287
287
|
value: unknown;
|
|
288
288
|
id: number;
|
|
@@ -291,7 +291,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
slots?: {
|
|
294
|
-
[key: string]: any[];
|
|
294
|
+
[key: string]: /*elided*/ any[];
|
|
295
295
|
};
|
|
296
296
|
variant?: string;
|
|
297
297
|
dataResources?: {
|
|
@@ -331,7 +331,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
331
331
|
source?: string;
|
|
332
332
|
op: string;
|
|
333
333
|
value: string | string[];
|
|
334
|
-
} | any)[];
|
|
334
|
+
} | /*elided*/ any)[];
|
|
335
335
|
};
|
|
336
336
|
value: unknown;
|
|
337
337
|
id: number;
|
|
@@ -345,7 +345,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
345
345
|
source?: string;
|
|
346
346
|
op: string;
|
|
347
347
|
value: string | string[];
|
|
348
|
-
} | any)[];
|
|
348
|
+
} | /*elided*/ any)[];
|
|
349
349
|
};
|
|
350
350
|
value: unknown;
|
|
351
351
|
id: number;
|
|
@@ -354,7 +354,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
354
354
|
};
|
|
355
355
|
};
|
|
356
356
|
slots?: {
|
|
357
|
-
[key: string]: any[];
|
|
357
|
+
[key: string]: /*elided*/ any[];
|
|
358
358
|
};
|
|
359
359
|
variant?: string;
|
|
360
360
|
dataResources?: {
|
|
@@ -435,7 +435,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
435
435
|
source?: string;
|
|
436
436
|
op: string;
|
|
437
437
|
value: string | string[];
|
|
438
|
-
} | any)[];
|
|
438
|
+
} | /*elided*/ any)[];
|
|
439
439
|
};
|
|
440
440
|
value: unknown;
|
|
441
441
|
id: number;
|
|
@@ -449,7 +449,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
449
449
|
source?: string;
|
|
450
450
|
op: string;
|
|
451
451
|
value: string | string[];
|
|
452
|
-
} | any)[];
|
|
452
|
+
} | /*elided*/ any)[];
|
|
453
453
|
};
|
|
454
454
|
value: unknown;
|
|
455
455
|
id: number;
|
|
@@ -458,7 +458,96 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
458
458
|
};
|
|
459
459
|
};
|
|
460
460
|
slots?: {
|
|
461
|
-
[key: string]:
|
|
461
|
+
[key: string]: {
|
|
462
|
+
type: string;
|
|
463
|
+
parameters?: {
|
|
464
|
+
[key: string]: {
|
|
465
|
+
value?: unknown;
|
|
466
|
+
type: string;
|
|
467
|
+
connectedData?: {
|
|
468
|
+
pointer: string;
|
|
469
|
+
syntax: "jptr";
|
|
470
|
+
failureAction?: "t" | "p" | "c" | "a";
|
|
471
|
+
failureLogLevel?: "e" | "w" | "i";
|
|
472
|
+
failureDefault?: string;
|
|
473
|
+
};
|
|
474
|
+
locales?: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
conditions?: {
|
|
478
|
+
when: {
|
|
479
|
+
op?: "&" | "|";
|
|
480
|
+
clauses: ({
|
|
481
|
+
rule: string;
|
|
482
|
+
source?: string;
|
|
483
|
+
op: string;
|
|
484
|
+
value: string | string[];
|
|
485
|
+
} | /*elided*/ any)[];
|
|
486
|
+
};
|
|
487
|
+
value: unknown;
|
|
488
|
+
id: number;
|
|
489
|
+
}[];
|
|
490
|
+
localesConditions?: {
|
|
491
|
+
[key: string]: {
|
|
492
|
+
when: {
|
|
493
|
+
op?: "&" | "|";
|
|
494
|
+
clauses: ({
|
|
495
|
+
rule: string;
|
|
496
|
+
source?: string;
|
|
497
|
+
op: string;
|
|
498
|
+
value: string | string[];
|
|
499
|
+
} | /*elided*/ any)[];
|
|
500
|
+
};
|
|
501
|
+
value: unknown;
|
|
502
|
+
id: number;
|
|
503
|
+
}[];
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
variant?: string;
|
|
508
|
+
slots?: {
|
|
509
|
+
[key: string]: /*elided*/ any[];
|
|
510
|
+
};
|
|
511
|
+
_id?: string;
|
|
512
|
+
_pattern?: string;
|
|
513
|
+
_dataResources?: {
|
|
514
|
+
[key: string]: {
|
|
515
|
+
type: string;
|
|
516
|
+
isPatternParameter?: boolean;
|
|
517
|
+
ignorePatternParameterDefault?: boolean;
|
|
518
|
+
optionalPatternParameter?: boolean;
|
|
519
|
+
variables?: {
|
|
520
|
+
[key: string]: string;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
_patternDataResources?: {
|
|
525
|
+
[key: string]: {
|
|
526
|
+
type: string;
|
|
527
|
+
isPatternParameter?: boolean;
|
|
528
|
+
ignorePatternParameterDefault?: boolean;
|
|
529
|
+
optionalPatternParameter?: boolean;
|
|
530
|
+
variables?: {
|
|
531
|
+
[key: string]: string;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
_patternError?: "NOTFOUND" | "CYCLIC";
|
|
536
|
+
_overrides?: {
|
|
537
|
+
[key: string]: /*elided*/ any;
|
|
538
|
+
};
|
|
539
|
+
_patternOverrides?: {
|
|
540
|
+
[key: string]: /*elided*/ any;
|
|
541
|
+
};
|
|
542
|
+
_overridability?: {
|
|
543
|
+
parameters?: {
|
|
544
|
+
[key: string]: "yes" | "no";
|
|
545
|
+
};
|
|
546
|
+
variants?: boolean;
|
|
547
|
+
hideLockedParameters?: boolean;
|
|
548
|
+
};
|
|
549
|
+
_locales?: string[];
|
|
550
|
+
}[];
|
|
462
551
|
};
|
|
463
552
|
variant?: string;
|
|
464
553
|
dataResources?: {
|
|
@@ -498,7 +587,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
498
587
|
source?: string;
|
|
499
588
|
op: string;
|
|
500
589
|
value: string | string[];
|
|
501
|
-
} | any)[];
|
|
590
|
+
} | /*elided*/ any)[];
|
|
502
591
|
};
|
|
503
592
|
value: unknown;
|
|
504
593
|
id: number;
|
|
@@ -512,7 +601,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
512
601
|
source?: string;
|
|
513
602
|
op: string;
|
|
514
603
|
value: string | string[];
|
|
515
|
-
} | any)[];
|
|
604
|
+
} | /*elided*/ any)[];
|
|
516
605
|
};
|
|
517
606
|
value: unknown;
|
|
518
607
|
id: number;
|
|
@@ -521,7 +610,96 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
|
|
|
521
610
|
};
|
|
522
611
|
};
|
|
523
612
|
slots?: {
|
|
524
|
-
[key: string]:
|
|
613
|
+
[key: string]: {
|
|
614
|
+
type: string;
|
|
615
|
+
parameters?: {
|
|
616
|
+
[key: string]: {
|
|
617
|
+
value?: unknown;
|
|
618
|
+
type: string;
|
|
619
|
+
connectedData?: {
|
|
620
|
+
pointer: string;
|
|
621
|
+
syntax: "jptr";
|
|
622
|
+
failureAction?: "t" | "p" | "c" | "a";
|
|
623
|
+
failureLogLevel?: "e" | "w" | "i";
|
|
624
|
+
failureDefault?: string;
|
|
625
|
+
};
|
|
626
|
+
locales?: {
|
|
627
|
+
[key: string]: unknown;
|
|
628
|
+
};
|
|
629
|
+
conditions?: {
|
|
630
|
+
when: {
|
|
631
|
+
op?: "&" | "|";
|
|
632
|
+
clauses: ({
|
|
633
|
+
rule: string;
|
|
634
|
+
source?: string;
|
|
635
|
+
op: string;
|
|
636
|
+
value: string | string[];
|
|
637
|
+
} | /*elided*/ any)[];
|
|
638
|
+
};
|
|
639
|
+
value: unknown;
|
|
640
|
+
id: number;
|
|
641
|
+
}[];
|
|
642
|
+
localesConditions?: {
|
|
643
|
+
[key: string]: {
|
|
644
|
+
when: {
|
|
645
|
+
op?: "&" | "|";
|
|
646
|
+
clauses: ({
|
|
647
|
+
rule: string;
|
|
648
|
+
source?: string;
|
|
649
|
+
op: string;
|
|
650
|
+
value: string | string[];
|
|
651
|
+
} | /*elided*/ any)[];
|
|
652
|
+
};
|
|
653
|
+
value: unknown;
|
|
654
|
+
id: number;
|
|
655
|
+
}[];
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
variant?: string;
|
|
660
|
+
slots?: {
|
|
661
|
+
[key: string]: /*elided*/ any[];
|
|
662
|
+
};
|
|
663
|
+
_id?: string;
|
|
664
|
+
_pattern?: string;
|
|
665
|
+
_dataResources?: {
|
|
666
|
+
[key: string]: {
|
|
667
|
+
type: string;
|
|
668
|
+
isPatternParameter?: boolean;
|
|
669
|
+
ignorePatternParameterDefault?: boolean;
|
|
670
|
+
optionalPatternParameter?: boolean;
|
|
671
|
+
variables?: {
|
|
672
|
+
[key: string]: string;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
_patternDataResources?: {
|
|
677
|
+
[key: string]: {
|
|
678
|
+
type: string;
|
|
679
|
+
isPatternParameter?: boolean;
|
|
680
|
+
ignorePatternParameterDefault?: boolean;
|
|
681
|
+
optionalPatternParameter?: boolean;
|
|
682
|
+
variables?: {
|
|
683
|
+
[key: string]: string;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
_patternError?: "NOTFOUND" | "CYCLIC";
|
|
688
|
+
_overrides?: {
|
|
689
|
+
[key: string]: /*elided*/ any;
|
|
690
|
+
};
|
|
691
|
+
_patternOverrides?: {
|
|
692
|
+
[key: string]: /*elided*/ any;
|
|
693
|
+
};
|
|
694
|
+
_overridability?: {
|
|
695
|
+
parameters?: {
|
|
696
|
+
[key: string]: "yes" | "no";
|
|
697
|
+
};
|
|
698
|
+
variants?: boolean;
|
|
699
|
+
hideLockedParameters?: boolean;
|
|
700
|
+
};
|
|
701
|
+
_locales?: string[];
|
|
702
|
+
}[];
|
|
525
703
|
};
|
|
526
704
|
variant?: string;
|
|
527
705
|
dataResources?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.12.1-alpha.18+3386e9d0fc",
|
|
4
4
|
"description": "React SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"test": "jest --maxWorkers=1",
|
|
43
43
|
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
|
|
44
44
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
|
|
45
|
-
"document": "api-extractor run --local"
|
|
45
|
+
"document:prebuild": "api-extractor run --local"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@uniformdev/canvas": "20.
|
|
49
|
-
"@uniformdev/context": "20.
|
|
50
|
-
"@uniformdev/context-react": "20.
|
|
51
|
-
"@uniformdev/richtext": "20.
|
|
48
|
+
"@uniformdev/canvas": "20.12.1-alpha.18+3386e9d0fc",
|
|
49
|
+
"@uniformdev/context": "20.12.1-alpha.18+3386e9d0fc",
|
|
50
|
+
"@uniformdev/context-react": "20.12.1-alpha.18+3386e9d0fc",
|
|
51
|
+
"@uniformdev/richtext": "20.12.1-alpha.18+3386e9d0fc"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"immer": ">= 10",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "3386e9d0fc01d7c246b623705939a55df3df2dae"
|
|
71
71
|
}
|