@mulmoclaude/collection-plugin 0.7.4 → 0.7.6

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/style.css CHANGED
@@ -36,6 +36,19 @@
36
36
  --tw-ring-offset-width: 0px;
37
37
  --tw-ring-offset-color: #fff;
38
38
  --tw-ring-offset-shadow: 0 0 #0000;
39
+ --tw-blur: initial;
40
+ --tw-brightness: initial;
41
+ --tw-contrast: initial;
42
+ --tw-grayscale: initial;
43
+ --tw-hue-rotate: initial;
44
+ --tw-invert: initial;
45
+ --tw-opacity: initial;
46
+ --tw-saturate: initial;
47
+ --tw-sepia: initial;
48
+ --tw-drop-shadow: initial;
49
+ --tw-drop-shadow-color: initial;
50
+ --tw-drop-shadow-alpha: 100%;
51
+ --tw-drop-shadow-size: initial;
39
52
  --tw-backdrop-blur: initial;
40
53
  --tw-backdrop-brightness: initial;
41
54
  --tw-backdrop-contrast: initial;
@@ -52,19 +65,6 @@
52
65
  --tw-scale-x: 1;
53
66
  --tw-scale-y: 1;
54
67
  --tw-scale-z: 1;
55
- --tw-blur: initial;
56
- --tw-brightness: initial;
57
- --tw-contrast: initial;
58
- --tw-grayscale: initial;
59
- --tw-hue-rotate: initial;
60
- --tw-invert: initial;
61
- --tw-opacity: initial;
62
- --tw-saturate: initial;
63
- --tw-sepia: initial;
64
- --tw-drop-shadow: initial;
65
- --tw-drop-shadow-color: initial;
66
- --tw-drop-shadow-alpha: 100%;
67
- --tw-drop-shadow-size: initial;
68
68
  }
69
69
  }
70
70
  }
@@ -473,6 +473,10 @@
473
473
  top: 0;
474
474
  }
475
475
 
476
+ .top-full {
477
+ top: 100%;
478
+ }
479
+
476
480
  .right-0 {
477
481
  right: 0;
478
482
  }
@@ -497,6 +501,10 @@
497
501
  z-index: 10;
498
502
  }
499
503
 
504
+ .z-20 {
505
+ z-index: 20;
506
+ }
507
+
500
508
  .z-30 {
501
509
  z-index: 30;
502
510
  }
@@ -1943,6 +1951,11 @@
1943
1951
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1944
1952
  }
1945
1953
 
1954
+ .shadow-lg {
1955
+ --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
1956
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1957
+ }
1958
+
1946
1959
  .shadow-sm {
1947
1960
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
1948
1961
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -1972,6 +1985,10 @@
1972
1985
  --tw-ring-color: var(--color-indigo-500);
1973
1986
  }
1974
1987
 
1988
+ .filter {
1989
+ filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
1990
+ }
1991
+
1975
1992
  .backdrop-blur-sm {
1976
1993
  --tw-backdrop-blur: blur(var(--blur-sm));
1977
1994
  -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
@@ -2502,156 +2519,156 @@
2502
2519
  initial-value: 0 0 #0000;
2503
2520
  }
2504
2521
 
2505
- @property --tw-backdrop-blur {
2522
+ @property --tw-blur {
2506
2523
  syntax: "*";
2507
2524
  inherits: false
2508
2525
  }
2509
2526
 
2510
- @property --tw-backdrop-brightness {
2527
+ @property --tw-brightness {
2511
2528
  syntax: "*";
2512
2529
  inherits: false
2513
2530
  }
2514
2531
 
2515
- @property --tw-backdrop-contrast {
2532
+ @property --tw-contrast {
2516
2533
  syntax: "*";
2517
2534
  inherits: false
2518
2535
  }
2519
2536
 
2520
- @property --tw-backdrop-grayscale {
2537
+ @property --tw-grayscale {
2521
2538
  syntax: "*";
2522
2539
  inherits: false
2523
2540
  }
2524
2541
 
2525
- @property --tw-backdrop-hue-rotate {
2542
+ @property --tw-hue-rotate {
2526
2543
  syntax: "*";
2527
2544
  inherits: false
2528
2545
  }
2529
2546
 
2530
- @property --tw-backdrop-invert {
2547
+ @property --tw-invert {
2531
2548
  syntax: "*";
2532
2549
  inherits: false
2533
2550
  }
2534
2551
 
2535
- @property --tw-backdrop-opacity {
2552
+ @property --tw-opacity {
2536
2553
  syntax: "*";
2537
2554
  inherits: false
2538
2555
  }
2539
2556
 
2540
- @property --tw-backdrop-saturate {
2557
+ @property --tw-saturate {
2541
2558
  syntax: "*";
2542
2559
  inherits: false
2543
2560
  }
2544
2561
 
2545
- @property --tw-backdrop-sepia {
2562
+ @property --tw-sepia {
2546
2563
  syntax: "*";
2547
2564
  inherits: false
2548
2565
  }
2549
2566
 
2550
- @property --tw-duration {
2567
+ @property --tw-drop-shadow {
2551
2568
  syntax: "*";
2552
2569
  inherits: false
2553
2570
  }
2554
2571
 
2555
- @property --tw-translate-x {
2572
+ @property --tw-drop-shadow-color {
2556
2573
  syntax: "*";
2557
- inherits: false;
2558
- initial-value: 0;
2574
+ inherits: false
2559
2575
  }
2560
2576
 
2561
- @property --tw-translate-y {
2562
- syntax: "*";
2577
+ @property --tw-drop-shadow-alpha {
2578
+ syntax: "<percentage>";
2563
2579
  inherits: false;
2564
- initial-value: 0;
2580
+ initial-value: 100%;
2565
2581
  }
2566
2582
 
2567
- @property --tw-translate-z {
2583
+ @property --tw-drop-shadow-size {
2568
2584
  syntax: "*";
2569
- inherits: false;
2570
- initial-value: 0;
2585
+ inherits: false
2571
2586
  }
2572
2587
 
2573
- @property --tw-scale-x {
2588
+ @property --tw-backdrop-blur {
2574
2589
  syntax: "*";
2575
- inherits: false;
2576
- initial-value: 1;
2590
+ inherits: false
2577
2591
  }
2578
2592
 
2579
- @property --tw-scale-y {
2593
+ @property --tw-backdrop-brightness {
2580
2594
  syntax: "*";
2581
- inherits: false;
2582
- initial-value: 1;
2595
+ inherits: false
2583
2596
  }
2584
2597
 
2585
- @property --tw-scale-z {
2598
+ @property --tw-backdrop-contrast {
2586
2599
  syntax: "*";
2587
- inherits: false;
2588
- initial-value: 1;
2600
+ inherits: false
2589
2601
  }
2590
2602
 
2591
- @property --tw-blur {
2603
+ @property --tw-backdrop-grayscale {
2592
2604
  syntax: "*";
2593
2605
  inherits: false
2594
2606
  }
2595
2607
 
2596
- @property --tw-brightness {
2608
+ @property --tw-backdrop-hue-rotate {
2597
2609
  syntax: "*";
2598
2610
  inherits: false
2599
2611
  }
2600
2612
 
2601
- @property --tw-contrast {
2613
+ @property --tw-backdrop-invert {
2602
2614
  syntax: "*";
2603
2615
  inherits: false
2604
2616
  }
2605
2617
 
2606
- @property --tw-grayscale {
2618
+ @property --tw-backdrop-opacity {
2607
2619
  syntax: "*";
2608
2620
  inherits: false
2609
2621
  }
2610
2622
 
2611
- @property --tw-hue-rotate {
2623
+ @property --tw-backdrop-saturate {
2612
2624
  syntax: "*";
2613
2625
  inherits: false
2614
2626
  }
2615
2627
 
2616
- @property --tw-invert {
2628
+ @property --tw-backdrop-sepia {
2617
2629
  syntax: "*";
2618
2630
  inherits: false
2619
2631
  }
2620
2632
 
2621
- @property --tw-opacity {
2633
+ @property --tw-duration {
2622
2634
  syntax: "*";
2623
2635
  inherits: false
2624
2636
  }
2625
2637
 
2626
- @property --tw-saturate {
2638
+ @property --tw-translate-x {
2627
2639
  syntax: "*";
2628
- inherits: false
2640
+ inherits: false;
2641
+ initial-value: 0;
2629
2642
  }
2630
2643
 
2631
- @property --tw-sepia {
2644
+ @property --tw-translate-y {
2632
2645
  syntax: "*";
2633
- inherits: false
2646
+ inherits: false;
2647
+ initial-value: 0;
2634
2648
  }
2635
2649
 
2636
- @property --tw-drop-shadow {
2650
+ @property --tw-translate-z {
2637
2651
  syntax: "*";
2638
- inherits: false
2652
+ inherits: false;
2653
+ initial-value: 0;
2639
2654
  }
2640
2655
 
2641
- @property --tw-drop-shadow-color {
2656
+ @property --tw-scale-x {
2642
2657
  syntax: "*";
2643
- inherits: false
2658
+ inherits: false;
2659
+ initial-value: 1;
2644
2660
  }
2645
2661
 
2646
- @property --tw-drop-shadow-alpha {
2647
- syntax: "<percentage>";
2662
+ @property --tw-scale-y {
2663
+ syntax: "*";
2648
2664
  inherits: false;
2649
- initial-value: 100%;
2665
+ initial-value: 1;
2650
2666
  }
2651
2667
 
2652
- @property --tw-drop-shadow-size {
2668
+ @property --tw-scale-z {
2653
2669
  syntax: "*";
2654
- inherits: false
2670
+ inherits: false;
2671
+ initial-value: 1;
2655
2672
  }
2656
2673
 
2657
2674
  @keyframes spin {
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionKanbanView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionKanbanView.vue"],"names":[],"mappings":"AA2NA,OAAO,KAAK,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAYnI,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;gFAC4E;IAC5E,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CAC1C,CAAC;AA+UF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CollectionKanbanView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionKanbanView.vue"],"names":[],"mappings":"AAoOA,OAAO,KAAK,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAYnI,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;gFAC4E;IAC5E,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CAC1C,CAAC;AAwVF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -29,7 +29,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
29
29
  submit: () => any;
30
30
  cancel: () => any;
31
31
  edit: () => any;
32
- runAction: (action: CollectionAction) => any;
32
+ runAction: (action: {
33
+ id: string;
34
+ label: string;
35
+ kind: "chat";
36
+ role: string;
37
+ template: string;
38
+ icon?: string | undefined;
39
+ when?: {
40
+ field: string;
41
+ in: string[];
42
+ } | undefined;
43
+ }) => any;
33
44
  itemChat: (message: string) => any;
34
45
  "update:editing": (value: EditState | null) => any;
35
46
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -38,7 +49,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
38
49
  onSubmit?: (() => any) | undefined;
39
50
  onCancel?: (() => any) | undefined;
40
51
  onEdit?: (() => any) | undefined;
41
- onRunAction?: ((action: CollectionAction) => any) | undefined;
52
+ onRunAction?: ((action: {
53
+ id: string;
54
+ label: string;
55
+ kind: "chat";
56
+ role: string;
57
+ template: string;
58
+ icon?: string | undefined;
59
+ when?: {
60
+ field: string;
61
+ in: string[];
62
+ } | undefined;
63
+ }) => any) | undefined;
42
64
  onItemChat?: ((message: string) => any) | undefined;
43
65
  "onUpdate:editing"?: ((value: EditState | null) => any) | undefined;
44
66
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionRecordPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionRecordPanel.vue"],"names":[],"mappings":"AAmsBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EAEd,SAAS,EAEV,MAAM,8BAA8B,CAAC;AAQtC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,8CAA8C;IAC9C,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,gBAAgB,EAAE,CAAC;IACnC,qEAAqE;IACrE,UAAU,EAAE,cAAc,GAAG,IAAI,CAAC;IAClC,gDAAgD;IAChD,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,MAAM,EAAE,mBAAmB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA8JF,KAAK,gBAAgB,GAAG;IACxB,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA27CxD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CollectionRecordPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionRecordPanel.vue"],"names":[],"mappings":"AAosBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EAEd,SAAS,EAEV,MAAM,8BAA8B,CAAC;AAQtC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,8CAA8C;IAC9C,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,gBAAgB,EAAE,CAAC;IACnC,qEAAqE;IACrE,UAAU,EAAE,cAAc,GAAG,IAAI,CAAC;IAClC,gDAAgD;IAChD,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,MAAM,EAAE,mBAAmB,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA+JF,KAAK,gBAAgB,GAAG;IACxB,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA27CxD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionView.vue"],"names":[],"mappings":"AA6wEA,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAqC/B;;;;;;;;;6CAS6C;AAC7C,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C;;;;;uBAKmB;IACnB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;4EAGwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;wDAGoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;4EACwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAwrHF,QAAA,MAAM,YAAY;;;cA7qHiB,eAAe;qBAAe,MAAM;oBAAc,MAAM;;;;;cAAxD,eAAe;qBAAe,MAAM;oBAAc,MAAM;;kFAgrHzF,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CollectionView.vue.d.ts","sourceRoot":"","sources":["../../../src/vue/components/CollectionView.vue"],"names":[],"mappings":"AA00EA,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAqC/B;;;;;;;;;6CAS6C;AAC7C,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C;;;;;uBAKmB;IACnB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;4EAGwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;wDAGoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;4EACwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAozHF,QAAA,MAAM,YAAY;;;cAzyHiB,eAAe;qBAAe,MAAM;oBAAc,MAAM;;;;;cAAxD,eAAe;qBAAe,MAAM;oBAAc,MAAM;;kFA4yHzF,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/de.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA4IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/de.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBAgJjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -95,6 +95,8 @@ declare const enMessages: {
95
95
  kanbanUncategorized: string;
96
96
  kanbanOpenCard: string;
97
97
  addView: string;
98
+ addViewDesktop: string;
99
+ addViewMobile: string;
98
100
  config: {
99
101
  open: string;
100
102
  title: string;
@@ -106,6 +108,7 @@ declare const enMessages: {
106
108
  customViewLoading: string;
107
109
  customViewError: string;
108
110
  addViewPrompt: string;
111
+ addMobileViewPrompt: string;
109
112
  repair: string;
110
113
  dataIssuesDetected: string;
111
114
  repairPrompt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/en.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2If,CAAC;AAEF,eAAe,UAAU,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/en.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+If,CAAC;AAEF,eAAe,UAAU,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,OAAO,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA4IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBAgJjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/fr.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA6IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/fr.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBAiJjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -96,6 +96,8 @@ declare const i18n: import("vue-i18n").I18n<{
96
96
  kanbanUncategorized: string;
97
97
  kanbanOpenCard: string;
98
98
  addView: string;
99
+ addViewDesktop: string;
100
+ addViewMobile: string;
99
101
  config: {
100
102
  open: string;
101
103
  title: string;
@@ -107,6 +109,7 @@ declare const i18n: import("vue-i18n").I18n<{
107
109
  customViewLoading: string;
108
110
  customViewError: string;
109
111
  addViewPrompt: string;
112
+ addMobileViewPrompt: string;
110
113
  repair: string;
111
114
  dataIssuesDetected: string;
112
115
  repairPrompt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcR,CAAC;AAsBH;;;gEAGgE;AAChE,wBAAgB,iBAAiB,IAAI;IAAE,CAAC,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;CAAE,CAG5G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/index.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcR,CAAC;AAsBH;;;gEAGgE;AAChE,wBAAgB,iBAAiB,IAAI;IAAE,CAAC,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;CAAE,CAG5G"}
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ja.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA2IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ja.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA+IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ko.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA2IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ko.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA+IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ptBR.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ptBR.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,YAAY,EAAE,kBA4InB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ptBR.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/ptBR.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,YAAY,EAAE,kBAgJnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/zh.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA0IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/vue/lang/zh.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,QAAA,MAAM,UAAU,EAAE,kBA8IjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type Ref } from "vue";
1
+ import type { Ref } from "vue";
2
2
  import type { CollectionDetail, CollectionItem, CollectionSchema, CollectionFieldSpec as FieldSpec, CollectionFieldType as FieldType, EmbedCache, EmbedView, RefCache, RefOption, RefRecordCache } from "@mulmoclaude/core/collection";
3
3
  export interface CollectionRendering {
4
4
  refCache: Ref<RefCache>;
@@ -27,6 +27,5 @@ export interface CollectionRendering {
27
27
  evaluateDerivedAgainstItem: (field: FieldSpec, fieldKey: string, item: CollectionItem) => number | null;
28
28
  derivedDisplay: (field: FieldSpec, computedValue: unknown, record: CollectionItem | null) => string;
29
29
  }
30
- export declare function stepForFieldType(type: FieldType): string | undefined;
31
30
  export declare function useCollectionRendering(collection: Ref<CollectionDetail | null>, locale: Ref<string>): CollectionRendering;
32
31
  //# sourceMappingURL=useCollectionRendering.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCollectionRendering.d.ts","sourceRoot":"","sources":["../../src/vue/useCollectionRendering.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAGpC,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,mBAAmB,IAAI,SAAS,EAChC,mBAAmB,IAAI,SAAS,EAEhC,UAAU,EAEV,SAAS,EACT,QAAQ,EAER,SAAS,EACT,cAAc,EAEf,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,cAAc,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IACpC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC5B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,qBAAqB,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,EAAE,CAAC;IAChD,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,EAAE,CAAC;IAClD,aAAa,EAAE,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,KAAK,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC5E,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;IACr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,KAAK,cAAc,CAAC;IAC1G,0BAA0B,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,KAAK,MAAM,GAAG,IAAI,CAAC;IACxG,cAAc,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,KAAK,MAAM,CAAC;CACrG;AAiBD,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,mBAAmB,CAsBzH"}
@@ -0,0 +1,29 @@
1
+ import type { CollectionDetailResponse, CollectionItem, CollectionSchema, CollectionFieldSpec as FieldSpec, CollectionFieldType as FieldType, RefDisplayMap, RefOption, RefRecordMap } from "@mulmoclaude/core/collection";
2
+ export declare function stepForFieldType(type: FieldType): string | undefined;
3
+ export declare function inputTypeFor(type: FieldType): string;
4
+ export declare function isExternalUrl(value: unknown): boolean;
5
+ export declare function detailText(value: unknown): string;
6
+ export declare function formatCell(value: unknown, type: FieldType): string;
7
+ /** Resolve the ISO 4217 code for a money field: a per-record
8
+ * `currencyField` (when present and non-blank) wins over the field's
9
+ * literal `currency`. Only `money` / `derived` variants carry currency
10
+ * keys; any other field resolves to undefined (the formatter's USD
11
+ * fallback), as before. */
12
+ export declare function resolveCurrency(field: FieldSpec, record: CollectionItem | null | undefined): string | undefined;
13
+ export declare function formatMoney(value: unknown, currency: string | undefined, displayLocale: string): string;
14
+ export declare function currencySymbolForLocale(currency: string | undefined, locale: string): string;
15
+ export declare function tableRows(value: unknown): Record<string, unknown>[];
16
+ export declare function hasTableRows(value: unknown): boolean;
17
+ /** Pick the field used to label a referenced/embedded record: prefer a
18
+ * `name` field, then `title`, else fall back to the primary key. */
19
+ export declare function displayFieldFor(fields: Record<string, FieldSpec>, primaryKey: string): string;
20
+ export declare function uniqueRefTargets(schema: CollectionSchema): string[];
21
+ export declare function uniqueEmbedTargets(schema: CollectionSchema): string[];
22
+ export declare function buildRefDisplayMap(detail: CollectionDetailResponse): RefDisplayMap;
23
+ export declare function buildRefRecordMap(detail: CollectionDetailResponse): RefRecordMap;
24
+ export declare function sortedRefOptions(map: RefDisplayMap): RefOption[];
25
+ /** Dropdown options for an `embed` field's per-record picker: every
26
+ * record in the target collection, labelled by its name/title (or
27
+ * primary key), skipping records without a slug and sorted by label. */
28
+ export declare function buildEmbedOptions(schema: CollectionSchema, items: CollectionItem[]): RefOption[];
29
+ //# sourceMappingURL=useCollectionRendering.helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollectionRendering.helpers.d.ts","sourceRoot":"","sources":["../../src/vue/useCollectionRendering.helpers.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,wBAAwB,EACxB,cAAc,EACd,gBAAgB,EAChB,mBAAmB,IAAI,SAAS,EAChC,mBAAmB,IAAI,SAAS,EAChC,aAAa,EACb,SAAS,EACT,YAAY,EACb,MAAM,8BAA8B,CAAC;AAWtC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAIpE;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAOpD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAErD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAGjD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAOlE;AAED;;;;4BAI4B;AAC5B,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAO/G;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAUvG;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAQ5F;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAGnE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEpD;AAED;qEACqE;AACrE,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAI7F;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,EAAE,CAYnE;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,EAAE,CAQrE;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,aAAa,CAWlF;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,YAAY,CAQhF;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,SAAS,EAAE,CAIhE;AAED;;yEAEyE;AACzE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,SAAS,EAAE,CAYhG"}
@@ -0,0 +1,22 @@
1
+ import type { CollectionItem, CollectionSchema, CollectionFieldSpec as FieldSpec, EmbedCache, EmbedView, RefCache, RefOption, RefRecordCache } from "@mulmoclaude/core/collection";
2
+ export declare function lookupRefDisplay(refCache: RefCache, targetSlug: string, itemSlug: string): string;
3
+ export declare function refOptionsFor(refCache: RefCache, targetSlug: string): RefOption[];
4
+ /** Dropdown options for an `embed` field's per-record picker (`idField`):
5
+ * every record in the target collection, labelled by its name/title (or
6
+ * primary key). Built from `embedCache` so it works for embed targets
7
+ * that aren't also `ref` targets (the profile collection, say). */
8
+ export declare function embedOptionsFor(embedCache: EmbedCache, targetSlug: string): RefOption[];
9
+ export declare function resolveEmbed(field: FieldSpec, record: CollectionItem | null, embedCache: EmbedCache): {
10
+ schema: CollectionSchema | null;
11
+ item: CollectionItem | null;
12
+ };
13
+ export declare function formatEmbedValue(field: FieldSpec, value: unknown, record: CollectionItem | null, locale: string): string;
14
+ /** Build the read-only embed view-models for one record. A function of the
15
+ * open record (not a bare computed) because a per-record `idField` embed
16
+ * resolves a different target per row. `schema` is the OPEN collection's
17
+ * schema (null when no collection is loaded → no views). */
18
+ export declare function buildEmbedViews(schema: CollectionSchema | null, embedCache: EmbedCache, record: CollectionItem | null, locale: string): Record<string, EmbedView>;
19
+ export declare function renderSubCell(subField: FieldSpec, value: unknown, record: CollectionItem | null, refCache: RefCache, locale: string): string;
20
+ export declare function evaluateDerived(field: FieldSpec, fieldKey: string, item: CollectionItem, schema: CollectionSchema | null, refRecords: RefRecordCache): number | null;
21
+ export declare function renderDerived(field: FieldSpec, computedValue: unknown, record: CollectionItem | null, locale: string): string;
22
+ //# sourceMappingURL=useCollectionRendering.renderers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollectionRendering.renderers.d.ts","sourceRoot":"","sources":["../../src/vue/useCollectionRendering.renderers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,mBAAmB,IAAI,SAAS,EAChC,UAAU,EAEV,SAAS,EACT,QAAQ,EACR,SAAS,EACT,cAAc,EACf,MAAM,8BAA8B,CAAC;AAGtC,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGjG;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,CAGj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"vue";
2
+ import { type CollectionApiResult } from "./uiContext";
3
+ import type { CollectionDetail, CollectionDetailResponse, CollectionSchema, EmbedCache, RefCache, RefRecordCache } from "@mulmoclaude/core/collection";
4
+ export interface LinkedCollectionCaches {
5
+ refCache: Ref<RefCache>;
6
+ refRecordCache: Ref<RefRecordCache>;
7
+ embedCache: Ref<EmbedCache>;
8
+ resetLinkedCaches: () => void;
9
+ loadLinkedCollections: (schema: CollectionSchema, expectedSlug: string) => Promise<void>;
10
+ }
11
+ export interface LinkedTargets {
12
+ refTargets: Set<string>;
13
+ embedTargets: Set<string>;
14
+ allTargets: string[];
15
+ }
16
+ export interface LinkedCachesSnapshot {
17
+ refCache: RefCache;
18
+ refRecordCache: RefRecordCache;
19
+ embedCache: EmbedCache;
20
+ }
21
+ type FetchCollectionDetail = (slug: string) => Promise<CollectionApiResult<CollectionDetailResponse>>;
22
+ /** The de-duplicated ref + embed target slugs a schema links to. `allTargets`
23
+ * is the union (each target fetched once even when both ref'd and embedded). */
24
+ export declare function linkedTargets(schema: CollectionSchema): LinkedTargets;
25
+ /** Fan-out fetch that hydrates the linked-collection caches. Best-effort: a
26
+ * target whose fetch *rejects* (vs. resolving `{ ok: false }`) is coerced to a
27
+ * skip and must not abort the others. Returns null when a quicker subsequent
28
+ * load has already moved on (stale-write guard) so the caller drops the write.
29
+ * Pure + injectable (`fetchDetail`, `currentSlug`) so both paths are testable. */
30
+ export declare function fetchLinkedCaches(targets: LinkedTargets, fetchDetail: FetchCollectionDetail, currentSlug: () => string | undefined, expectedSlug: string): Promise<LinkedCachesSnapshot | null>;
31
+ export declare function useLinkedCollectionCaches(collection: Ref<CollectionDetail | null>): LinkedCollectionCaches;
32
+ export {};
33
+ //# sourceMappingURL=useLinkedCollectionCaches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLinkedCollectionCaches.d.ts","sourceRoot":"","sources":["../../src/vue/useLinkedCollectionCaches.ts"],"names":[],"mappings":"AAOA,OAAO,EAAO,KAA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