@powerhousedao/vetra 4.1.0-dev.53 → 4.1.0-dev.55
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/document-models/app-module/gen/actions.d.ts +3 -1
- package/dist/document-models/app-module/gen/actions.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/actions.js +1 -0
- package/dist/document-models/app-module/gen/actions.js.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/actions.d.ts +10 -2
- package/dist/document-models/app-module/gen/base-operations/actions.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/creators.d.ts +4 -2
- package/dist/document-models/app-module/gen/base-operations/creators.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/creators.js +3 -1
- package/dist/document-models/app-module/gen/base-operations/creators.js.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/object.d.ts +3 -1
- package/dist/document-models/app-module/gen/base-operations/object.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/object.js +7 -1
- package/dist/document-models/app-module/gen/base-operations/object.js.map +1 -1
- package/dist/document-models/app-module/gen/base-operations/operations.d.ts +3 -1
- package/dist/document-models/app-module/gen/base-operations/operations.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/creators.d.ts +1 -0
- package/dist/document-models/app-module/gen/creators.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/creators.js +1 -0
- package/dist/document-models/app-module/gen/creators.js.map +1 -1
- package/dist/document-models/app-module/gen/dnd-operations/actions.d.ts +8 -0
- package/dist/document-models/app-module/gen/dnd-operations/actions.d.ts.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/actions.js +2 -0
- package/dist/document-models/app-module/gen/dnd-operations/actions.js.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/creators.d.ts +4 -0
- package/dist/document-models/app-module/gen/dnd-operations/creators.d.ts.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/creators.js +4 -0
- package/dist/document-models/app-module/gen/dnd-operations/creators.js.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/error.d.ts +2 -0
- package/dist/document-models/app-module/gen/dnd-operations/error.d.ts.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/error.js +2 -0
- package/dist/document-models/app-module/gen/dnd-operations/error.js.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/object.d.ts +7 -0
- package/dist/document-models/app-module/gen/dnd-operations/object.d.ts.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/object.js +8 -0
- package/dist/document-models/app-module/gen/dnd-operations/object.js.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/operations.d.ts +7 -0
- package/dist/document-models/app-module/gen/dnd-operations/operations.d.ts.map +1 -0
- package/dist/document-models/app-module/gen/dnd-operations/operations.js +2 -0
- package/dist/document-models/app-module/gen/dnd-operations/operations.js.map +1 -0
- package/dist/document-models/app-module/gen/document-model.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/document-model.js +45 -5
- package/dist/document-models/app-module/gen/document-model.js.map +1 -1
- package/dist/document-models/app-module/gen/object.d.ts +3 -1
- package/dist/document-models/app-module/gen/object.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/object.js +3 -1
- package/dist/document-models/app-module/gen/object.js.map +1 -1
- package/dist/document-models/app-module/gen/ph-factories.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/ph-factories.js +4 -0
- package/dist/document-models/app-module/gen/ph-factories.js.map +1 -1
- package/dist/document-models/app-module/gen/reducer.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/reducer.js +13 -0
- package/dist/document-models/app-module/gen/reducer.js.map +1 -1
- package/dist/document-models/app-module/gen/schema/types.d.ts +19 -0
- package/dist/document-models/app-module/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/schema/zod.d.ts +6 -1
- package/dist/document-models/app-module/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/schema/zod.js +31 -0
- package/dist/document-models/app-module/gen/schema/zod.js.map +1 -1
- package/dist/document-models/app-module/gen/utils.d.ts.map +1 -1
- package/dist/document-models/app-module/gen/utils.js +4 -0
- package/dist/document-models/app-module/gen/utils.js.map +1 -1
- package/dist/document-models/app-module/index.d.ts +4 -1
- package/dist/document-models/app-module/index.d.ts.map +1 -1
- package/dist/document-models/app-module/index.js +1 -1
- package/dist/document-models/app-module/index.js.map +1 -1
- package/dist/document-models/app-module/src/reducers/base-operations.d.ts.map +1 -1
- package/dist/document-models/app-module/src/reducers/base-operations.js +13 -0
- package/dist/document-models/app-module/src/reducers/base-operations.js.map +1 -1
- package/dist/document-models/app-module/src/reducers/dnd-operations.d.ts +3 -0
- package/dist/document-models/app-module/src/reducers/dnd-operations.d.ts.map +1 -0
- package/dist/document-models/app-module/src/reducers/dnd-operations.js +9 -0
- package/dist/document-models/app-module/src/reducers/dnd-operations.js.map +1 -0
- package/dist/document-models/app-module/src/tests/base-operations.test.js +20 -4
- package/dist/document-models/app-module/src/tests/base-operations.test.js.map +1 -1
- package/dist/document-models/app-module/src/tests/dnd-operations.test.d.ts +6 -0
- package/dist/document-models/app-module/src/tests/dnd-operations.test.d.ts.map +1 -0
- package/dist/document-models/app-module/src/tests/dnd-operations.test.js +25 -0
- package/dist/document-models/app-module/src/tests/dnd-operations.test.js.map +1 -0
- package/dist/editors/app-editor/components/AppEditorForm.d.ts +6 -0
- package/dist/editors/app-editor/components/AppEditorForm.d.ts.map +1 -1
- package/dist/editors/app-editor/components/AppEditorForm.js +53 -5
- package/dist/editors/app-editor/components/AppEditorForm.js.map +1 -1
- package/dist/editors/app-editor/editor.d.ts.map +1 -1
- package/dist/editors/app-editor/editor.js +12 -1
- package/dist/editors/app-editor/editor.js.map +1 -1
- package/dist/processors/codegen/document-handlers/generators/app-generator.d.ts.map +1 -1
- package/dist/processors/codegen/document-handlers/generators/app-generator.js +9 -1
- package/dist/processors/codegen/document-handlers/generators/app-generator.js.map +1 -1
- package/dist/processors/codegen/factory.d.ts.map +1 -1
- package/dist/processors/codegen/factory.js +6 -2
- package/dist/processors/codegen/factory.js.map +1 -1
- package/dist/processors/codegen/index.d.ts +1 -1
- package/dist/processors/codegen/index.d.ts.map +1 -1
- package/dist/processors/codegen/index.js +4 -6
- package/dist/processors/codegen/index.js.map +1 -1
- package/dist/style.css +130 -0
- package/dist/subgraphs/app-module/index.d.ts +3 -2
- package/dist/subgraphs/app-module/index.d.ts.map +1 -1
- package/dist/subgraphs/app-module/index.js.map +1 -1
- package/dist/subgraphs/app-module/resolvers.d.ts +2 -2
- package/dist/subgraphs/app-module/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/app-module/resolvers.js +45 -13
- package/dist/subgraphs/app-module/resolvers.js.map +1 -1
- package/dist/subgraphs/app-module/schema.d.ts.map +1 -1
- package/dist/subgraphs/app-module/schema.js +40 -0
- package/dist/subgraphs/app-module/schema.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
package/dist/style.css
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
59
59
|
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
60
60
|
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
61
|
+
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
62
|
+
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
61
63
|
--color-black: #000;
|
|
62
64
|
--color-white: #fff;
|
|
63
65
|
--spacing: 0.25rem;
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
--radius-xl: 0.75rem;
|
|
88
90
|
--radius-2xl: 1rem;
|
|
89
91
|
--radius-3xl: 1.5rem;
|
|
92
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
90
93
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
91
94
|
--animate-spin: spin 1s linear infinite;
|
|
92
95
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
@@ -272,6 +275,9 @@
|
|
|
272
275
|
.mt-6 {
|
|
273
276
|
margin-top: calc(var(--spacing) * 6);
|
|
274
277
|
}
|
|
278
|
+
.mr-2 {
|
|
279
|
+
margin-right: calc(var(--spacing) * 2);
|
|
280
|
+
}
|
|
275
281
|
.mb-2 {
|
|
276
282
|
margin-bottom: calc(var(--spacing) * 2);
|
|
277
283
|
}
|
|
@@ -302,6 +308,9 @@
|
|
|
302
308
|
.inline-flex {
|
|
303
309
|
display: inline-flex;
|
|
304
310
|
}
|
|
311
|
+
.h-4 {
|
|
312
|
+
height: calc(var(--spacing) * 4);
|
|
313
|
+
}
|
|
305
314
|
.h-\[200px\] {
|
|
306
315
|
height: 200px;
|
|
307
316
|
}
|
|
@@ -314,6 +323,9 @@
|
|
|
314
323
|
.min-h-screen {
|
|
315
324
|
min-height: 100vh;
|
|
316
325
|
}
|
|
326
|
+
.w-4 {
|
|
327
|
+
width: calc(var(--spacing) * 4);
|
|
328
|
+
}
|
|
317
329
|
.w-full {
|
|
318
330
|
width: 100%;
|
|
319
331
|
}
|
|
@@ -553,6 +565,9 @@
|
|
|
553
565
|
.text-yellow-800 {
|
|
554
566
|
color: var(--color-yellow-800);
|
|
555
567
|
}
|
|
568
|
+
.italic {
|
|
569
|
+
font-style: italic;
|
|
570
|
+
}
|
|
556
571
|
.filter {
|
|
557
572
|
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,);
|
|
558
573
|
}
|
|
@@ -1472,6 +1487,10 @@
|
|
|
1472
1487
|
--color-gray-700: hsl(189 5% 29%);
|
|
1473
1488
|
--color-gray-800: hsl(200 4% 26%);
|
|
1474
1489
|
--color-gray-900: hsl(192 5% 21%);
|
|
1490
|
+
--color-zinc-50: oklch(98.5% 0 0);
|
|
1491
|
+
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
1492
|
+
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
1493
|
+
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
1475
1494
|
--color-black: hsl(0 0% 0%);
|
|
1476
1495
|
--color-white: hsl(0 0% 100%);
|
|
1477
1496
|
--spacing: 0.25rem;
|
|
@@ -1501,6 +1520,7 @@
|
|
|
1501
1520
|
--radius-xl: 0.75rem;
|
|
1502
1521
|
--radius-2xl: 1rem;
|
|
1503
1522
|
--radius-3xl: 1.5rem;
|
|
1523
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
1504
1524
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1505
1525
|
--animate-spin: spin 1s linear infinite;
|
|
1506
1526
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
@@ -1757,6 +1777,9 @@
|
|
|
1757
1777
|
.right-3 {
|
|
1758
1778
|
right: calc(var(--spacing) * 3);
|
|
1759
1779
|
}
|
|
1780
|
+
.right-4 {
|
|
1781
|
+
right: calc(var(--spacing) * 4);
|
|
1782
|
+
}
|
|
1760
1783
|
.right-5 {
|
|
1761
1784
|
right: calc(var(--spacing) * 5);
|
|
1762
1785
|
}
|
|
@@ -1766,9 +1789,15 @@
|
|
|
1766
1789
|
.right-\[0px\] {
|
|
1767
1790
|
right: 0px;
|
|
1768
1791
|
}
|
|
1792
|
+
.-bottom-16 {
|
|
1793
|
+
bottom: calc(var(--spacing) * -16);
|
|
1794
|
+
}
|
|
1769
1795
|
.bottom-0 {
|
|
1770
1796
|
bottom: calc(var(--spacing) * 0);
|
|
1771
1797
|
}
|
|
1798
|
+
.bottom-4 {
|
|
1799
|
+
bottom: calc(var(--spacing) * 4);
|
|
1800
|
+
}
|
|
1772
1801
|
.bottom-5 {
|
|
1773
1802
|
bottom: calc(var(--spacing) * 5);
|
|
1774
1803
|
}
|
|
@@ -1814,6 +1843,12 @@
|
|
|
1814
1843
|
.z-\[20\] {
|
|
1815
1844
|
z-index: 20;
|
|
1816
1845
|
}
|
|
1846
|
+
.z-\[1000\] {
|
|
1847
|
+
z-index: 1000;
|
|
1848
|
+
}
|
|
1849
|
+
.z-\[1001\] {
|
|
1850
|
+
z-index: 1001;
|
|
1851
|
+
}
|
|
1817
1852
|
.container {
|
|
1818
1853
|
width: 100%;
|
|
1819
1854
|
@media (width >= 40rem) {
|
|
@@ -2067,9 +2102,15 @@
|
|
|
2067
2102
|
.h-0\.5 {
|
|
2068
2103
|
height: calc(var(--spacing) * 0.5);
|
|
2069
2104
|
}
|
|
2105
|
+
.h-2 {
|
|
2106
|
+
height: calc(var(--spacing) * 2);
|
|
2107
|
+
}
|
|
2070
2108
|
.h-3 {
|
|
2071
2109
|
height: calc(var(--spacing) * 3);
|
|
2072
2110
|
}
|
|
2111
|
+
.h-4 {
|
|
2112
|
+
height: calc(var(--spacing) * 4);
|
|
2113
|
+
}
|
|
2073
2114
|
.h-5 {
|
|
2074
2115
|
height: calc(var(--spacing) * 5);
|
|
2075
2116
|
}
|
|
@@ -2118,6 +2159,9 @@
|
|
|
2118
2159
|
.h-\[17px\] {
|
|
2119
2160
|
height: 17px;
|
|
2120
2161
|
}
|
|
2162
|
+
.h-\[18px\] {
|
|
2163
|
+
height: 18px;
|
|
2164
|
+
}
|
|
2121
2165
|
.h-\[22px\] {
|
|
2122
2166
|
height: 22px;
|
|
2123
2167
|
}
|
|
@@ -2133,6 +2177,9 @@
|
|
|
2133
2177
|
.h-\[52px\] {
|
|
2134
2178
|
height: 52px;
|
|
2135
2179
|
}
|
|
2180
|
+
.h-\[130px\] {
|
|
2181
|
+
height: 130px;
|
|
2182
|
+
}
|
|
2136
2183
|
.h-\[244px\] {
|
|
2137
2184
|
height: 244px;
|
|
2138
2185
|
}
|
|
@@ -2175,6 +2222,9 @@
|
|
|
2175
2222
|
.max-h-\[370px\] {
|
|
2176
2223
|
max-height: 370px;
|
|
2177
2224
|
}
|
|
2225
|
+
.max-h-\[404px\] {
|
|
2226
|
+
max-height: 404px;
|
|
2227
|
+
}
|
|
2178
2228
|
.max-h-screen {
|
|
2179
2229
|
max-height: 100vh;
|
|
2180
2230
|
}
|
|
@@ -2199,6 +2249,9 @@
|
|
|
2199
2249
|
.min-h-full {
|
|
2200
2250
|
min-height: 100%;
|
|
2201
2251
|
}
|
|
2252
|
+
.min-h-screen {
|
|
2253
|
+
min-height: 100vh;
|
|
2254
|
+
}
|
|
2202
2255
|
.w-\(--radix-popover-trigger-width\) {
|
|
2203
2256
|
width: var(--radix-popover-trigger-width);
|
|
2204
2257
|
}
|
|
@@ -2223,6 +2276,9 @@
|
|
|
2223
2276
|
.w-6 {
|
|
2224
2277
|
width: calc(var(--spacing) * 6);
|
|
2225
2278
|
}
|
|
2279
|
+
.w-7 {
|
|
2280
|
+
width: calc(var(--spacing) * 7);
|
|
2281
|
+
}
|
|
2226
2282
|
.w-8 {
|
|
2227
2283
|
width: calc(var(--spacing) * 8);
|
|
2228
2284
|
}
|
|
@@ -2247,6 +2303,9 @@
|
|
|
2247
2303
|
.w-\[6px\] {
|
|
2248
2304
|
width: 6px;
|
|
2249
2305
|
}
|
|
2306
|
+
.w-\[18px\] {
|
|
2307
|
+
width: 18px;
|
|
2308
|
+
}
|
|
2250
2309
|
.w-\[50px\] {
|
|
2251
2310
|
width: 50px;
|
|
2252
2311
|
}
|
|
@@ -2259,6 +2318,12 @@
|
|
|
2259
2318
|
.w-\[320px\] {
|
|
2260
2319
|
width: 320px;
|
|
2261
2320
|
}
|
|
2321
|
+
.w-\[338px\] {
|
|
2322
|
+
width: 338px;
|
|
2323
|
+
}
|
|
2324
|
+
.w-\[358px\] {
|
|
2325
|
+
width: 358px;
|
|
2326
|
+
}
|
|
2262
2327
|
.w-\[400px\] {
|
|
2263
2328
|
width: 400px;
|
|
2264
2329
|
}
|
|
@@ -2343,6 +2408,9 @@
|
|
|
2343
2408
|
.flex-none {
|
|
2344
2409
|
flex: none;
|
|
2345
2410
|
}
|
|
2411
|
+
.flex-shrink-0 {
|
|
2412
|
+
flex-shrink: 0;
|
|
2413
|
+
}
|
|
2346
2414
|
.shrink-0 {
|
|
2347
2415
|
flex-shrink: 0;
|
|
2348
2416
|
}
|
|
@@ -2367,6 +2435,9 @@
|
|
|
2367
2435
|
.-rotate-90 {
|
|
2368
2436
|
rotate: calc(90deg * -1);
|
|
2369
2437
|
}
|
|
2438
|
+
.rotate-0 {
|
|
2439
|
+
rotate: 0deg;
|
|
2440
|
+
}
|
|
2370
2441
|
.rotate-90 {
|
|
2371
2442
|
rotate: 90deg;
|
|
2372
2443
|
}
|
|
@@ -2454,6 +2525,9 @@
|
|
|
2454
2525
|
.justify-start {
|
|
2455
2526
|
justify-content: flex-start;
|
|
2456
2527
|
}
|
|
2528
|
+
.gap-0\.5 {
|
|
2529
|
+
gap: calc(var(--spacing) * 0.5);
|
|
2530
|
+
}
|
|
2457
2531
|
.gap-1 {
|
|
2458
2532
|
gap: calc(var(--spacing) * 1);
|
|
2459
2533
|
}
|
|
@@ -2534,12 +2608,18 @@
|
|
|
2534
2608
|
.overflow-scroll {
|
|
2535
2609
|
overflow: scroll;
|
|
2536
2610
|
}
|
|
2611
|
+
.overflow-visible {
|
|
2612
|
+
overflow: visible;
|
|
2613
|
+
}
|
|
2537
2614
|
.overflow-x-auto {
|
|
2538
2615
|
overflow-x: auto;
|
|
2539
2616
|
}
|
|
2540
2617
|
.overflow-x-hidden {
|
|
2541
2618
|
overflow-x: hidden;
|
|
2542
2619
|
}
|
|
2620
|
+
.overflow-x-visible {
|
|
2621
|
+
overflow-x: visible;
|
|
2622
|
+
}
|
|
2543
2623
|
.overflow-y-auto {
|
|
2544
2624
|
overflow-y: auto;
|
|
2545
2625
|
}
|
|
@@ -2555,6 +2635,9 @@
|
|
|
2555
2635
|
.rounded-\[2px\] {
|
|
2556
2636
|
border-radius: 2px;
|
|
2557
2637
|
}
|
|
2638
|
+
.rounded-\[24px\] {
|
|
2639
|
+
border-radius: 24px;
|
|
2640
|
+
}
|
|
2558
2641
|
.rounded-full {
|
|
2559
2642
|
border-radius: calc(infinity * 1px);
|
|
2560
2643
|
}
|
|
@@ -2648,6 +2731,9 @@
|
|
|
2648
2731
|
--tw-border-style: solid;
|
|
2649
2732
|
border-style: solid;
|
|
2650
2733
|
}
|
|
2734
|
+
.border-black {
|
|
2735
|
+
border-color: var(--color-black);
|
|
2736
|
+
}
|
|
2651
2737
|
.border-blue-600 {
|
|
2652
2738
|
border-color: var(--color-blue-600);
|
|
2653
2739
|
}
|
|
@@ -2693,6 +2779,9 @@
|
|
|
2693
2779
|
.border-white {
|
|
2694
2780
|
border-color: var(--color-white);
|
|
2695
2781
|
}
|
|
2782
|
+
.border-zinc-200 {
|
|
2783
|
+
border-color: var(--color-zinc-200);
|
|
2784
|
+
}
|
|
2696
2785
|
.border-b-gray-300 {
|
|
2697
2786
|
border-bottom-color: var(--color-gray-300);
|
|
2698
2787
|
}
|
|
@@ -2702,6 +2791,15 @@
|
|
|
2702
2791
|
.bg-black {
|
|
2703
2792
|
background-color: var(--color-black);
|
|
2704
2793
|
}
|
|
2794
|
+
.bg-black\/50 {
|
|
2795
|
+
background-color: color-mix(in srgb, hsl(0 0% 0%) 50%, transparent);
|
|
2796
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2797
|
+
background-color: color-mix(in srgb, #000 50%, transparent);
|
|
2798
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2799
|
+
background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2705
2803
|
.bg-blue-100 {
|
|
2706
2804
|
background-color: var(--color-blue-100);
|
|
2707
2805
|
}
|
|
@@ -2801,6 +2899,9 @@
|
|
|
2801
2899
|
.bg-white {
|
|
2802
2900
|
background-color: var(--color-white);
|
|
2803
2901
|
}
|
|
2902
|
+
.bg-zinc-50 {
|
|
2903
|
+
background-color: var(--color-zinc-50);
|
|
2904
|
+
}
|
|
2804
2905
|
.object-contain {
|
|
2805
2906
|
object-fit: contain;
|
|
2806
2907
|
}
|
|
@@ -2870,6 +2971,9 @@
|
|
|
2870
2971
|
.py-4 {
|
|
2871
2972
|
padding-block: calc(var(--spacing) * 4);
|
|
2872
2973
|
}
|
|
2974
|
+
.py-6 {
|
|
2975
|
+
padding-block: calc(var(--spacing) * 6);
|
|
2976
|
+
}
|
|
2873
2977
|
.py-28 {
|
|
2874
2978
|
padding-block: calc(var(--spacing) * 28);
|
|
2875
2979
|
}
|
|
@@ -3033,6 +3137,9 @@
|
|
|
3033
3137
|
.text-nowrap {
|
|
3034
3138
|
text-wrap: nowrap;
|
|
3035
3139
|
}
|
|
3140
|
+
.break-words {
|
|
3141
|
+
overflow-wrap: break-word;
|
|
3142
|
+
}
|
|
3036
3143
|
.whitespace-nowrap {
|
|
3037
3144
|
white-space: nowrap;
|
|
3038
3145
|
}
|
|
@@ -3147,6 +3254,12 @@
|
|
|
3147
3254
|
.text-yellow-900 {
|
|
3148
3255
|
color: var(--color-yellow-900);
|
|
3149
3256
|
}
|
|
3257
|
+
.text-zinc-500 {
|
|
3258
|
+
color: var(--color-zinc-500);
|
|
3259
|
+
}
|
|
3260
|
+
.text-zinc-600 {
|
|
3261
|
+
color: var(--color-zinc-600);
|
|
3262
|
+
}
|
|
3150
3263
|
.capitalize {
|
|
3151
3264
|
text-transform: capitalize;
|
|
3152
3265
|
}
|
|
@@ -3175,10 +3288,18 @@
|
|
|
3175
3288
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3176
3289
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3177
3290
|
}
|
|
3291
|
+
.shadow-\[0_2px_12px_rgba\(37\,42\,52\,0\.1\)\] {
|
|
3292
|
+
--tw-shadow: 0 2px 12px var(--tw-shadow-color, rgba(37,42,52,0.1));
|
|
3293
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3294
|
+
}
|
|
3178
3295
|
.shadow-\[1px_4px_15px_0px_rgba\(74\,88\,115\,0\.25\)\] {
|
|
3179
3296
|
--tw-shadow: 1px 4px 15px 0px var(--tw-shadow-color, rgba(74,88,115,0.25));
|
|
3180
3297
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3181
3298
|
}
|
|
3299
|
+
.shadow-\[1px_4px_15px_rgba\(74\,88\,115\,0\.25\)\] {
|
|
3300
|
+
--tw-shadow: 1px 4px 15px var(--tw-shadow-color, rgba(74,88,115,0.25));
|
|
3301
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3302
|
+
}
|
|
3182
3303
|
.shadow-button {
|
|
3183
3304
|
--tw-shadow: 0px -1px 1px 0px var(--tw-shadow-color, rgba(0, 0, 0, 0.04)) inset, 0px 2px 0px 0px var(--tw-shadow-color, rgba(255, 255, 255, 0.25)) inset, 0px 4px 8px -4px var(--tw-shadow-color, rgba(0, 0, 0, 0.1));
|
|
3184
3305
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3253,6 +3374,11 @@
|
|
|
3253
3374
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
3254
3375
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
3255
3376
|
}
|
|
3377
|
+
.transition-transform {
|
|
3378
|
+
transition-property: transform, translate, scale, rotate;
|
|
3379
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
3380
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
3381
|
+
}
|
|
3256
3382
|
.duration-150 {
|
|
3257
3383
|
--tw-duration: 150ms;
|
|
3258
3384
|
transition-duration: 150ms;
|
|
@@ -3269,6 +3395,10 @@
|
|
|
3269
3395
|
--tw-ease: var(--ease-in-out);
|
|
3270
3396
|
transition-timing-function: var(--ease-in-out);
|
|
3271
3397
|
}
|
|
3398
|
+
.ease-out {
|
|
3399
|
+
--tw-ease: var(--ease-out);
|
|
3400
|
+
transition-timing-function: var(--ease-out);
|
|
3401
|
+
}
|
|
3272
3402
|
.outline-none {
|
|
3273
3403
|
--tw-outline-style: none;
|
|
3274
3404
|
outline-style: none;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Subgraph } from "@powerhousedao/reactor-api";
|
|
2
|
+
import type { DocumentNode } from "graphql";
|
|
2
3
|
export declare class AppModuleSubgraph extends Subgraph {
|
|
3
4
|
name: string;
|
|
4
|
-
typeDefs:
|
|
5
|
-
resolvers: Record<string,
|
|
5
|
+
typeDefs: DocumentNode;
|
|
6
|
+
resolvers: Record<string, unknown>;
|
|
6
7
|
additionalContextFields: {};
|
|
7
8
|
onSetup(): Promise<void>;
|
|
8
9
|
onDisconnect(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,qBAAa,iBAAkB,SAAQ,QAAQ;IAC7C,IAAI,SAAgB;IACpB,QAAQ,EAAE,YAAY,CAAU;IAChC,SAAS,0BAAsB;IAC/B,uBAAuB,KAAM;IACvB,OAAO;IACP,YAAY;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../subgraphs/app-module/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../subgraphs/app-module/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,OAAO,iBAAkB,SAAQ,QAAQ;IAC7C,IAAI,GAAG,YAAY,CAAC;IACpB,QAAQ,GAAiB,MAAM,CAAC;IAChC,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAC/B,uBAAuB,GAAG,EAAE,CAAC;IAC7B,KAAK,CAAC,OAAO,KAAI,CAAC;IAClB,KAAK,CAAC,YAAY,KAAI,CAAC;CACxB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const getResolvers: (subgraph: Subgraph) => Record<string,
|
|
1
|
+
import { type Subgraph } from "@powerhousedao/reactor-api";
|
|
2
|
+
export declare const getResolvers: (subgraph: Subgraph) => Record<string, unknown>;
|
|
3
3
|
//# sourceMappingURL=resolvers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAa3D,eAAO,MAAM,YAAY,GAAI,UAAU,QAAQ,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA0MvE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { addFile } from "document-drive";
|
|
2
2
|
import { setName } from "document-model";
|
|
3
|
-
import { actions } from "../../document-models/app-module/index.js";
|
|
3
|
+
import { actions, } from "../../document-models/app-module/index.js";
|
|
4
4
|
export const getResolvers = (subgraph) => {
|
|
5
5
|
const reactor = subgraph.reactor;
|
|
6
6
|
return {
|
|
@@ -23,12 +23,10 @@ export const getResolvers = (subgraph) => {
|
|
|
23
23
|
driveId: driveId,
|
|
24
24
|
...doc,
|
|
25
25
|
...doc.header,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
|
31
|
-
stateJSON: doc.state.global ?? "{}",
|
|
26
|
+
created: doc.header.createdAtUtcIso,
|
|
27
|
+
lastModified: doc.header.lastModifiedAtUtcIso,
|
|
28
|
+
state: doc.state.global,
|
|
29
|
+
stateJSON: doc.state.global,
|
|
32
30
|
revision: doc.header?.revision?.global ?? 0,
|
|
33
31
|
};
|
|
34
32
|
},
|
|
@@ -41,12 +39,10 @@ export const getResolvers = (subgraph) => {
|
|
|
41
39
|
driveId: driveId,
|
|
42
40
|
...doc,
|
|
43
41
|
...doc.header,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
|
49
|
-
stateJSON: doc.state.global ?? "{}",
|
|
42
|
+
created: doc.header.createdAtUtcIso,
|
|
43
|
+
lastModified: doc.header.lastModifiedAtUtcIso,
|
|
44
|
+
state: doc.state.global,
|
|
45
|
+
stateJSON: doc.state.global,
|
|
50
46
|
revision: doc.header?.revision?.global ?? 0,
|
|
51
47
|
};
|
|
52
48
|
}));
|
|
@@ -95,6 +91,42 @@ export const getResolvers = (subgraph) => {
|
|
|
95
91
|
}
|
|
96
92
|
return true;
|
|
97
93
|
},
|
|
94
|
+
AppModule_addDocumentType: async (_, args) => {
|
|
95
|
+
const { docId, input } = args;
|
|
96
|
+
const doc = await reactor.getDocument(docId);
|
|
97
|
+
if (!doc) {
|
|
98
|
+
throw new Error("Document not found");
|
|
99
|
+
}
|
|
100
|
+
const result = await reactor.addAction(docId, actions.addDocumentType(input));
|
|
101
|
+
if (result.status !== "SUCCESS") {
|
|
102
|
+
throw new Error(result.error?.message ?? "Failed to addDocumentType");
|
|
103
|
+
}
|
|
104
|
+
return true;
|
|
105
|
+
},
|
|
106
|
+
AppModule_removeDocumentType: async (_, args) => {
|
|
107
|
+
const { docId, input } = args;
|
|
108
|
+
const doc = await reactor.getDocument(docId);
|
|
109
|
+
if (!doc) {
|
|
110
|
+
throw new Error("Document not found");
|
|
111
|
+
}
|
|
112
|
+
const result = await reactor.addAction(docId, actions.removeDocumentType(input));
|
|
113
|
+
if (result.status !== "SUCCESS") {
|
|
114
|
+
throw new Error(result.error?.message ?? "Failed to removeDocumentType");
|
|
115
|
+
}
|
|
116
|
+
return true;
|
|
117
|
+
},
|
|
118
|
+
AppModule_setDragAndDropEnabled: async (_, args) => {
|
|
119
|
+
const { docId, input } = args;
|
|
120
|
+
const doc = await reactor.getDocument(docId);
|
|
121
|
+
if (!doc) {
|
|
122
|
+
throw new Error("Document not found");
|
|
123
|
+
}
|
|
124
|
+
const result = await reactor.addAction(docId, actions.setDragAndDropEnabled(input));
|
|
125
|
+
if (result.status !== "SUCCESS") {
|
|
126
|
+
throw new Error(result.error?.message ?? "Failed to setDragAndDropEnabled");
|
|
127
|
+
}
|
|
128
|
+
return true;
|
|
129
|
+
},
|
|
98
130
|
},
|
|
99
131
|
};
|
|
100
132
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.js","sourceRoot":"","sources":["../../../subgraphs/app-module/resolvers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"resolvers.js","sourceRoot":"","sources":["../../../subgraphs/app-module/resolvers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EACL,OAAO,GAOR,MAAM,2CAA2C,CAAC;AAEnD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAkB,EAA2B,EAAE;IAC1E,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;IAEjC,OAAO;QACL,KAAK,EAAE;YACL,SAAS,EAAE,KAAK,IAAI,EAAE;gBACpB,OAAO;oBACL,WAAW,EAAE,KAAK,EAAE,IAAwC,EAAE,EAAE;wBAC9D,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;wBAEhC,IAAI,CAAC,KAAK,EAAE,CAAC;4BACX,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC7C,CAAC;wBAED,IAAI,OAAO,EAAE,CAAC;4BACZ,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;4BACnD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gCAC5B,MAAM,IAAI,KAAK,CACb,oBAAoB,KAAK,mBAAmB,OAAO,EAAE,CACtD,CAAC;4BACJ,CAAC;wBACH,CAAC;wBAED,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,WAAW,CAAoB,KAAK,CAAC,CAAC;wBAChE,OAAO;4BACL,OAAO,EAAE,OAAO;4BAChB,GAAG,GAAG;4BACN,GAAG,GAAG,CAAC,MAAM;4BACb,OAAO,EAAE,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,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/app-module/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YA6FpB,CAAC"}
|
|
@@ -6,6 +6,8 @@ export const schema = gql `
|
|
|
6
6
|
type AppModuleState {
|
|
7
7
|
name: String!
|
|
8
8
|
status: StatusType!
|
|
9
|
+
documentTypes: [DocumentTypeItem!]
|
|
10
|
+
dragAndDrop: DragAndDropSettings
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
enum StatusType {
|
|
@@ -13,6 +15,15 @@ export const schema = gql `
|
|
|
13
15
|
CONFIRMED
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
type DocumentTypeItem {
|
|
19
|
+
id: OID!
|
|
20
|
+
documentType: String!
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type DragAndDropSettings {
|
|
24
|
+
enabled: Boolean!
|
|
25
|
+
}
|
|
26
|
+
|
|
16
27
|
"""
|
|
17
28
|
Queries: AppModule
|
|
18
29
|
"""
|
|
@@ -41,6 +52,21 @@ export const schema = gql `
|
|
|
41
52
|
docId: PHID
|
|
42
53
|
input: AppModule_SetAppStatusInput
|
|
43
54
|
): Int
|
|
55
|
+
AppModule_addDocumentType(
|
|
56
|
+
driveId: String
|
|
57
|
+
docId: PHID
|
|
58
|
+
input: AppModule_AddDocumentTypeInput
|
|
59
|
+
): Int
|
|
60
|
+
AppModule_removeDocumentType(
|
|
61
|
+
driveId: String
|
|
62
|
+
docId: PHID
|
|
63
|
+
input: AppModule_RemoveDocumentTypeInput
|
|
64
|
+
): Int
|
|
65
|
+
AppModule_setDragAndDropEnabled(
|
|
66
|
+
driveId: String
|
|
67
|
+
docId: PHID
|
|
68
|
+
input: AppModule_SetDragAndDropEnabledInput
|
|
69
|
+
): Int
|
|
44
70
|
}
|
|
45
71
|
|
|
46
72
|
"""
|
|
@@ -52,5 +78,19 @@ export const schema = gql `
|
|
|
52
78
|
input AppModule_SetAppStatusInput {
|
|
53
79
|
status: StatusType!
|
|
54
80
|
}
|
|
81
|
+
input AppModule_AddDocumentTypeInput {
|
|
82
|
+
id: OID!
|
|
83
|
+
documentType: String!
|
|
84
|
+
}
|
|
85
|
+
input AppModule_RemoveDocumentTypeInput {
|
|
86
|
+
id: OID!
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
"""
|
|
90
|
+
Module: DndOperations
|
|
91
|
+
"""
|
|
92
|
+
input AppModule_SetDragAndDropEnabledInput {
|
|
93
|
+
enabled: Boolean!
|
|
94
|
+
}
|
|
55
95
|
`;
|
|
56
96
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../subgraphs/app-module/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAGlC,MAAM,CAAC,MAAM,MAAM,GAAiB,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../subgraphs/app-module/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAGlC,MAAM,CAAC,MAAM,MAAM,GAAiB,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FtC,CAAC"}
|