@shopify/cli-kit 3.47.5 → 3.48.0
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/assets/cli-ruby/lib/project_types/extension/messages/messages.rb +18 -1
- package/assets/cli-ruby/lib/shopify_cli/constants.rb +1 -0
- package/assets/cli-ruby/lib/shopify_cli/environment.rb +7 -0
- package/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server.rb +8 -2
- package/dist/private/node/ui/alert.js +3 -1
- package/dist/private/node/ui/alert.js.map +1 -1
- package/dist/private/node/ui/components/Alert.d.ts +1 -1
- package/dist/private/node/ui/components/Alert.js.map +1 -1
- package/dist/private/node/ui/components/AutocompletePrompt.d.ts +7 -2
- package/dist/private/node/ui/components/AutocompletePrompt.js +28 -91
- package/dist/private/node/ui/components/AutocompletePrompt.js.map +1 -1
- package/dist/private/node/ui/components/AutocompletePrompt.test.js +317 -257
- package/dist/private/node/ui/components/AutocompletePrompt.test.js.map +1 -1
- package/dist/private/node/ui/components/ConcurrentOutput.d.ts +1 -0
- package/dist/private/node/ui/components/ConcurrentOutput.js +59 -32
- package/dist/private/node/ui/components/ConcurrentOutput.js.map +1 -1
- package/dist/private/node/ui/components/ConcurrentOutput.test.js +62 -22
- package/dist/private/node/ui/components/ConcurrentOutput.test.js.map +1 -1
- package/dist/private/node/ui/components/DangerousConfirmationPrompt.d.ts +12 -0
- package/dist/private/node/ui/components/DangerousConfirmationPrompt.js +77 -0
- package/dist/private/node/ui/components/DangerousConfirmationPrompt.js.map +1 -0
- package/dist/private/node/ui/components/DangerousConfirmationPrompt.test.js +101 -0
- package/dist/private/node/ui/components/DangerousConfirmationPrompt.test.js.map +1 -0
- package/dist/private/node/ui/components/List.d.ts +1 -0
- package/dist/private/node/ui/components/List.js +2 -2
- package/dist/private/node/ui/components/List.js.map +1 -1
- package/dist/private/node/ui/components/{GitDiff.d.ts → Prompts/GitDiff.d.ts} +4 -2
- package/dist/private/node/ui/components/{GitDiff.js → Prompts/GitDiff.js} +3 -2
- package/dist/private/node/ui/components/Prompts/GitDiff.js.map +1 -0
- package/dist/private/node/ui/components/Prompts/GitDiff.test.d.ts +1 -0
- package/dist/private/node/ui/components/{GitDiff.test.js → Prompts/GitDiff.test.js} +50 -28
- package/dist/private/node/ui/components/Prompts/GitDiff.test.js.map +1 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.d.ts +14 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.js +11 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.js.map +1 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.test.d.ts +1 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.test.js +21 -0
- package/dist/private/node/ui/components/Prompts/InfoMessage.test.js.map +1 -0
- package/dist/private/node/ui/components/Prompts/InfoTable.d.ts +1 -0
- package/dist/private/node/ui/components/Prompts/InfoTable.js +11 -7
- package/dist/private/node/ui/components/Prompts/InfoTable.js.map +1 -1
- package/dist/private/node/ui/components/Prompts/InfoTable.test.js +6 -4
- package/dist/private/node/ui/components/Prompts/InfoTable.test.js.map +1 -1
- package/dist/private/node/ui/components/Prompts/PromptLayout.d.ts +21 -0
- package/dist/private/node/ui/components/Prompts/PromptLayout.js +73 -0
- package/dist/private/node/ui/components/Prompts/PromptLayout.js.map +1 -0
- package/dist/private/node/ui/components/Prompts/PromptLayout.test.d.ts +1 -0
- package/dist/private/node/ui/components/Prompts/PromptLayout.test.js +129 -0
- package/dist/private/node/ui/components/Prompts/PromptLayout.test.js.map +1 -0
- package/dist/private/node/ui/components/Scrollbar.d.ts +10 -0
- package/dist/private/node/ui/components/Scrollbar.js +44 -0
- package/dist/private/node/ui/components/Scrollbar.js.map +1 -0
- package/dist/private/node/ui/components/Scrollbar.test.d.ts +1 -0
- package/dist/private/node/ui/components/Scrollbar.test.js +96 -0
- package/dist/private/node/ui/components/Scrollbar.test.js.map +1 -0
- package/dist/private/node/ui/components/SelectInput.d.ts +3 -6
- package/dist/private/node/ui/components/SelectInput.js +57 -41
- package/dist/private/node/ui/components/SelectInput.js.map +1 -1
- package/dist/private/node/ui/components/SelectInput.test.js +120 -192
- package/dist/private/node/ui/components/SelectInput.test.js.map +1 -1
- package/dist/private/node/ui/components/SelectPrompt.d.ts +7 -6
- package/dist/private/node/ui/components/SelectPrompt.js +11 -68
- package/dist/private/node/ui/components/SelectPrompt.js.map +1 -1
- package/dist/private/node/ui/components/SelectPrompt.test.js +135 -65
- package/dist/private/node/ui/components/SelectPrompt.test.js.map +1 -1
- package/dist/private/node/ui/components/Table/Row.js +2 -1
- package/dist/private/node/ui/components/Table/Row.js.map +1 -1
- package/dist/private/node/ui/components/Table/Table.js +2 -1
- package/dist/private/node/ui/components/Table/Table.js.map +1 -1
- package/dist/private/node/ui/components/Tasks.js +1 -8
- package/dist/private/node/ui/components/Tasks.js.map +1 -1
- package/dist/private/node/ui/components/TextInput.d.ts +1 -0
- package/dist/private/node/ui/components/TextInput.js +10 -4
- package/dist/private/node/ui/components/TextInput.js.map +1 -1
- package/dist/private/node/ui/components/TextInput.test.js +27 -18
- package/dist/private/node/ui/components/TextInput.test.js.map +1 -1
- package/dist/private/node/ui/components/TextPrompt.d.ts +2 -3
- package/dist/private/node/ui/components/TextPrompt.js +18 -16
- package/dist/private/node/ui/components/TextPrompt.js.map +1 -1
- package/dist/private/node/ui/components/TextPrompt.test.js +25 -11
- package/dist/private/node/ui/components/TextPrompt.test.js.map +1 -1
- package/dist/private/node/ui/hooks/use-prompt.d.ts +18 -0
- package/dist/private/node/ui/hooks/use-prompt.js +20 -0
- package/dist/private/node/ui/hooks/use-prompt.js.map +1 -0
- package/dist/private/node/ui/hooks/use-select-state.d.ts +4 -4
- package/dist/private/node/ui/hooks/use-select-state.js +9 -9
- package/dist/private/node/ui/hooks/use-select-state.js.map +1 -1
- package/dist/public/common/object.d.ts +16 -0
- package/dist/public/common/object.js +26 -0
- package/dist/public/common/object.js.map +1 -1
- package/dist/public/common/string.d.ts +16 -0
- package/dist/public/common/string.js +30 -0
- package/dist/public/common/string.js.map +1 -1
- package/dist/public/common/version.d.ts +1 -1
- package/dist/public/common/version.js +1 -1
- package/dist/public/common/version.js.map +1 -1
- package/dist/public/node/analytics.js +3 -1
- package/dist/public/node/analytics.js.map +1 -1
- package/dist/public/node/base-command.d.ts +1 -0
- package/dist/public/node/base-command.js +21 -1
- package/dist/public/node/base-command.js.map +1 -1
- package/dist/public/node/figures.d.ts +2 -0
- package/dist/public/node/figures.js +3 -0
- package/dist/public/node/figures.js.map +1 -0
- package/dist/public/node/metadata.d.ts +2 -1
- package/dist/public/node/metadata.js +5 -2
- package/dist/public/node/metadata.js.map +1 -1
- package/dist/public/node/monorail.d.ts +22 -1
- package/dist/public/node/monorail.js +1 -1
- package/dist/public/node/monorail.js.map +1 -1
- package/dist/public/node/output.d.ts +1 -1
- package/dist/public/node/output.js +1 -1
- package/dist/public/node/output.js.map +1 -1
- package/dist/public/node/ruby.d.ts +1 -0
- package/dist/public/node/ruby.js +1 -0
- package/dist/public/node/ruby.js.map +1 -1
- package/dist/public/node/system.js +2 -2
- package/dist/public/node/system.js.map +1 -1
- package/dist/public/node/themes/models/theme.d.ts +2 -1
- package/dist/public/node/themes/models/theme.js +2 -1
- package/dist/public/node/themes/models/theme.js.map +1 -1
- package/dist/public/node/themes/theme-urls.d.ts +1 -0
- package/dist/public/node/themes/theme-urls.js +4 -0
- package/dist/public/node/themes/theme-urls.js.map +1 -1
- package/dist/public/node/themes/themes-api.d.ts +9 -1
- package/dist/public/node/themes/themes-api.js +14 -3
- package/dist/public/node/themes/themes-api.js.map +1 -1
- package/dist/public/node/toml.d.ts +3 -2
- package/dist/public/node/toml.js +5 -2
- package/dist/public/node/toml.js.map +1 -1
- package/dist/public/node/ui.d.ts +82 -27
- package/dist/public/node/ui.js +97 -32
- package/dist/public/node/ui.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/dist/private/node/ui/components/GitDiff.js.map +0 -1
- package/dist/private/node/ui/components/GitDiff.test.js.map +0 -1
- /package/dist/private/node/ui/components/{GitDiff.test.d.ts → DangerousConfirmationPrompt.test.d.ts} +0 -0
|
@@ -87,14 +87,14 @@ describe('AutocompletePrompt', async () => {
|
|
|
87
87
|
{ label: 'third', value: 'third' },
|
|
88
88
|
];
|
|
89
89
|
const infoTable = { Add: ['new-ext'], Remove: ['integrated-demand-ext', 'order-discount'] };
|
|
90
|
-
const renderInstance = render(React.createElement(AutocompletePrompt, { message:
|
|
90
|
+
const renderInstance = render(React.createElement(AutocompletePrompt, { message: ['Associate your project with the org', { userInput: 'Castile Ventures' }, { char: '?' }], choices: items, infoTable: infoTable, onSubmit: onEnter, search: () => Promise.resolve({
|
|
91
91
|
data: [],
|
|
92
92
|
}) }));
|
|
93
93
|
await waitForInputsToBeReady();
|
|
94
94
|
await sendInputAndWaitForChange(renderInstance, ARROW_DOWN);
|
|
95
95
|
await sendInputAndWaitForChange(renderInstance, ENTER);
|
|
96
96
|
expect(getLastFrameAfterUnmount(renderInstance)).toMatchInlineSnapshot(`
|
|
97
|
-
"? Associate your project with the org
|
|
97
|
+
"? Associate your project with the org [36mCastile Ventures[39m?
|
|
98
98
|
[36m✔[39m [36msecond[39m
|
|
99
99
|
"
|
|
100
100
|
`);
|
|
@@ -102,11 +102,11 @@ describe('AutocompletePrompt', async () => {
|
|
|
102
102
|
});
|
|
103
103
|
test('renders groups', async () => {
|
|
104
104
|
const items = [
|
|
105
|
-
{ label: 'first', value: 'first', group: 'Automations'
|
|
106
|
-
{ label: 'second', value: 'second', group: 'Automations'
|
|
105
|
+
{ label: 'first', value: 'first', group: 'Automations' },
|
|
106
|
+
{ label: 'second', value: 'second', group: 'Automations' },
|
|
107
107
|
{ label: 'third', value: 'third', group: 'Merchant Admin' },
|
|
108
108
|
{ label: 'fourth', value: 'fourth', group: 'Merchant Admin' },
|
|
109
|
-
{ label: 'fifth', value: 'fifth'
|
|
109
|
+
{ label: 'fifth', value: 'fifth' },
|
|
110
110
|
{ label: 'sixth', value: 'sixth' },
|
|
111
111
|
{ label: 'seventh', value: 'seventh' },
|
|
112
112
|
{ label: 'eighth', value: 'eighth' },
|
|
@@ -117,25 +117,25 @@ describe('AutocompletePrompt', async () => {
|
|
|
117
117
|
data: [],
|
|
118
118
|
}) }));
|
|
119
119
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
120
|
-
"? Associate your project with the org Castile Ventures?
|
|
120
|
+
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
121
121
|
|
|
122
122
|
[1mAutomations[22m
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
[36m>[39m [36mfirst[39m
|
|
124
|
+
second
|
|
125
125
|
|
|
126
126
|
[1mMerchant Admin[22m
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
third
|
|
128
|
+
fourth
|
|
129
129
|
|
|
130
130
|
[1mOther[22m
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
131
|
+
fifth
|
|
132
|
+
sixth
|
|
133
|
+
seventh
|
|
134
|
+
eighth
|
|
135
|
+
ninth
|
|
136
|
+
tenth
|
|
137
|
+
|
|
138
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
139
139
|
"
|
|
140
140
|
`);
|
|
141
141
|
});
|
|
@@ -154,17 +154,77 @@ describe('AutocompletePrompt', async () => {
|
|
|
154
154
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
155
155
|
"? Associate your project with the org Castile Ventures?
|
|
156
156
|
|
|
157
|
-
|
|
157
|
+
┃ \u001b[1mAdd\u001b[22m
|
|
158
|
+
┃ • new-ext
|
|
159
|
+
┃
|
|
160
|
+
┃ \u001b[1mRemove\u001b[22m
|
|
161
|
+
┃ • integrated-demand-ext
|
|
162
|
+
┃ • order-discount
|
|
163
|
+
|
|
164
|
+
[36m>[39m [36mfirst[39m
|
|
165
|
+
second
|
|
166
|
+
third
|
|
167
|
+
fourth
|
|
168
|
+
|
|
169
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
170
|
+
"
|
|
171
|
+
`);
|
|
172
|
+
});
|
|
173
|
+
test('supports a git diff', async () => {
|
|
174
|
+
const items = [
|
|
175
|
+
{ label: 'first', value: 'first' },
|
|
176
|
+
{ label: 'second', value: 'second' },
|
|
177
|
+
{ label: 'third', value: 'third' },
|
|
178
|
+
{ label: 'fourth', value: 'fourth' },
|
|
179
|
+
];
|
|
180
|
+
const gitDiff = {
|
|
181
|
+
baselineContent: 'hello\n',
|
|
182
|
+
updatedContent: 'world\n',
|
|
183
|
+
};
|
|
184
|
+
const renderInstance = render(React.createElement(AutocompletePrompt, { message: "Associate your project with the org Castile Ventures?", choices: items, gitDiff: gitDiff, onSubmit: () => { }, search: () => Promise.resolve({ data: [] }) }));
|
|
185
|
+
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
186
|
+
"? Associate your project with the org Castile Ventures?
|
|
187
|
+
|
|
188
|
+
┃ [31m- hello[m
|
|
189
|
+
┃ [32m+ [m[32mworld[m
|
|
190
|
+
|
|
191
|
+
[36m>[39m [36mfirst[39m
|
|
192
|
+
second
|
|
193
|
+
third
|
|
194
|
+
fourth
|
|
195
|
+
|
|
196
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
197
|
+
"
|
|
198
|
+
`);
|
|
199
|
+
});
|
|
200
|
+
test('supports an info message', async () => {
|
|
201
|
+
const items = [
|
|
202
|
+
{ label: 'first', value: 'first' },
|
|
203
|
+
{ label: 'second', value: 'second' },
|
|
204
|
+
{ label: 'third', value: 'third' },
|
|
205
|
+
{ label: 'fourth', value: 'fourth' },
|
|
206
|
+
];
|
|
207
|
+
const infoMessage = {
|
|
208
|
+
title: {
|
|
209
|
+
color: 'red',
|
|
210
|
+
text: 'Info message title',
|
|
211
|
+
},
|
|
212
|
+
body: 'Info message body',
|
|
213
|
+
};
|
|
214
|
+
const renderInstance = render(React.createElement(AutocompletePrompt, { message: "Associate your project with the org Castile Ventures?", choices: items, infoMessage: infoMessage, onSubmit: () => { }, search: () => Promise.resolve({ data: [] }) }));
|
|
215
|
+
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
216
|
+
"? Associate your project with the org Castile Ventures?
|
|
158
217
|
|
|
159
|
-
|
|
160
|
-
|
|
218
|
+
┃ [31mInfo message title[39m
|
|
219
|
+
┃
|
|
220
|
+
┃ Info message body
|
|
161
221
|
|
|
162
222
|
[36m>[39m [36mfirst[39m
|
|
163
223
|
second
|
|
164
224
|
third
|
|
165
225
|
fourth
|
|
166
226
|
|
|
167
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
227
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
168
228
|
"
|
|
169
229
|
`);
|
|
170
230
|
});
|
|
@@ -182,9 +242,35 @@ describe('AutocompletePrompt', async () => {
|
|
|
182
242
|
// prompt doesn't change when enter is pressed
|
|
183
243
|
await sendInputAndWait(renderInstance, 100, ENTER);
|
|
184
244
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
185
|
-
"? Associate your project with the org Castile Ventures? [36ma[
|
|
245
|
+
"? Associate your project with the org Castile Ventures? [36ma[46m█[49m[39m
|
|
186
246
|
|
|
187
247
|
[2mNo results found.[22m
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
[2mTry again with a different keyword.[22m
|
|
188
274
|
"
|
|
189
275
|
`);
|
|
190
276
|
expect(onEnter).not.toHaveBeenCalled();
|
|
@@ -205,7 +291,7 @@ describe('AutocompletePrompt', async () => {
|
|
|
205
291
|
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
206
292
|
await sendInputAndWait(renderInstance, 100, ENTER);
|
|
207
293
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
208
|
-
"? Associate your project with the org Castile Ventures? [36ma[
|
|
294
|
+
"? Associate your project with the org Castile Ventures? [36ma[46m█[49m[39m
|
|
209
295
|
|
|
210
296
|
[2mLoading...[22m
|
|
211
297
|
"
|
|
@@ -223,171 +309,144 @@ describe('AutocompletePrompt', async () => {
|
|
|
223
309
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
224
310
|
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
225
311
|
|
|
226
|
-
[36m>[39m [36mfirst[39m
|
|
227
|
-
second
|
|
228
|
-
third
|
|
229
|
-
fourth
|
|
230
|
-
fifth
|
|
231
|
-
sixth
|
|
232
|
-
seventh
|
|
233
|
-
eighth
|
|
234
|
-
ninth
|
|
235
|
-
tenth
|
|
236
|
-
eleventh
|
|
237
|
-
twelfth
|
|
238
|
-
thirteenth
|
|
239
|
-
fourteenth
|
|
240
|
-
fifteenth
|
|
241
|
-
sixteenth
|
|
242
|
-
seventeenth
|
|
243
|
-
eighteenth
|
|
244
|
-
nineteenth
|
|
245
|
-
twentieth
|
|
246
|
-
twenty-first
|
|
247
|
-
twenty-second
|
|
248
|
-
twenty-third
|
|
249
|
-
twenty-fourth
|
|
250
|
-
twenty-fifth
|
|
251
|
-
|
|
252
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
312
|
+
[36m>[39m [36mfirst[39m [46m [49m
|
|
313
|
+
second [46m [49m
|
|
314
|
+
third [46m [49m
|
|
315
|
+
fourth [46m [49m
|
|
316
|
+
fifth [46m [49m
|
|
317
|
+
sixth [46m [49m
|
|
318
|
+
seventh [46m [49m
|
|
319
|
+
eighth [46m [49m
|
|
320
|
+
ninth [46m [49m
|
|
321
|
+
tenth [46m [49m
|
|
322
|
+
eleventh [46m [49m
|
|
323
|
+
twelfth [46m [49m
|
|
324
|
+
thirteenth [46m [49m
|
|
325
|
+
fourteenth [100m [49m
|
|
326
|
+
fifteenth [100m [49m
|
|
327
|
+
sixteenth [100m [49m
|
|
328
|
+
seventeenth [100m [49m
|
|
329
|
+
eighteenth [100m [49m
|
|
330
|
+
nineteenth [100m [49m
|
|
331
|
+
twentieth [100m [49m
|
|
332
|
+
twenty-first [100m [49m
|
|
333
|
+
twenty-second [100m [49m
|
|
334
|
+
twenty-third [100m [49m
|
|
335
|
+
twenty-fourth [100m [49m
|
|
336
|
+
twenty-fifth [100m [49m
|
|
337
|
+
|
|
338
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
253
339
|
"
|
|
254
340
|
`);
|
|
255
341
|
await waitForInputsToBeReady();
|
|
256
342
|
await sendInputAndWaitForContent(renderInstance, 'th[1mi[22mrty-sixth', 'i');
|
|
257
343
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
258
|
-
"? Associate your project with the org Castile Ventures? [36mi[
|
|
259
|
-
|
|
260
|
-
[36m>[39m [36mf[1mi[22mrst[39m
|
|
261
|
-
th[1mi[22mrd
|
|
262
|
-
f[1mi[22mfth
|
|
263
|
-
s[1mi[22mxth
|
|
264
|
-
e[1mi[22mghth
|
|
265
|
-
n[1mi[22mnth
|
|
266
|
-
th[1mi[22mrteenth
|
|
267
|
-
f[1mi[22mfteenth
|
|
268
|
-
s[1mi[22mxteenth
|
|
269
|
-
e[1mi[22mghteenth
|
|
270
|
-
n[1mi[22mneteenth
|
|
271
|
-
twent[1mi[22meth
|
|
272
|
-
twenty-f[1mi[22mrst
|
|
273
|
-
twenty-th[1mi[22mrd
|
|
274
|
-
twenty-f[1mi[22mfth
|
|
275
|
-
twenty-s[1mi[22mxth
|
|
276
|
-
twenty-e[1mi[22mghth
|
|
277
|
-
twenty-n[1mi[22mnth
|
|
278
|
-
th[1mi[22mrtieth
|
|
279
|
-
th[1mi[22mrty-first
|
|
280
|
-
th[1mi[22mrty-second
|
|
281
|
-
th[1mi[22mrty-third
|
|
282
|
-
th[1mi[22mrty-fourth
|
|
283
|
-
th[1mi[22mrty-fifth
|
|
284
|
-
th[1mi[22mrty-sixth
|
|
285
|
-
|
|
286
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
344
|
+
"? Associate your project with the org Castile Ventures? [36mi[46m█[49m[39m
|
|
345
|
+
|
|
346
|
+
[36m>[39m [36mf[1mi[22mrst[39m [46m [49m
|
|
347
|
+
th[1mi[22mrd [46m [49m
|
|
348
|
+
f[1mi[22mfth [46m [49m
|
|
349
|
+
s[1mi[22mxth [46m [49m
|
|
350
|
+
e[1mi[22mghth [46m [49m
|
|
351
|
+
n[1mi[22mnth [46m [49m
|
|
352
|
+
th[1mi[22mrteenth [46m [49m
|
|
353
|
+
f[1mi[22mfteenth [46m [49m
|
|
354
|
+
s[1mi[22mxteenth [46m [49m
|
|
355
|
+
e[1mi[22mghteenth [46m [49m
|
|
356
|
+
n[1mi[22mneteenth [46m [49m
|
|
357
|
+
twent[1mi[22meth [46m [49m
|
|
358
|
+
twenty-f[1mi[22mrst [46m [49m
|
|
359
|
+
twenty-th[1mi[22mrd [46m [49m
|
|
360
|
+
twenty-f[1mi[22mfth [46m [49m
|
|
361
|
+
twenty-s[1mi[22mxth [46m [49m
|
|
362
|
+
twenty-e[1mi[22mghth [46m [49m
|
|
363
|
+
twenty-n[1mi[22mnth [46m [49m
|
|
364
|
+
th[1mi[22mrtieth [100m [49m
|
|
365
|
+
th[1mi[22mrty-first [100m [49m
|
|
366
|
+
th[1mi[22mrty-second [100m [49m
|
|
367
|
+
th[1mi[22mrty-third [100m [49m
|
|
368
|
+
th[1mi[22mrty-fourth [100m [49m
|
|
369
|
+
th[1mi[22mrty-fifth [100m [49m
|
|
370
|
+
th[1mi[22mrty-sixth [100m [49m
|
|
371
|
+
|
|
372
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
287
373
|
"
|
|
288
374
|
`);
|
|
289
375
|
await sendInputAndWaitForChange(renderInstance, DELETE);
|
|
290
376
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
291
377
|
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
292
378
|
|
|
293
|
-
[36m>[39m [36mfirst[39m
|
|
294
|
-
second
|
|
295
|
-
third
|
|
296
|
-
fourth
|
|
297
|
-
fifth
|
|
298
|
-
sixth
|
|
299
|
-
seventh
|
|
300
|
-
eighth
|
|
301
|
-
ninth
|
|
302
|
-
tenth
|
|
303
|
-
eleventh
|
|
304
|
-
twelfth
|
|
305
|
-
thirteenth
|
|
306
|
-
fourteenth
|
|
307
|
-
fifteenth
|
|
308
|
-
sixteenth
|
|
309
|
-
seventeenth
|
|
310
|
-
eighteenth
|
|
311
|
-
nineteenth
|
|
312
|
-
twentieth
|
|
313
|
-
twenty-first
|
|
314
|
-
twenty-second
|
|
315
|
-
twenty-third
|
|
316
|
-
twenty-fourth
|
|
317
|
-
twenty-fifth
|
|
318
|
-
|
|
319
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
379
|
+
[36m>[39m [36mfirst[39m [46m [49m
|
|
380
|
+
second [46m [49m
|
|
381
|
+
third [46m [49m
|
|
382
|
+
fourth [46m [49m
|
|
383
|
+
fifth [46m [49m
|
|
384
|
+
sixth [46m [49m
|
|
385
|
+
seventh [46m [49m
|
|
386
|
+
eighth [46m [49m
|
|
387
|
+
ninth [46m [49m
|
|
388
|
+
tenth [46m [49m
|
|
389
|
+
eleventh [46m [49m
|
|
390
|
+
twelfth [46m [49m
|
|
391
|
+
thirteenth [46m [49m
|
|
392
|
+
fourteenth [100m [49m
|
|
393
|
+
fifteenth [100m [49m
|
|
394
|
+
sixteenth [100m [49m
|
|
395
|
+
seventeenth [100m [49m
|
|
396
|
+
eighteenth [100m [49m
|
|
397
|
+
nineteenth [100m [49m
|
|
398
|
+
twentieth [100m [49m
|
|
399
|
+
twenty-first [100m [49m
|
|
400
|
+
twenty-second [100m [49m
|
|
401
|
+
twenty-third [100m [49m
|
|
402
|
+
twenty-fourth [100m [49m
|
|
403
|
+
twenty-fifth [100m [49m
|
|
404
|
+
|
|
405
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
320
406
|
"
|
|
321
407
|
`);
|
|
322
408
|
await sendInputAndWaitForContent(renderInstance, 'th[1mi[22mrty-sixth', 'i');
|
|
323
409
|
await sendInputAndWaitForChange(renderInstance, ARROW_DOWN);
|
|
324
410
|
await sendInputAndWaitForChange(renderInstance, ARROW_DOWN);
|
|
325
411
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
326
|
-
"? Associate your project with the org Castile Ventures? [36mi[
|
|
327
|
-
|
|
328
|
-
f[1mi[22mrst
|
|
329
|
-
th[1mi[22mrd
|
|
330
|
-
[36m>[39m [36mf[1mi[22mfth[39m
|
|
331
|
-
s[1mi[22mxth
|
|
332
|
-
e[1mi[22mghth
|
|
333
|
-
n[1mi[22mnth
|
|
334
|
-
th[1mi[22mrteenth
|
|
335
|
-
f[1mi[22mfteenth
|
|
336
|
-
s[1mi[22mxteenth
|
|
337
|
-
e[1mi[22mghteenth
|
|
338
|
-
n[1mi[22mneteenth
|
|
339
|
-
twent[1mi[22meth
|
|
340
|
-
twenty-f[1mi[22mrst
|
|
341
|
-
twenty-th[1mi[22mrd
|
|
342
|
-
twenty-f[1mi[22mfth
|
|
343
|
-
twenty-s[1mi[22mxth
|
|
344
|
-
twenty-e[1mi[22mghth
|
|
345
|
-
twenty-n[1mi[22mnth
|
|
346
|
-
th[1mi[22mrtieth
|
|
347
|
-
th[1mi[22mrty-first
|
|
348
|
-
th[1mi[22mrty-second
|
|
349
|
-
th[1mi[22mrty-third
|
|
350
|
-
th[1mi[22mrty-fourth
|
|
351
|
-
th[1mi[22mrty-fifth
|
|
352
|
-
th[1mi[22mrty-sixth
|
|
353
|
-
|
|
354
|
-
[2mPress ↑↓ arrows to select, enter to confirm[22m
|
|
355
|
-
"
|
|
356
|
-
`);
|
|
357
|
-
await sendInputAndWaitForChange(renderInstance, ENTER);
|
|
358
|
-
expect(getLastFrameAfterUnmount(renderInstance)).toMatchInlineSnapshot(`
|
|
359
|
-
"? Associate your project with the org Castile Ventures?
|
|
360
|
-
[36m✔[39m [36mfifth[39m
|
|
361
|
-
"
|
|
362
|
-
`);
|
|
363
|
-
expect(onEnter).toHaveBeenCalledWith('fifth');
|
|
364
|
-
});
|
|
365
|
-
test('allows selecting the first item after searching', async () => {
|
|
366
|
-
const onEnter = vi.fn();
|
|
367
|
-
const search = async (term) => {
|
|
368
|
-
await new Promise((resolve) => setTimeout(resolve, 300));
|
|
369
|
-
return {
|
|
370
|
-
data: DATABASE.filter((item) => item.label.includes(term)),
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
const renderInstance = render(React.createElement(AutocompletePrompt, { message: "Associate your project with the org Castile Ventures?", choices: DATABASE, onSubmit: onEnter, search: search }));
|
|
374
|
-
await waitForInputsToBeReady();
|
|
375
|
-
await sendInputAndWaitForContent(renderInstance, '[1mfiftieth[22m', 'fiftieth');
|
|
376
|
-
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
377
|
-
"? Associate your project with the org Castile Ventures? [36mfiftieth[7m [27m[39m
|
|
412
|
+
"? Associate your project with the org Castile Ventures? [36mi[46m█[49m[39m
|
|
378
413
|
|
|
379
|
-
|
|
414
|
+
f[1mi[22mrst [46m [49m
|
|
415
|
+
th[1mi[22mrd [46m [49m
|
|
416
|
+
[36m>[39m [36mf[1mi[22mfth[39m [46m [49m
|
|
417
|
+
s[1mi[22mxth [46m [49m
|
|
418
|
+
e[1mi[22mghth [46m [49m
|
|
419
|
+
n[1mi[22mnth [46m [49m
|
|
420
|
+
th[1mi[22mrteenth [46m [49m
|
|
421
|
+
f[1mi[22mfteenth [46m [49m
|
|
422
|
+
s[1mi[22mxteenth [46m [49m
|
|
423
|
+
e[1mi[22mghteenth [46m [49m
|
|
424
|
+
n[1mi[22mneteenth [46m [49m
|
|
425
|
+
twent[1mi[22meth [46m [49m
|
|
426
|
+
twenty-f[1mi[22mrst [46m [49m
|
|
427
|
+
twenty-th[1mi[22mrd [46m [49m
|
|
428
|
+
twenty-f[1mi[22mfth [46m [49m
|
|
429
|
+
twenty-s[1mi[22mxth [46m [49m
|
|
430
|
+
twenty-e[1mi[22mghth [46m [49m
|
|
431
|
+
twenty-n[1mi[22mnth [46m [49m
|
|
432
|
+
th[1mi[22mrtieth [100m [49m
|
|
433
|
+
th[1mi[22mrty-first [100m [49m
|
|
434
|
+
th[1mi[22mrty-second [100m [49m
|
|
435
|
+
th[1mi[22mrty-third [100m [49m
|
|
436
|
+
th[1mi[22mrty-fourth [100m [49m
|
|
437
|
+
th[1mi[22mrty-fifth [100m [49m
|
|
438
|
+
th[1mi[22mrty-sixth [100m [49m
|
|
380
439
|
|
|
381
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
440
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
382
441
|
"
|
|
383
442
|
`);
|
|
384
443
|
await sendInputAndWaitForChange(renderInstance, ENTER);
|
|
385
444
|
expect(getLastFrameAfterUnmount(renderInstance)).toMatchInlineSnapshot(`
|
|
386
445
|
"? Associate your project with the org Castile Ventures?
|
|
387
|
-
[36m✔[39m [
|
|
446
|
+
[36m✔[39m [36mfifth[39m
|
|
388
447
|
"
|
|
389
448
|
`);
|
|
390
|
-
expect(onEnter).toHaveBeenCalledWith('
|
|
449
|
+
expect(onEnter).toHaveBeenCalledWith('fifth');
|
|
391
450
|
});
|
|
392
451
|
test('displays an error message if the search fails', async () => {
|
|
393
452
|
const search = (_term) => {
|
|
@@ -397,7 +456,7 @@ describe('AutocompletePrompt', async () => {
|
|
|
397
456
|
await waitForInputsToBeReady();
|
|
398
457
|
await sendInputAndWaitForContent(renderInstance, 'There has been an error', 'i');
|
|
399
458
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
400
|
-
"? Associate your project with the org Castile Ventures? [36mi[
|
|
459
|
+
"? Associate your project with the org Castile Ventures? [36mi[46m█[49m[39m
|
|
401
460
|
|
|
402
461
|
[31mThere has been an error while searching. Please try again later.[39m
|
|
403
462
|
"
|
|
@@ -413,68 +472,68 @@ describe('AutocompletePrompt', async () => {
|
|
|
413
472
|
await waitForInputsToBeReady();
|
|
414
473
|
await sendInputAndWaitForContent(renderInstance, 'th[1mi[22mrty-sixth', 'i');
|
|
415
474
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
416
|
-
"? Associate your project with the org Castile Ventures? [36mi[
|
|
417
|
-
|
|
418
|
-
[36m>[39m [36mf[1mi[22mrst[39m
|
|
419
|
-
th[1mi[22mrd
|
|
420
|
-
f[1mi[22mfth
|
|
421
|
-
s[1mi[22mxth
|
|
422
|
-
e[1mi[22mghth
|
|
423
|
-
n[1mi[22mnth
|
|
424
|
-
th[1mi[22mrteenth
|
|
425
|
-
f[1mi[22mfteenth
|
|
426
|
-
s[1mi[22mxteenth
|
|
427
|
-
e[1mi[22mghteenth
|
|
428
|
-
n[1mi[22mneteenth
|
|
429
|
-
twent[1mi[22meth
|
|
430
|
-
twenty-f[1mi[22mrst
|
|
431
|
-
twenty-th[1mi[22mrd
|
|
432
|
-
twenty-f[1mi[22mfth
|
|
433
|
-
twenty-s[1mi[22mxth
|
|
434
|
-
twenty-e[1mi[22mghth
|
|
435
|
-
twenty-n[1mi[22mnth
|
|
436
|
-
th[1mi[22mrtieth
|
|
437
|
-
th[1mi[22mrty-first
|
|
438
|
-
th[1mi[22mrty-second
|
|
439
|
-
th[1mi[22mrty-third
|
|
440
|
-
th[1mi[22mrty-fourth
|
|
441
|
-
th[1mi[22mrty-fifth
|
|
442
|
-
th[1mi[22mrty-sixth
|
|
443
|
-
|
|
444
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
475
|
+
"? Associate your project with the org Castile Ventures? [36mi[46m█[49m[39m
|
|
476
|
+
|
|
477
|
+
[36m>[39m [36mf[1mi[22mrst[39m [46m [49m
|
|
478
|
+
th[1mi[22mrd [46m [49m
|
|
479
|
+
f[1mi[22mfth [46m [49m
|
|
480
|
+
s[1mi[22mxth [46m [49m
|
|
481
|
+
e[1mi[22mghth [46m [49m
|
|
482
|
+
n[1mi[22mnth [46m [49m
|
|
483
|
+
th[1mi[22mrteenth [46m [49m
|
|
484
|
+
f[1mi[22mfteenth [46m [49m
|
|
485
|
+
s[1mi[22mxteenth [46m [49m
|
|
486
|
+
e[1mi[22mghteenth [46m [49m
|
|
487
|
+
n[1mi[22mneteenth [46m [49m
|
|
488
|
+
twent[1mi[22meth [46m [49m
|
|
489
|
+
twenty-f[1mi[22mrst [46m [49m
|
|
490
|
+
twenty-th[1mi[22mrd [46m [49m
|
|
491
|
+
twenty-f[1mi[22mfth [46m [49m
|
|
492
|
+
twenty-s[1mi[22mxth [46m [49m
|
|
493
|
+
twenty-e[1mi[22mghth [46m [49m
|
|
494
|
+
twenty-n[1mi[22mnth [46m [49m
|
|
495
|
+
th[1mi[22mrtieth [100m [49m
|
|
496
|
+
th[1mi[22mrty-first [100m [49m
|
|
497
|
+
th[1mi[22mrty-second [100m [49m
|
|
498
|
+
th[1mi[22mrty-third [100m [49m
|
|
499
|
+
th[1mi[22mrty-fourth [100m [49m
|
|
500
|
+
th[1mi[22mrty-fifth [100m [49m
|
|
501
|
+
th[1mi[22mrty-sixth [100m [49m
|
|
502
|
+
|
|
503
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
445
504
|
"
|
|
446
505
|
`);
|
|
447
506
|
await sendInputAndWaitForChange(renderInstance, DELETE);
|
|
448
507
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
449
508
|
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
450
509
|
|
|
451
|
-
[36m>[39m [36mfirst[39m
|
|
452
|
-
second
|
|
453
|
-
third
|
|
454
|
-
fourth
|
|
455
|
-
fifth
|
|
456
|
-
sixth
|
|
457
|
-
seventh
|
|
458
|
-
eighth
|
|
459
|
-
ninth
|
|
460
|
-
tenth
|
|
461
|
-
eleventh
|
|
462
|
-
twelfth
|
|
463
|
-
thirteenth
|
|
464
|
-
fourteenth
|
|
465
|
-
fifteenth
|
|
466
|
-
sixteenth
|
|
467
|
-
seventeenth
|
|
468
|
-
eighteenth
|
|
469
|
-
nineteenth
|
|
470
|
-
twentieth
|
|
471
|
-
twenty-first
|
|
472
|
-
twenty-second
|
|
473
|
-
twenty-third
|
|
474
|
-
twenty-fourth
|
|
475
|
-
twenty-fifth
|
|
476
|
-
|
|
477
|
-
[2mPress ↑↓ arrows to select, enter to confirm
|
|
510
|
+
[36m>[39m [36mfirst[39m [46m [49m
|
|
511
|
+
second [46m [49m
|
|
512
|
+
third [46m [49m
|
|
513
|
+
fourth [46m [49m
|
|
514
|
+
fifth [46m [49m
|
|
515
|
+
sixth [46m [49m
|
|
516
|
+
seventh [46m [49m
|
|
517
|
+
eighth [46m [49m
|
|
518
|
+
ninth [46m [49m
|
|
519
|
+
tenth [46m [49m
|
|
520
|
+
eleventh [46m [49m
|
|
521
|
+
twelfth [46m [49m
|
|
522
|
+
thirteenth [46m [49m
|
|
523
|
+
fourteenth [100m [49m
|
|
524
|
+
fifteenth [100m [49m
|
|
525
|
+
sixteenth [100m [49m
|
|
526
|
+
seventeenth [100m [49m
|
|
527
|
+
eighteenth [100m [49m
|
|
528
|
+
nineteenth [100m [49m
|
|
529
|
+
twentieth [100m [49m
|
|
530
|
+
twenty-first [100m [49m
|
|
531
|
+
twenty-second [100m [49m
|
|
532
|
+
twenty-third [100m [49m
|
|
533
|
+
twenty-fourth [100m [49m
|
|
534
|
+
twenty-fifth [100m [49m
|
|
535
|
+
|
|
536
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
478
537
|
"
|
|
479
538
|
`);
|
|
480
539
|
});
|
|
@@ -489,34 +548,34 @@ describe('AutocompletePrompt', async () => {
|
|
|
489
548
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
490
549
|
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
491
550
|
|
|
492
|
-
[36m>[39m [36mfirst[39m
|
|
493
|
-
second
|
|
494
|
-
third
|
|
495
|
-
fourth
|
|
496
|
-
fifth
|
|
497
|
-
sixth
|
|
498
|
-
seventh
|
|
499
|
-
eighth
|
|
500
|
-
ninth
|
|
501
|
-
tenth
|
|
502
|
-
eleventh
|
|
503
|
-
twelfth
|
|
504
|
-
thirteenth
|
|
505
|
-
fourteenth
|
|
506
|
-
fifteenth
|
|
507
|
-
sixteenth
|
|
508
|
-
seventeenth
|
|
509
|
-
eighteenth
|
|
510
|
-
nineteenth
|
|
511
|
-
twentieth
|
|
512
|
-
twenty-first
|
|
513
|
-
twenty-second
|
|
514
|
-
twenty-third
|
|
515
|
-
twenty-fourth
|
|
516
|
-
twenty-fifth
|
|
517
|
-
|
|
518
|
-
[
|
|
519
|
-
[
|
|
551
|
+
[36m>[39m [36mfirst[39m [46m [49m
|
|
552
|
+
second [46m [49m
|
|
553
|
+
third [46m [49m
|
|
554
|
+
fourth [46m [49m
|
|
555
|
+
fifth [46m [49m
|
|
556
|
+
sixth [46m [49m
|
|
557
|
+
seventh [46m [49m
|
|
558
|
+
eighth [46m [49m
|
|
559
|
+
ninth [46m [49m
|
|
560
|
+
tenth [46m [49m
|
|
561
|
+
eleventh [46m [49m
|
|
562
|
+
twelfth [46m [49m
|
|
563
|
+
thirteenth [46m [49m
|
|
564
|
+
fourteenth [100m [49m
|
|
565
|
+
fifteenth [100m [49m
|
|
566
|
+
sixteenth [100m [49m
|
|
567
|
+
seventeenth [100m [49m
|
|
568
|
+
eighteenth [100m [49m
|
|
569
|
+
nineteenth [100m [49m
|
|
570
|
+
twentieth [100m [49m
|
|
571
|
+
twenty-first [100m [49m
|
|
572
|
+
twenty-second [100m [49m
|
|
573
|
+
twenty-third [100m [49m
|
|
574
|
+
twenty-fourth [100m [49m
|
|
575
|
+
twenty-fifth [100m [49m
|
|
576
|
+
|
|
577
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
578
|
+
[1m1-50 of many[22m Find what you're looking for by typing its name.
|
|
520
579
|
"
|
|
521
580
|
`);
|
|
522
581
|
});
|
|
@@ -527,11 +586,11 @@ describe('AutocompletePrompt', async () => {
|
|
|
527
586
|
write: () => { },
|
|
528
587
|
});
|
|
529
588
|
const items = [
|
|
530
|
-
{ label: 'first', value: 'first', group: 'Automations'
|
|
531
|
-
{ label: 'second', value: 'second', group: 'Automations'
|
|
589
|
+
{ label: 'first', value: 'first', group: 'Automations' },
|
|
590
|
+
{ label: 'second', value: 'second', group: 'Automations' },
|
|
532
591
|
{ label: 'third', value: 'third', group: 'Merchant Admin' },
|
|
533
592
|
{ label: 'fourth', value: 'fourth', group: 'Merchant Admin' },
|
|
534
|
-
{ label: 'fifth', value: 'fifth'
|
|
593
|
+
{ label: 'fifth', value: 'fifth' },
|
|
535
594
|
{ label: 'sixth', value: 'sixth' },
|
|
536
595
|
{ label: 'seventh', value: 'seventh' },
|
|
537
596
|
{ label: 'eighth', value: 'eighth' },
|
|
@@ -542,15 +601,16 @@ describe('AutocompletePrompt', async () => {
|
|
|
542
601
|
data: items,
|
|
543
602
|
}) }));
|
|
544
603
|
expect(renderInstance.lastFrame()).toMatchInlineSnapshot(`
|
|
545
|
-
"? Associate your project with the org Castile Ventures?
|
|
604
|
+
"? Associate your project with the org Castile Ventures? [36m[7mT[27m[2mype to search...[22m[39m
|
|
546
605
|
|
|
547
|
-
[1mAutomations[22m
|
|
548
|
-
|
|
549
|
-
|
|
606
|
+
[1mAutomations[22m \u001b[46m \u001b[49m
|
|
607
|
+
[36m>[39m [36mfirst[39m \u001b[100m \u001b[49m
|
|
608
|
+
second \u001b[100m \u001b[49m
|
|
609
|
+
\u001b[100m \u001b[49m
|
|
610
|
+
[1mMerchant Admin[22m \u001b[100m \u001b[49m
|
|
550
611
|
|
|
612
|
+
[2mPress ↑↓ arrows to select, enter to confirm.[22m
|
|
551
613
|
[1m1-10 of many[22m Find what you're looking for by typing its name.
|
|
552
|
-
[2mShowing 2 of 10 items.[22m
|
|
553
|
-
[2mPress ↑↓ arrows to select, enter to confirm[22m
|
|
554
614
|
"
|
|
555
615
|
`);
|
|
556
616
|
});
|