jaml-ui 4.2.5 → 4.2.8
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/chunks/JimboWordmark-ByO9yaAi.js +284 -0
- package/dist/chunks/JimboWordmark-ByO9yaAi.js.map +1 -0
- package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js +692 -0
- package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js.map +1 -0
- package/dist/chunks/{spriteMapper-BiDkbZrD.js → spriteMapper-Dfr2_j0_.js} +55 -34
- package/dist/chunks/{spriteMapper-BiDkbZrD.js.map → spriteMapper-Dfr2_j0_.js.map} +1 -1
- package/dist/components/JamlCodeEditor.d.ts +8 -0
- package/dist/components/JamlIde.d.ts +44 -0
- package/dist/components/JamlIdeToolbar.d.ts +15 -0
- package/dist/components/JamlIdeVisual.d.ts +31 -0
- package/dist/components/JamlMapPreview.d.ts +12 -0
- package/dist/components/JamlSeedInput.d.ts +24 -0
- package/dist/components/JamlSeedSpinner.d.ts +10 -0
- package/dist/components/Jamlyzer.d.ts +8 -0
- package/dist/components/jamlMap/CategoryPicker.d.ts +33 -0
- package/dist/components/jamlMap/JamlMapEditor.d.ts +15 -0
- package/dist/components/jamlMap/JokerPicker.d.ts +9 -0
- package/dist/components/jamlMap/MysterySlot.d.ts +37 -0
- package/dist/components/jamlMap/index.d.ts +4 -0
- package/dist/components/jamlMap/jokerRarity.d.ts +6 -0
- package/dist/components/jamlSeedUtils.d.ts +1 -0
- package/dist/core.js +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.js +21720 -3300
- package/dist/index.js.map +1 -1
- package/dist/lib/jaml/jamlLangCodemirror.d.ts +13 -0
- package/dist/lib/jaml/jamlSeeds.d.ts +7 -0
- package/dist/lib/motely/motelyCompatEnums.d.ts +310 -0
- package/dist/lib/motely/runtime.d.ts +1 -0
- package/dist/motely.js +44 -718
- package/dist/motely.js.map +1 -1
- package/dist/ui/JimboApp.d.ts +15 -0
- package/dist/ui/JimboBadge.d.ts +12 -0
- package/dist/ui/JimboIconButton.d.ts +15 -0
- package/dist/ui/JimboInlineEdit.d.ts +16 -0
- package/dist/ui/JimboInset.d.ts +4 -0
- package/dist/ui/JimboLayout.d.ts +26 -0
- package/dist/ui/JimboListItem.d.ts +5 -0
- package/dist/ui/JimboPanel.d.ts +10 -3
- package/dist/ui/JimboPicker.d.ts +19 -0
- package/dist/ui/JimboSectionHeader.d.ts +8 -0
- package/dist/ui/JimboSeedCopyChip.d.ts +16 -0
- package/dist/ui/JimboSpinner.d.ts +19 -0
- package/dist/ui/JimboSwipeDeck.d.ts +17 -0
- package/dist/ui/JimboTextInput.d.ts +5 -0
- package/dist/ui/JimboWordmark.d.ts +7 -0
- package/dist/ui/hooks.d.ts +126 -0
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/jimboFlankNav.d.ts +17 -0
- package/dist/ui/jimboTabs.d.ts +10 -0
- package/dist/ui/jimboText.d.ts +8 -0
- package/dist/ui/panel.d.ts +13 -0
- package/dist/ui/sprites.d.ts +10 -0
- package/dist/ui/tokens.d.ts +21 -8
- package/dist/ui.d.ts +5 -0
- package/dist/ui.js +12 -7
- package/dist/utils/jamlMapPreview.d.ts +12 -0
- package/dist/utils/jamlVisualFilter.d.ts +3 -0
- package/package.json +12 -4
- package/dist/.gitkeep +0 -0
- package/dist/chunks/JimboBackground-CB7u0r54.js +0 -214
- package/dist/chunks/JimboBackground-CB7u0r54.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
|
2
|
+
/**
|
|
3
|
+
* CodeMirror completion source backed by jaml-lang's context-aware completions.
|
|
4
|
+
* Tap into `joker: ` and you get the joker list; type `Blue` and it narrows to
|
|
5
|
+
* Blueprint. Keys insert `label: `, values insert the bare value.
|
|
6
|
+
*/
|
|
7
|
+
export declare function jamlCompletionSource(context: CompletionContext): CompletionResult | null;
|
|
8
|
+
/**
|
|
9
|
+
* CodeMirror lint source backed by jaml-lang diagnostics (YAML syntax + Zod
|
|
10
|
+
* structural validation). The Motely WASM engine stays the final authority;
|
|
11
|
+
* this is the fast structural gate.
|
|
12
|
+
*/
|
|
13
|
+
export declare const jamlLinter: import('@codemirror/state').Extension;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Read top-level `seeds:` entries from a JAML document. */
|
|
2
|
+
export declare function parseJamlSeeds(jaml: string): string[];
|
|
3
|
+
/**
|
|
4
|
+
* Write seeds into JAML the same way Motely CLI `--save-seeds` does:
|
|
5
|
+
* replace the top-level `seeds:` block (or append one if missing).
|
|
6
|
+
*/
|
|
7
|
+
export declare function mergeSeedsIntoJaml(jaml: string, seeds: string[], max?: number): string;
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
export declare const MotelyJokerCommon: {
|
|
2
|
+
readonly Joker: 0;
|
|
3
|
+
readonly GreedyJoker: 1;
|
|
4
|
+
readonly LustyJoker: 2;
|
|
5
|
+
readonly WrathfulJoker: 3;
|
|
6
|
+
readonly GluttonousJoker: 4;
|
|
7
|
+
readonly JollyJoker: 5;
|
|
8
|
+
readonly ZanyJoker: 6;
|
|
9
|
+
readonly MadJoker: 7;
|
|
10
|
+
readonly CrazyJoker: 8;
|
|
11
|
+
readonly DrollJoker: 9;
|
|
12
|
+
readonly SlyJoker: 10;
|
|
13
|
+
readonly WilyJoker: 11;
|
|
14
|
+
readonly CleverJoker: 12;
|
|
15
|
+
readonly DeviousJoker: 13;
|
|
16
|
+
readonly CraftyJoker: 14;
|
|
17
|
+
readonly HalfJoker: 15;
|
|
18
|
+
readonly CreditCard: 16;
|
|
19
|
+
readonly Banner: 17;
|
|
20
|
+
readonly MysticSummit: 18;
|
|
21
|
+
readonly EightBall: 19;
|
|
22
|
+
readonly Misprint: 20;
|
|
23
|
+
readonly RaisedFist: 21;
|
|
24
|
+
readonly ChaostheClown: 22;
|
|
25
|
+
readonly ScaryFace: 23;
|
|
26
|
+
readonly AbstractJoker: 24;
|
|
27
|
+
readonly DelayedGratification: 25;
|
|
28
|
+
readonly GrosMichel: 26;
|
|
29
|
+
readonly EvenSteven: 27;
|
|
30
|
+
readonly OddTodd: 28;
|
|
31
|
+
readonly Scholar: 29;
|
|
32
|
+
readonly BusinessCard: 30;
|
|
33
|
+
readonly Supernova: 31;
|
|
34
|
+
readonly RideTheBus: 32;
|
|
35
|
+
readonly Egg: 33;
|
|
36
|
+
readonly Runner: 34;
|
|
37
|
+
readonly IceCream: 35;
|
|
38
|
+
readonly Splash: 36;
|
|
39
|
+
readonly BlueJoker: 37;
|
|
40
|
+
readonly FacelessJoker: 38;
|
|
41
|
+
readonly GreenJoker: 39;
|
|
42
|
+
readonly Superposition: 40;
|
|
43
|
+
readonly ToDoList: 41;
|
|
44
|
+
readonly Cavendish: 42;
|
|
45
|
+
readonly RedCard: 43;
|
|
46
|
+
readonly SquareJoker: 44;
|
|
47
|
+
readonly RiffRaff: 45;
|
|
48
|
+
readonly Photograph: 46;
|
|
49
|
+
readonly ReservedParking: 47;
|
|
50
|
+
readonly MailInRebate: 48;
|
|
51
|
+
readonly Hallucination: 49;
|
|
52
|
+
readonly FortuneTeller: 50;
|
|
53
|
+
readonly Juggler: 51;
|
|
54
|
+
readonly Drunkard: 52;
|
|
55
|
+
readonly GoldenJoker: 53;
|
|
56
|
+
readonly Popcorn: 54;
|
|
57
|
+
readonly WalkieTalkie: 55;
|
|
58
|
+
readonly SmileyFace: 56;
|
|
59
|
+
readonly GoldenTicket: 57;
|
|
60
|
+
readonly Swashbuckler: 58;
|
|
61
|
+
readonly HangingChad: 59;
|
|
62
|
+
readonly ShootTheMoon: 60;
|
|
63
|
+
};
|
|
64
|
+
export declare const MotelyJokerUncommon: {
|
|
65
|
+
readonly JokerStencil: 0;
|
|
66
|
+
readonly FourFingers: 1;
|
|
67
|
+
readonly Mime: 2;
|
|
68
|
+
readonly CeremonialDagger: 3;
|
|
69
|
+
readonly MarbleJoker: 4;
|
|
70
|
+
readonly LoyaltyCard: 5;
|
|
71
|
+
readonly Dusk: 6;
|
|
72
|
+
readonly Fibonacci: 7;
|
|
73
|
+
readonly SteelJoker: 8;
|
|
74
|
+
readonly Hack: 9;
|
|
75
|
+
readonly Pareidolia: 10;
|
|
76
|
+
readonly SpaceJoker: 11;
|
|
77
|
+
readonly Burglar: 12;
|
|
78
|
+
readonly Blackboard: 13;
|
|
79
|
+
readonly SixthSense: 14;
|
|
80
|
+
readonly Constellation: 15;
|
|
81
|
+
readonly Hiker: 16;
|
|
82
|
+
readonly CardSharp: 17;
|
|
83
|
+
readonly Madness: 18;
|
|
84
|
+
readonly Seance: 19;
|
|
85
|
+
readonly Vampire: 20;
|
|
86
|
+
readonly Shortcut: 21;
|
|
87
|
+
readonly Hologram: 22;
|
|
88
|
+
readonly Cloud9: 23;
|
|
89
|
+
readonly Rocket: 24;
|
|
90
|
+
readonly MidasMask: 25;
|
|
91
|
+
readonly Luchador: 26;
|
|
92
|
+
readonly GiftCard: 27;
|
|
93
|
+
readonly TurtleBean: 28;
|
|
94
|
+
readonly Erosion: 29;
|
|
95
|
+
readonly ToTheMoon: 30;
|
|
96
|
+
readonly StoneJoker: 31;
|
|
97
|
+
readonly LuckyCat: 32;
|
|
98
|
+
readonly Bull: 33;
|
|
99
|
+
readonly DietCola: 34;
|
|
100
|
+
readonly TradingCard: 35;
|
|
101
|
+
readonly FlashCard: 36;
|
|
102
|
+
readonly SpareTrousers: 37;
|
|
103
|
+
readonly Ramen: 38;
|
|
104
|
+
readonly Seltzer: 39;
|
|
105
|
+
readonly Castle: 40;
|
|
106
|
+
readonly MrBones: 41;
|
|
107
|
+
readonly Acrobat: 42;
|
|
108
|
+
readonly SockAndBuskin: 43;
|
|
109
|
+
readonly Troubadour: 44;
|
|
110
|
+
readonly Certificate: 45;
|
|
111
|
+
readonly SmearedJoker: 46;
|
|
112
|
+
readonly Throwback: 47;
|
|
113
|
+
readonly RoughGem: 48;
|
|
114
|
+
readonly Bloodstone: 49;
|
|
115
|
+
readonly Arrowhead: 50;
|
|
116
|
+
readonly OnyxAgate: 51;
|
|
117
|
+
readonly GlassJoker: 52;
|
|
118
|
+
readonly Showman: 53;
|
|
119
|
+
readonly FlowerPot: 54;
|
|
120
|
+
readonly MerryAndy: 55;
|
|
121
|
+
readonly OopsAll6s: 56;
|
|
122
|
+
readonly TheIdol: 57;
|
|
123
|
+
readonly SeeingDouble: 58;
|
|
124
|
+
readonly Matador: 59;
|
|
125
|
+
readonly Satellite: 60;
|
|
126
|
+
readonly Cartomancer: 61;
|
|
127
|
+
readonly Astronomer: 62;
|
|
128
|
+
readonly Bootstraps: 63;
|
|
129
|
+
};
|
|
130
|
+
export declare const MotelyJokerRare: {
|
|
131
|
+
readonly DNA: 0;
|
|
132
|
+
readonly Vagabond: 1;
|
|
133
|
+
readonly Baron: 2;
|
|
134
|
+
readonly Obelisk: 3;
|
|
135
|
+
readonly BaseballCard: 4;
|
|
136
|
+
readonly AncientJoker: 5;
|
|
137
|
+
readonly Campfire: 6;
|
|
138
|
+
readonly Blueprint: 7;
|
|
139
|
+
readonly WeeJoker: 8;
|
|
140
|
+
readonly HitTheRoad: 9;
|
|
141
|
+
readonly TheDuo: 10;
|
|
142
|
+
readonly TheTrio: 11;
|
|
143
|
+
readonly TheFamily: 12;
|
|
144
|
+
readonly TheOrder: 13;
|
|
145
|
+
readonly TheTribe: 14;
|
|
146
|
+
readonly Stuntman: 15;
|
|
147
|
+
readonly InvisibleJoker: 16;
|
|
148
|
+
readonly Brainstorm: 17;
|
|
149
|
+
readonly DriversLicense: 18;
|
|
150
|
+
readonly BurntJoker: 19;
|
|
151
|
+
};
|
|
152
|
+
export declare const MotelyJokerLegendary: {
|
|
153
|
+
readonly Canio: 0;
|
|
154
|
+
readonly Triboulet: 1;
|
|
155
|
+
readonly Yorick: 2;
|
|
156
|
+
readonly Chicot: 3;
|
|
157
|
+
readonly Perkeo: 4;
|
|
158
|
+
};
|
|
159
|
+
export declare const MotelyJoker: {
|
|
160
|
+
readonly Canio: 0;
|
|
161
|
+
readonly Triboulet: 1;
|
|
162
|
+
readonly Yorick: 2;
|
|
163
|
+
readonly Chicot: 3;
|
|
164
|
+
readonly Perkeo: 4;
|
|
165
|
+
readonly DNA: 0;
|
|
166
|
+
readonly Vagabond: 1;
|
|
167
|
+
readonly Baron: 2;
|
|
168
|
+
readonly Obelisk: 3;
|
|
169
|
+
readonly BaseballCard: 4;
|
|
170
|
+
readonly AncientJoker: 5;
|
|
171
|
+
readonly Campfire: 6;
|
|
172
|
+
readonly Blueprint: 7;
|
|
173
|
+
readonly WeeJoker: 8;
|
|
174
|
+
readonly HitTheRoad: 9;
|
|
175
|
+
readonly TheDuo: 10;
|
|
176
|
+
readonly TheTrio: 11;
|
|
177
|
+
readonly TheFamily: 12;
|
|
178
|
+
readonly TheOrder: 13;
|
|
179
|
+
readonly TheTribe: 14;
|
|
180
|
+
readonly Stuntman: 15;
|
|
181
|
+
readonly InvisibleJoker: 16;
|
|
182
|
+
readonly Brainstorm: 17;
|
|
183
|
+
readonly DriversLicense: 18;
|
|
184
|
+
readonly BurntJoker: 19;
|
|
185
|
+
readonly JokerStencil: 0;
|
|
186
|
+
readonly FourFingers: 1;
|
|
187
|
+
readonly Mime: 2;
|
|
188
|
+
readonly CeremonialDagger: 3;
|
|
189
|
+
readonly MarbleJoker: 4;
|
|
190
|
+
readonly LoyaltyCard: 5;
|
|
191
|
+
readonly Dusk: 6;
|
|
192
|
+
readonly Fibonacci: 7;
|
|
193
|
+
readonly SteelJoker: 8;
|
|
194
|
+
readonly Hack: 9;
|
|
195
|
+
readonly Pareidolia: 10;
|
|
196
|
+
readonly SpaceJoker: 11;
|
|
197
|
+
readonly Burglar: 12;
|
|
198
|
+
readonly Blackboard: 13;
|
|
199
|
+
readonly SixthSense: 14;
|
|
200
|
+
readonly Constellation: 15;
|
|
201
|
+
readonly Hiker: 16;
|
|
202
|
+
readonly CardSharp: 17;
|
|
203
|
+
readonly Madness: 18;
|
|
204
|
+
readonly Seance: 19;
|
|
205
|
+
readonly Vampire: 20;
|
|
206
|
+
readonly Shortcut: 21;
|
|
207
|
+
readonly Hologram: 22;
|
|
208
|
+
readonly Cloud9: 23;
|
|
209
|
+
readonly Rocket: 24;
|
|
210
|
+
readonly MidasMask: 25;
|
|
211
|
+
readonly Luchador: 26;
|
|
212
|
+
readonly GiftCard: 27;
|
|
213
|
+
readonly TurtleBean: 28;
|
|
214
|
+
readonly Erosion: 29;
|
|
215
|
+
readonly ToTheMoon: 30;
|
|
216
|
+
readonly StoneJoker: 31;
|
|
217
|
+
readonly LuckyCat: 32;
|
|
218
|
+
readonly Bull: 33;
|
|
219
|
+
readonly DietCola: 34;
|
|
220
|
+
readonly TradingCard: 35;
|
|
221
|
+
readonly FlashCard: 36;
|
|
222
|
+
readonly SpareTrousers: 37;
|
|
223
|
+
readonly Ramen: 38;
|
|
224
|
+
readonly Seltzer: 39;
|
|
225
|
+
readonly Castle: 40;
|
|
226
|
+
readonly MrBones: 41;
|
|
227
|
+
readonly Acrobat: 42;
|
|
228
|
+
readonly SockAndBuskin: 43;
|
|
229
|
+
readonly Troubadour: 44;
|
|
230
|
+
readonly Certificate: 45;
|
|
231
|
+
readonly SmearedJoker: 46;
|
|
232
|
+
readonly Throwback: 47;
|
|
233
|
+
readonly RoughGem: 48;
|
|
234
|
+
readonly Bloodstone: 49;
|
|
235
|
+
readonly Arrowhead: 50;
|
|
236
|
+
readonly OnyxAgate: 51;
|
|
237
|
+
readonly GlassJoker: 52;
|
|
238
|
+
readonly Showman: 53;
|
|
239
|
+
readonly FlowerPot: 54;
|
|
240
|
+
readonly MerryAndy: 55;
|
|
241
|
+
readonly OopsAll6s: 56;
|
|
242
|
+
readonly TheIdol: 57;
|
|
243
|
+
readonly SeeingDouble: 58;
|
|
244
|
+
readonly Matador: 59;
|
|
245
|
+
readonly Satellite: 60;
|
|
246
|
+
readonly Cartomancer: 61;
|
|
247
|
+
readonly Astronomer: 62;
|
|
248
|
+
readonly Bootstraps: 63;
|
|
249
|
+
readonly Joker: 0;
|
|
250
|
+
readonly GreedyJoker: 1;
|
|
251
|
+
readonly LustyJoker: 2;
|
|
252
|
+
readonly WrathfulJoker: 3;
|
|
253
|
+
readonly GluttonousJoker: 4;
|
|
254
|
+
readonly JollyJoker: 5;
|
|
255
|
+
readonly ZanyJoker: 6;
|
|
256
|
+
readonly MadJoker: 7;
|
|
257
|
+
readonly CrazyJoker: 8;
|
|
258
|
+
readonly DrollJoker: 9;
|
|
259
|
+
readonly SlyJoker: 10;
|
|
260
|
+
readonly WilyJoker: 11;
|
|
261
|
+
readonly CleverJoker: 12;
|
|
262
|
+
readonly DeviousJoker: 13;
|
|
263
|
+
readonly CraftyJoker: 14;
|
|
264
|
+
readonly HalfJoker: 15;
|
|
265
|
+
readonly CreditCard: 16;
|
|
266
|
+
readonly Banner: 17;
|
|
267
|
+
readonly MysticSummit: 18;
|
|
268
|
+
readonly EightBall: 19;
|
|
269
|
+
readonly Misprint: 20;
|
|
270
|
+
readonly RaisedFist: 21;
|
|
271
|
+
readonly ChaostheClown: 22;
|
|
272
|
+
readonly ScaryFace: 23;
|
|
273
|
+
readonly AbstractJoker: 24;
|
|
274
|
+
readonly DelayedGratification: 25;
|
|
275
|
+
readonly GrosMichel: 26;
|
|
276
|
+
readonly EvenSteven: 27;
|
|
277
|
+
readonly OddTodd: 28;
|
|
278
|
+
readonly Scholar: 29;
|
|
279
|
+
readonly BusinessCard: 30;
|
|
280
|
+
readonly Supernova: 31;
|
|
281
|
+
readonly RideTheBus: 32;
|
|
282
|
+
readonly Egg: 33;
|
|
283
|
+
readonly Runner: 34;
|
|
284
|
+
readonly IceCream: 35;
|
|
285
|
+
readonly Splash: 36;
|
|
286
|
+
readonly BlueJoker: 37;
|
|
287
|
+
readonly FacelessJoker: 38;
|
|
288
|
+
readonly GreenJoker: 39;
|
|
289
|
+
readonly Superposition: 40;
|
|
290
|
+
readonly ToDoList: 41;
|
|
291
|
+
readonly Cavendish: 42;
|
|
292
|
+
readonly RedCard: 43;
|
|
293
|
+
readonly SquareJoker: 44;
|
|
294
|
+
readonly RiffRaff: 45;
|
|
295
|
+
readonly Photograph: 46;
|
|
296
|
+
readonly ReservedParking: 47;
|
|
297
|
+
readonly MailInRebate: 48;
|
|
298
|
+
readonly Hallucination: 49;
|
|
299
|
+
readonly FortuneTeller: 50;
|
|
300
|
+
readonly Juggler: 51;
|
|
301
|
+
readonly Drunkard: 52;
|
|
302
|
+
readonly GoldenJoker: 53;
|
|
303
|
+
readonly Popcorn: 54;
|
|
304
|
+
readonly WalkieTalkie: 55;
|
|
305
|
+
readonly SmileyFace: 56;
|
|
306
|
+
readonly GoldenTicket: 57;
|
|
307
|
+
readonly Swashbuckler: 58;
|
|
308
|
+
readonly HangingChad: 59;
|
|
309
|
+
readonly ShootTheMoon: 60;
|
|
310
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ensureMotelyReady(): Promise<void>;
|