@floe-ai/sdk 0.1.0-dev.23 → 0.1.0-dev.25
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-sdk/floe-sdk.es.js +554 -359
- package/dist-sdk/floe-sdk.es.js.map +1 -1
- package/dist-sdk/floe-sdk.iife.js +31 -31
- package/dist-sdk/floe-sdk.iife.js.map +1 -1
- package/dist-sdk/floe-sdk.umd.js +31 -31
- package/dist-sdk/floe-sdk.umd.js.map +1 -1
- package/dist-sdk/index.d.ts +20 -0
- package/package.json +1 -1
package/dist-sdk/index.d.ts
CHANGED
|
@@ -331,6 +331,26 @@ declare class OnboardingSDK extends EventEmitter {
|
|
|
331
331
|
* 3. Finding and clicking the actual option
|
|
332
332
|
*/
|
|
333
333
|
private handleDropdownOptionClick;
|
|
334
|
+
/**
|
|
335
|
+
* Check if a dropdown/listbox is currently open on the page.
|
|
336
|
+
* Detects Angular NZ Select, CDK overlays, React Select, and generic dropdowns.
|
|
337
|
+
*/
|
|
338
|
+
private isDropdownCurrentlyOpen;
|
|
339
|
+
/**
|
|
340
|
+
* Find the search input within or associated with a dropdown.
|
|
341
|
+
* Works with Angular NZ Select, React Select, and generic combobox patterns.
|
|
342
|
+
*/
|
|
343
|
+
private findDropdownSearchInput;
|
|
344
|
+
/**
|
|
345
|
+
* Type text into a dropdown search input to filter options, then find the target option.
|
|
346
|
+
* Uses progressive typing: tries the first word first, then adds more if needed.
|
|
347
|
+
*/
|
|
348
|
+
private typeToFilterDropdown;
|
|
349
|
+
/**
|
|
350
|
+
* Generate search terms to try for a given option text.
|
|
351
|
+
* Returns progressively more specific terms: ["Brandon", "Brandon Mora"]
|
|
352
|
+
*/
|
|
353
|
+
private getSearchTermsForOption;
|
|
334
354
|
/**
|
|
335
355
|
* Find a visible dropdown option by text
|
|
336
356
|
* Uses STRICT matching to avoid selecting wrong options
|