@searchcraft/javascript-sdk 0.10.1 → 0.10.3
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/components/index.d.ts +148 -83
- package/dist/components/index.js +7 -33
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-84e2cbd6.js → p-06bac1fc.js} +3 -3
- package/dist/components/{p-84e2cbd6.js.map → p-06bac1fc.js.map} +1 -1
- package/dist/components/p-4d37616e.js +105 -0
- package/dist/components/p-4d37616e.js.map +1 -0
- package/dist/components/{p-172a848d.js → p-508ee769.js} +8 -7
- package/dist/components/p-508ee769.js.map +1 -0
- package/dist/components/{p-3e65aa91.js → p-53c795bd.js} +4 -10
- package/dist/components/p-53c795bd.js.map +1 -0
- package/dist/components/{p-0077f677.js → p-5a4be632.js} +34 -22
- package/dist/components/p-5a4be632.js.map +1 -0
- package/dist/components/{p-5d17ace0.js → p-6717ab82.js} +7 -7
- package/dist/components/{p-5d17ace0.js.map → p-6717ab82.js.map} +1 -1
- package/dist/components/{p-868803f9.js → p-7c650118.js} +2 -2
- package/dist/components/{p-868803f9.js.map → p-7c650118.js.map} +1 -1
- package/dist/components/{p-13e81b5d.js → p-ad569b01.js} +12 -7
- package/dist/components/p-ad569b01.js.map +1 -0
- package/dist/components/{p-17c646e2.js → p-d4558d44.js} +563 -476
- package/dist/components/p-d4558d44.js.map +1 -0
- package/dist/components/{p-2be1a382.js → p-da1fb5c0.js} +2 -2
- package/dist/components/{p-2be1a382.js.map → p-da1fb5c0.js.map} +1 -1
- package/dist/components/{p-a62a2e74.js → p-fd564261.js} +4 -4
- package/dist/components/{p-a62a2e74.js.map → p-fd564261.js.map} +1 -1
- package/dist/components/searchcraft-ad.js +1 -1
- package/dist/components/searchcraft-facet-list.js +1 -1
- package/dist/components/searchcraft-filter-panel.js +20 -9
- package/dist/components/searchcraft-filter-panel.js.map +1 -1
- package/dist/components/searchcraft-input-form.js +1 -1
- package/dist/components/searchcraft-pagination.js +1 -1
- package/dist/components/searchcraft-popover-button.js +5 -3
- package/dist/components/searchcraft-popover-button.js.map +1 -1
- package/dist/components/searchcraft-popover-footer.js +1 -1
- package/dist/components/searchcraft-popover-form.js +8 -8
- package/dist/components/searchcraft-popover-form.js.map +1 -1
- package/dist/components/searchcraft-popover-list-item.js +1 -1
- package/dist/components/searchcraft-popover-list-view.js +1 -1
- package/dist/components/searchcraft-results-info.js +2 -2
- package/dist/components/searchcraft-search-result.js +1 -1
- package/dist/components/searchcraft-search-results-per-page.js +1 -1
- package/dist/components/searchcraft-search-results.js +69 -32
- package/dist/components/searchcraft-search-results.js.map +1 -1
- package/dist/components/searchcraft-slider.js +1 -1
- package/dist/components/searchcraft-theme.js +1 -1
- package/dist/components/searchcraft-theme.js.map +1 -1
- package/dist/components/searchcraft-toggle-button.js +1 -1
- package/dist/hydrate/index.js +491 -377
- package/dist/hydrate/index.mjs +491 -377
- package/dist/themes/hologram.css +1 -1
- package/dist/themes/hologram.css.map +1 -1
- package/dist/types/components/searchcraft-facet-list/searchcraft-facet-list.d.ts +1 -1
- package/dist/types/components/searchcraft-filter-panel/searchcraft-filter-panel.d.ts +1 -1
- package/dist/types/components/searchcraft-input-form/searchcraft-input-form.d.ts +7 -3
- package/dist/types/components/searchcraft-popover-button/searchcraft-popover-button.d.ts +3 -3
- package/dist/types/components/searchcraft-search-results/searchcraft-search-results.d.ts +10 -5
- package/dist/types/components.d.ts +20 -12
- package/dist/types/index.d.ts +0 -1
- package/dist/types/store/SearchcraftStore.types.d.ts +21 -8
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/units.d.ts +19 -6
- package/package.json +4 -7
- package/dist/components/p-0077f677.js.map +0 -1
- package/dist/components/p-13e81b5d.js.map +0 -1
- package/dist/components/p-172a848d.js.map +0 -1
- package/dist/components/p-17c646e2.js.map +0 -1
- package/dist/components/p-3e65aa91.js.map +0 -1
- package/dist/components/p-6104fe5d.js +0 -84
- package/dist/components/p-6104fe5d.js.map +0 -1
- package/dist/types/utils/styles.d.ts +0 -3
|
@@ -42,7 +42,7 @@ export type SearchResultFieldName = {
|
|
|
42
42
|
numberFormatLocale?: string;
|
|
43
43
|
/**
|
|
44
44
|
* If it's a number, the number format to apply.
|
|
45
|
-
*
|
|
45
|
+
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
|
|
46
46
|
*/
|
|
47
47
|
numberFormatOptions?: Intl.NumberFormatOptions;
|
|
48
48
|
/**
|
|
@@ -50,9 +50,14 @@ export type SearchResultFieldName = {
|
|
|
50
50
|
*/
|
|
51
51
|
numberScale?: number;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* The locale to use when formatting dataType: `date`.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
dateFormatLocale?: string;
|
|
56
|
+
/**
|
|
57
|
+
* If it's a date, the date format to apply.
|
|
58
|
+
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
|
|
59
|
+
*/
|
|
60
|
+
dateFormatOptions?: Intl.DateTimeFormatOptions;
|
|
56
61
|
};
|
|
57
62
|
/**
|
|
58
63
|
* A data type representing the mapping of index fields, for the purpose of rendering them
|
|
@@ -112,6 +117,7 @@ export interface ExactMatchToggleFilterItem extends FilterItem {
|
|
|
112
117
|
};
|
|
113
118
|
}
|
|
114
119
|
export interface MostRecentToggleFilterItem extends FilterItem {
|
|
120
|
+
fieldName: string;
|
|
115
121
|
type: "mostRecentToggle";
|
|
116
122
|
options: {
|
|
117
123
|
subLabel?: string;
|
|
@@ -120,6 +126,7 @@ export interface MostRecentToggleFilterItem extends FilterItem {
|
|
|
120
126
|
export type TemplateHtml = (strings: TemplateStringsArray, ...values: (string | number | undefined)[]) => string;
|
|
121
127
|
export type SearchResultTemplate<T> = (data: T, index: number, utils: {
|
|
122
128
|
html: TemplateHtml;
|
|
129
|
+
source_index?: string;
|
|
123
130
|
}) => string;
|
|
124
131
|
export type SearchResultTemplateData = any;
|
|
125
132
|
export type ResultsInfoTemplate = (data: {
|
|
@@ -138,7 +145,12 @@ export type CustomAdTemplate = (data: {
|
|
|
138
145
|
}, utils: {
|
|
139
146
|
html: TemplateHtml;
|
|
140
147
|
}) => string;
|
|
141
|
-
export type PopoverButtonTemplate = (data:
|
|
148
|
+
export type PopoverButtonTemplate = (data: {
|
|
149
|
+
isPopoverVisible: boolean;
|
|
150
|
+
}, utils: {
|
|
151
|
+
html: TemplateHtml;
|
|
152
|
+
}) => string;
|
|
153
|
+
export type ADMAdTemplate = (data: ADMAd, utils: {
|
|
142
154
|
html: TemplateHtml;
|
|
143
155
|
}) => string;
|
|
144
156
|
/**
|
|
@@ -146,11 +158,11 @@ export type PopoverButtonTemplate = (data: boolean, utils: {
|
|
|
146
158
|
*/
|
|
147
159
|
export interface SearchcraftConfig {
|
|
148
160
|
/**
|
|
149
|
-
* Host IP Address and port number configured and created using Vektron
|
|
161
|
+
* Host IP Address and port number configured and created using Vektron.
|
|
150
162
|
*/
|
|
151
163
|
endpointURL: string;
|
|
152
164
|
/**
|
|
153
|
-
* Name or names of search indices configured using Vektron. Given as an array of strings
|
|
165
|
+
* Name or names of search indices configured using Vektron. Given as an array of strings.
|
|
154
166
|
*/
|
|
155
167
|
index: string[];
|
|
156
168
|
/**
|
|
@@ -189,6 +201,10 @@ export interface SearchcraftConfig {
|
|
|
189
201
|
* The amount of debounce delay to add before calling the ad_container_rendered event
|
|
190
202
|
*/
|
|
191
203
|
adContainerRenderedDebounceDelay?: number;
|
|
204
|
+
/**
|
|
205
|
+
* A callback function responsible for rendering the ADM ad containers.
|
|
206
|
+
*/
|
|
207
|
+
admAdTemplate?: ADMAdTemplate;
|
|
192
208
|
/**
|
|
193
209
|
* The number of custom ads to render at the start of the search results page.
|
|
194
210
|
*/
|
|
@@ -250,6 +266,17 @@ export interface AdClientResponseItem {
|
|
|
250
266
|
id: string;
|
|
251
267
|
adSource: SearchcraftAdSource;
|
|
252
268
|
}
|
|
269
|
+
export interface ADMAd {
|
|
270
|
+
adv_id: number;
|
|
271
|
+
adv_name: string;
|
|
272
|
+
click_url?: string;
|
|
273
|
+
image_url?: string;
|
|
274
|
+
impression_url?: string;
|
|
275
|
+
price?: number;
|
|
276
|
+
price_currency?: string;
|
|
277
|
+
sale_price?: number;
|
|
278
|
+
term: string;
|
|
279
|
+
}
|
|
253
280
|
/**
|
|
254
281
|
* A Facet object returned in a search response.
|
|
255
282
|
*/
|
|
@@ -301,6 +328,56 @@ export interface MeasureRequestUser {
|
|
|
301
328
|
latitude?: number;
|
|
302
329
|
longitude?: number;
|
|
303
330
|
}
|
|
331
|
+
export interface FacetPathsForIndexField {
|
|
332
|
+
fieldName: string;
|
|
333
|
+
value: string;
|
|
334
|
+
}
|
|
335
|
+
export interface RangeValueForIndexField {
|
|
336
|
+
fieldName: string;
|
|
337
|
+
value: string;
|
|
338
|
+
}
|
|
339
|
+
export interface SearchClientRequestProperties {
|
|
340
|
+
/**
|
|
341
|
+
* The search mode, which can be either 'fuzzy' or 'exact'.
|
|
342
|
+
*/
|
|
343
|
+
mode: "fuzzy" | "exact";
|
|
344
|
+
/**
|
|
345
|
+
* The starting point for the results, used for pagination.
|
|
346
|
+
* Optional parameter.
|
|
347
|
+
*/
|
|
348
|
+
offset?: number;
|
|
349
|
+
/**
|
|
350
|
+
* The number of results returned.
|
|
351
|
+
* Optional parameter.
|
|
352
|
+
*/
|
|
353
|
+
limit?: number;
|
|
354
|
+
/**
|
|
355
|
+
* The field to order the results by (e.g., 'date_published', 'title', etc.).
|
|
356
|
+
* Optional parameter.
|
|
357
|
+
*/
|
|
358
|
+
order_by?: string | null;
|
|
359
|
+
/**
|
|
360
|
+
* The search term provided by the user.
|
|
361
|
+
*/
|
|
362
|
+
searchTerm: string;
|
|
363
|
+
/**
|
|
364
|
+
* The sort order, which can be either 'asc' or 'desc'.
|
|
365
|
+
* Optional parameter.
|
|
366
|
+
*/
|
|
367
|
+
sort?: "asc" | "desc" | null;
|
|
368
|
+
/**
|
|
369
|
+
* The facet path value(s) specified by the `facets` filter items that the `searchcraft-filter-panel` renders.
|
|
370
|
+
* There may be multiple rendered within a single filter panel.
|
|
371
|
+
* Optional parameter.
|
|
372
|
+
*/
|
|
373
|
+
facetPathsForIndexFields?: Record<string, FacetPathsForIndexField>;
|
|
374
|
+
/**
|
|
375
|
+
* The date range slider value(s) specified by the `dateRange` filter items that the `searchcraft-filter-panel` renders.
|
|
376
|
+
* There may be multiple rendered within a single filter panel.
|
|
377
|
+
* Optional parameter.
|
|
378
|
+
*/
|
|
379
|
+
rangeValueForIndexFields?: Record<string, RangeValueForIndexField>;
|
|
380
|
+
}
|
|
304
381
|
/**
|
|
305
382
|
* The structure of a response returned from a Searchcraft operation.
|
|
306
383
|
*/
|
|
@@ -327,16 +404,17 @@ export type SearchcraftResponseError = {
|
|
|
327
404
|
export interface SearchcraftResponseData {
|
|
328
405
|
count?: number;
|
|
329
406
|
facets?: FacetPrime;
|
|
330
|
-
hits?:
|
|
407
|
+
hits?: SearchIndexHit[];
|
|
331
408
|
time_taken?: number;
|
|
332
409
|
}
|
|
333
410
|
/**
|
|
334
411
|
* Represents an entry in the search index returned as part of a search result.
|
|
335
412
|
*/
|
|
336
|
-
export interface
|
|
413
|
+
export interface SearchIndexHit {
|
|
337
414
|
doc?: SearchDocument;
|
|
338
415
|
document_id?: string;
|
|
339
416
|
score?: number;
|
|
417
|
+
source_index?: string;
|
|
340
418
|
}
|
|
341
419
|
/**
|
|
342
420
|
* Data document returned within a SearchResult.
|
|
@@ -348,55 +426,14 @@ export interface SearchDocument extends Record<string, string | number> {
|
|
|
348
426
|
export interface SearchClientResponseItem {
|
|
349
427
|
id: string;
|
|
350
428
|
document: SearchDocument;
|
|
429
|
+
source_index?: string;
|
|
351
430
|
}
|
|
352
|
-
export type FacetPathsForIndexField = {
|
|
353
|
-
fieldName: string;
|
|
354
|
-
value: string;
|
|
355
|
-
};
|
|
356
|
-
export type RangeValueForIndexField = {
|
|
357
|
-
fieldName: string;
|
|
358
|
-
value: string;
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Parameters required to make a successful Search request.
|
|
362
|
-
*/
|
|
363
|
-
export type SearchParams = {
|
|
364
|
-
/**
|
|
365
|
-
* The search mode, which can be either 'fuzzy' or 'exact'.
|
|
366
|
-
*/
|
|
367
|
-
mode: "fuzzy" | "exact";
|
|
368
|
-
/**
|
|
369
|
-
* The starting point for the results, used for pagination.
|
|
370
|
-
* Optional parameter.
|
|
371
|
-
*/
|
|
372
|
-
offset?: number;
|
|
373
|
-
/**
|
|
374
|
-
* The number of results returned.
|
|
375
|
-
* Optional parameter.
|
|
376
|
-
*/
|
|
377
|
-
limit?: number;
|
|
378
|
-
/**
|
|
379
|
-
* The field to order the results by (e.g., 'date_published', 'title', etc.).
|
|
380
|
-
* Optional parameter.
|
|
381
|
-
*/
|
|
382
|
-
order_by?: string;
|
|
383
|
-
/**
|
|
384
|
-
* The search term provided by the user.
|
|
385
|
-
*/
|
|
386
|
-
searchTerm: string;
|
|
387
|
-
/**
|
|
388
|
-
* The sort order, which can be either 'asc' or 'desc'.
|
|
389
|
-
* Optional parameter.
|
|
390
|
-
*/
|
|
391
|
-
sort?: "asc" | "desc";
|
|
392
|
-
facetPathsForIndexFields?: Record<string, FacetPathsForIndexField>;
|
|
393
|
-
rangeValueForIndexFields?: Record<string, RangeValueForIndexField>;
|
|
394
|
-
};
|
|
395
431
|
export interface SubscriptionEventMap {
|
|
396
432
|
ad_container_rendered: AdContainerRenderedSubscriptionEvent;
|
|
397
433
|
ad_container_viewed: AdContainerViewedSubscriptionEvent;
|
|
398
434
|
query_fetched: QueryFetchedEvent;
|
|
399
435
|
query_submitted: QuerySubmittedEvent;
|
|
436
|
+
initialized: InitializedEvent;
|
|
400
437
|
input_cleared: InputClearedEvent;
|
|
401
438
|
no_results_returned: NoResultsReturnedEvent;
|
|
402
439
|
}
|
|
@@ -434,6 +471,9 @@ export interface InputClearedEvent extends SubscriptionEvent {
|
|
|
434
471
|
export interface NoResultsReturnedEvent extends SubscriptionEvent {
|
|
435
472
|
name: "no_results_returned";
|
|
436
473
|
}
|
|
474
|
+
export interface InitializedEvent extends SubscriptionEvent {
|
|
475
|
+
name: "initialized";
|
|
476
|
+
}
|
|
437
477
|
export type SubscriptionEventName = keyof SubscriptionEventMap;
|
|
438
478
|
export type SubscriptionEventCallback<T extends SubscriptionEventName> = (event: SubscriptionEventMap[T]) => void;
|
|
439
479
|
export type UnsubscribeFunction = () => void;
|
|
@@ -443,9 +483,9 @@ export interface SubscriptionEvent {
|
|
|
443
483
|
declare class AdClient {
|
|
444
484
|
config: SearchcraftConfig;
|
|
445
485
|
constructor(config: SearchcraftConfig);
|
|
446
|
-
|
|
447
|
-
onQuerySubmitted(
|
|
448
|
-
onQueryFetched(
|
|
486
|
+
getAds(_properties: SearchClientRequestProperties): Promise<AdClientResponseItem[]>;
|
|
487
|
+
onQuerySubmitted(_properties: SearchClientRequestProperties): Promise<void>;
|
|
488
|
+
onQueryFetched(_properties: SearchClientRequestProperties, _response: SearchcraftResponse): Promise<void>;
|
|
449
489
|
onInputCleared(): Promise<void>;
|
|
450
490
|
onAdContainerRendered(_data: {
|
|
451
491
|
adClientResponseItem?: AdClientResponseItem;
|
|
@@ -466,7 +506,7 @@ declare class MeasureClient {
|
|
|
466
506
|
private config;
|
|
467
507
|
private sdkInfo;
|
|
468
508
|
private userId;
|
|
469
|
-
|
|
509
|
+
sessionId: string;
|
|
470
510
|
constructor(config: SearchcraftConfig, sdkInfo: SearchcraftSDKInfo, userId: string);
|
|
471
511
|
/**
|
|
472
512
|
* Getter for the base url used by the /measure endpoints.
|
|
@@ -496,10 +536,19 @@ declare class SearchClient {
|
|
|
496
536
|
*/
|
|
497
537
|
private get baseSearchUrl();
|
|
498
538
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @param {
|
|
539
|
+
* Make the request to get the search results.
|
|
540
|
+
* @param {properties} properties - The properties for the search.
|
|
541
|
+
* @returns
|
|
542
|
+
*/
|
|
543
|
+
getSearchResponseItems: (properties: SearchClientRequestProperties | string) => Promise<SearchcraftResponse>;
|
|
544
|
+
private handleGetSearchResponseItemsWithString;
|
|
545
|
+
private handleGetSearchResponseItemsWithObject;
|
|
546
|
+
/**
|
|
547
|
+
* Builds a query object for the SearchClient request.
|
|
548
|
+
* @param {properties} properties - The properties for the search.
|
|
549
|
+
* @returns {SearchClientQuery} - A properly formatted SearchClient query object.
|
|
501
550
|
*/
|
|
502
|
-
|
|
551
|
+
private formatParamsForRequest;
|
|
503
552
|
}
|
|
504
553
|
/**
|
|
505
554
|
* Javascript Class providing the functionality to interact with the Searchcraft BE
|
|
@@ -543,30 +592,36 @@ export declare class SearchcraftCore {
|
|
|
543
592
|
* Perform various actions when the input is cleared
|
|
544
593
|
*/
|
|
545
594
|
handleInputCleared(): void;
|
|
546
|
-
|
|
547
|
-
* Gets items from the SearchClient and the AdClient.
|
|
548
|
-
*/
|
|
549
|
-
getItems: (searchParams: SearchParams, itemsCallback: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void, adCallback: (adClientResponseItems: AdClientResponseItem[]) => void) => void;
|
|
595
|
+
getResponseItems: (properties: SearchClientRequestProperties | string, searchCallback: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void, adCallback: (items: AdClientResponseItem[]) => void) => void;
|
|
550
596
|
}
|
|
551
597
|
/**
|
|
552
598
|
* Callable functions made available by the SearchcraftStore.
|
|
553
599
|
*/
|
|
554
600
|
export interface SearchcraftStateFunctions {
|
|
555
|
-
addFacetPathsForIndexField: (
|
|
556
|
-
addRangeValueForIndexField: (
|
|
557
|
-
|
|
558
|
-
|
|
601
|
+
addFacetPathsForIndexField: (field: FacetPathsForIndexField) => void;
|
|
602
|
+
addRangeValueForIndexField: (field: RangeValueForIndexField) => void;
|
|
603
|
+
getSearchcraftCore: () => SearchcraftCore | undefined;
|
|
604
|
+
init: (searchcraft: SearchcraftCore | undefined, debug?: boolean) => void;
|
|
559
605
|
removeFacetPathsForIndexField: (fieldName: string) => void;
|
|
560
606
|
removeRangeValueForIndexField: (fieldName: string) => void;
|
|
561
607
|
resetFacetPaths: () => void;
|
|
562
608
|
search: () => Promise<void>;
|
|
609
|
+
set: (state: Partial<SearchcraftState> | ((state: SearchcraftState) => Partial<SearchcraftState>)) => SearchcraftState;
|
|
610
|
+
setAdClientResponseItems: (items: AdClientResponseItem[]) => void;
|
|
611
|
+
setSearchClientResponseItemsFromResponse: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void;
|
|
612
|
+
setInitialSearchClientResponseItemsFromResponse: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void;
|
|
613
|
+
setInitialQuery: (query: string) => void;
|
|
563
614
|
setPopoverVisibility: (isVisible: boolean) => void;
|
|
564
|
-
|
|
615
|
+
setSearchResultsCount: (count: number) => void;
|
|
616
|
+
setSearchClientResponseItems: (items: SearchClientResponseItem[]) => void;
|
|
565
617
|
setSearchResultsPage: (page: number) => void;
|
|
566
618
|
setSearchResultsPerPage: (perPage: number) => void;
|
|
567
619
|
setSearchTerm: (searchTerm: string) => void;
|
|
568
620
|
setSearchMode: (mode: "fuzzy" | "exact") => void;
|
|
569
|
-
|
|
621
|
+
setSortOrder: (props: {
|
|
622
|
+
orderByField: string | null;
|
|
623
|
+
sortType: "asc" | "desc" | null;
|
|
624
|
+
}) => void;
|
|
570
625
|
setHotKeyAndHotKeyModifier: (hotkey?: string, hotkeyModifier?: "ctrl" | "meta" | "alt" | "option") => void;
|
|
571
626
|
}
|
|
572
627
|
/**
|
|
@@ -579,6 +634,8 @@ export interface SearchcraftStateValues {
|
|
|
579
634
|
hotkeyModifier: "ctrl" | "meta" | "alt" | "option";
|
|
580
635
|
logger: Logger | undefined;
|
|
581
636
|
facetPathsForIndexFields: Record<string, FacetPathsForIndexField>;
|
|
637
|
+
initialQuery: string;
|
|
638
|
+
initialSearchClientResponseItems: SearchClientResponseItem[];
|
|
582
639
|
isPopoverVisible: boolean;
|
|
583
640
|
isSearchInProgress: boolean;
|
|
584
641
|
rangeValueForIndexFields: Record<string, RangeValueForIndexField>;
|
|
@@ -590,13 +647,13 @@ export interface SearchcraftStateValues {
|
|
|
590
647
|
searchResultsPage: number;
|
|
591
648
|
searchResultsPerPage: number;
|
|
592
649
|
searchTerm: string;
|
|
593
|
-
|
|
650
|
+
orderByField: string | undefined | null;
|
|
651
|
+
sortType: "asc" | "desc" | undefined | null;
|
|
652
|
+
afterInit: (state: SearchcraftState) => void;
|
|
594
653
|
}
|
|
595
654
|
export interface SearchcraftState extends SearchcraftStateFunctions, SearchcraftStateValues {
|
|
596
655
|
}
|
|
597
656
|
export declare const searchcraftStore: import("zustand").StoreApi<SearchcraftState>;
|
|
598
|
-
export declare function parseCustomStyles(styles: string | Record<string, string>): Record<string, string>;
|
|
599
|
-
export declare function serializeStyles(styles: Record<string, Record<string, string>>): string;
|
|
600
657
|
export type SearchcraftSelectOption = {
|
|
601
658
|
label: string;
|
|
602
659
|
value: string | number;
|
|
@@ -800,13 +857,13 @@ export namespace Components {
|
|
|
800
857
|
* ```js
|
|
801
858
|
* // index.js
|
|
802
859
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
803
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
860
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
804
861
|
* <span>Click me</span>
|
|
805
862
|
* `;
|
|
806
863
|
* ```
|
|
807
864
|
* @react-example ```jsx
|
|
808
865
|
* <SearchcraftPopoverButton
|
|
809
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
866
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
810
867
|
* <span>Click me</span>
|
|
811
868
|
* `}
|
|
812
869
|
* >
|
|
@@ -815,7 +872,7 @@ export namespace Components {
|
|
|
815
872
|
* ```
|
|
816
873
|
* @vue-example ```jsx
|
|
817
874
|
* <SearchcraftPopoverButton
|
|
818
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
875
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
819
876
|
* <span>Click me</span>
|
|
820
877
|
* `}
|
|
821
878
|
* >
|
|
@@ -1011,6 +1068,10 @@ export namespace Components {
|
|
|
1011
1068
|
* ```
|
|
1012
1069
|
*/
|
|
1013
1070
|
interface SearchcraftSearchResults {
|
|
1071
|
+
/**
|
|
1072
|
+
* A query that will appears when the component initializes or the search term is ''..
|
|
1073
|
+
*/
|
|
1074
|
+
"initialQuery"?: string;
|
|
1014
1075
|
/**
|
|
1015
1076
|
* A callback function responsible for rendering a result. Passed to `searchcraft-search-result`.
|
|
1016
1077
|
*/
|
|
@@ -1363,13 +1424,13 @@ declare global {
|
|
|
1363
1424
|
* ```js
|
|
1364
1425
|
* // index.js
|
|
1365
1426
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
1366
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
1427
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
1367
1428
|
* <span>Click me</span>
|
|
1368
1429
|
* `;
|
|
1369
1430
|
* ```
|
|
1370
1431
|
* @react-example ```jsx
|
|
1371
1432
|
* <SearchcraftPopoverButton
|
|
1372
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
1433
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
1373
1434
|
* <span>Click me</span>
|
|
1374
1435
|
* `}
|
|
1375
1436
|
* >
|
|
@@ -1378,7 +1439,7 @@ declare global {
|
|
|
1378
1439
|
* ```
|
|
1379
1440
|
* @vue-example ```jsx
|
|
1380
1441
|
* <SearchcraftPopoverButton
|
|
1381
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
1442
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
1382
1443
|
* <span>Click me</span>
|
|
1383
1444
|
* `}
|
|
1384
1445
|
* >
|
|
@@ -1910,13 +1971,13 @@ declare namespace LocalJSX {
|
|
|
1910
1971
|
* ```js
|
|
1911
1972
|
* // index.js
|
|
1912
1973
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
1913
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
1974
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
1914
1975
|
* <span>Click me</span>
|
|
1915
1976
|
* `;
|
|
1916
1977
|
* ```
|
|
1917
1978
|
* @react-example ```jsx
|
|
1918
1979
|
* <SearchcraftPopoverButton
|
|
1919
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
1980
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
1920
1981
|
* <span>Click me</span>
|
|
1921
1982
|
* `}
|
|
1922
1983
|
* >
|
|
@@ -1925,7 +1986,7 @@ declare namespace LocalJSX {
|
|
|
1925
1986
|
* ```
|
|
1926
1987
|
* @vue-example ```jsx
|
|
1927
1988
|
* <SearchcraftPopoverButton
|
|
1928
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
1989
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
1929
1990
|
* <span>Click me</span>
|
|
1930
1991
|
* `}
|
|
1931
1992
|
* >
|
|
@@ -2121,6 +2182,10 @@ declare namespace LocalJSX {
|
|
|
2121
2182
|
* ```
|
|
2122
2183
|
*/
|
|
2123
2184
|
interface SearchcraftSearchResults {
|
|
2185
|
+
/**
|
|
2186
|
+
* A query that will appears when the component initializes or the search term is ''..
|
|
2187
|
+
*/
|
|
2188
|
+
"initialQuery"?: string;
|
|
2124
2189
|
/**
|
|
2125
2190
|
* A callback function responsible for rendering a result. Passed to `searchcraft-search-result`.
|
|
2126
2191
|
*/
|
|
@@ -2409,13 +2474,13 @@ declare module "@stencil/core" {
|
|
|
2409
2474
|
* ```js
|
|
2410
2475
|
* // index.js
|
|
2411
2476
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
2412
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
2477
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
2413
2478
|
* <span>Click me</span>
|
|
2414
2479
|
* `;
|
|
2415
2480
|
* ```
|
|
2416
2481
|
* @react-example ```jsx
|
|
2417
2482
|
* <SearchcraftPopoverButton
|
|
2418
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
2483
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
2419
2484
|
* <span>Click me</span>
|
|
2420
2485
|
* `}
|
|
2421
2486
|
* >
|
|
@@ -2424,7 +2489,7 @@ declare module "@stencil/core" {
|
|
|
2424
2489
|
* ```
|
|
2425
2490
|
* @vue-example ```jsx
|
|
2426
2491
|
* <SearchcraftPopoverButton
|
|
2427
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
2492
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
2428
2493
|
* <span>Click me</span>
|
|
2429
2494
|
* `}
|
|
2430
2495
|
* >
|
package/dist/components/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-5365011f.js';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import './p-a64b4cba.js';
|
|
2
|
+
import { v as ve } from './p-d4558d44.js';
|
|
3
|
+
export { v as SearchcraftCore, s as searchcraftStore } from './p-d4558d44.js';
|
|
5
4
|
export { SearchcraftAd, defineCustomElement as defineCustomElementSearchcraftAd } from './searchcraft-ad.js';
|
|
6
5
|
export { SearchcraftButton, defineCustomElement as defineCustomElementSearchcraftButton } from './searchcraft-button.js';
|
|
7
6
|
export { SearchcraftErrorMessage, defineCustomElement as defineCustomElementSearchcraftErrorMessage } from './searchcraft-error-message.js';
|
|
@@ -25,7 +24,7 @@ export { SearchcraftTheme, defineCustomElement as defineCustomElementSearchcraft
|
|
|
25
24
|
export { SearchcraftToggleButton, defineCustomElement as defineCustomElementSearchcraftToggleButton } from './searchcraft-toggle-button.js';
|
|
26
25
|
|
|
27
26
|
const name = "@searchcraft/javascript-sdk";
|
|
28
|
-
const version = "0.10.
|
|
27
|
+
const version = "0.10.3";
|
|
29
28
|
const description = "Searchcraft Javascript SDK";
|
|
30
29
|
const author = "Searchcraft Inc.";
|
|
31
30
|
const license = "Apache-2.0";
|
|
@@ -45,10 +44,7 @@ const exports = {
|
|
|
45
44
|
"import": "./dist/hydrate/index.mjs",
|
|
46
45
|
types: "./dist/hydrate/index.d.ts"
|
|
47
46
|
},
|
|
48
|
-
"./themes/*.css":
|
|
49
|
-
"import": "./dist/themes/*.css",
|
|
50
|
-
require: "./dist/themes/*.css"
|
|
51
|
-
}
|
|
47
|
+
"./themes/*.css": "./dist/themes/*.css"
|
|
52
48
|
};
|
|
53
49
|
const repository = {
|
|
54
50
|
type: "git",
|
|
@@ -71,7 +67,7 @@ const dependencies = {
|
|
|
71
67
|
nanoid: "^5.0.9"
|
|
72
68
|
};
|
|
73
69
|
const devDependencies = {
|
|
74
|
-
"@searchcraft/core": "^0.10.
|
|
70
|
+
"@searchcraft/core": "^0.10.3",
|
|
75
71
|
"@stencil/core": "^4.7.0",
|
|
76
72
|
"@stencil/react-output-target": "^0.8.2",
|
|
77
73
|
"@stencil/sass": "^3.0.12",
|
|
@@ -96,28 +92,6 @@ const packageJson = {
|
|
|
96
92
|
devDependencies: devDependencies
|
|
97
93
|
};
|
|
98
94
|
|
|
99
|
-
function parseCustomStyles(styles) {
|
|
100
|
-
if (typeof styles === 'string') {
|
|
101
|
-
try {
|
|
102
|
-
return JSON.parse(styles);
|
|
103
|
-
}
|
|
104
|
-
catch (error) {
|
|
105
|
-
console.error('Invalid customStyles format:', styles);
|
|
106
|
-
return {};
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return styles || {};
|
|
110
|
-
}
|
|
111
|
-
function serializeStyles(styles) {
|
|
112
|
-
try {
|
|
113
|
-
return JSON.stringify(styles);
|
|
114
|
-
}
|
|
115
|
-
catch (error) {
|
|
116
|
-
console.error('Error serializing styles:', error);
|
|
117
|
-
return '{}';
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
95
|
/**
|
|
122
96
|
* @fileoverview entry point for your component library
|
|
123
97
|
*
|
|
@@ -130,7 +104,7 @@ function serializeStyles(styles) {
|
|
|
130
104
|
/**
|
|
131
105
|
* The consumer-facing `Searchcraft` class.
|
|
132
106
|
*/
|
|
133
|
-
class Searchcraft extends
|
|
107
|
+
class Searchcraft extends ve {
|
|
134
108
|
constructor(config) {
|
|
135
109
|
super(config, {
|
|
136
110
|
sdkName: packageJson.name,
|
|
@@ -139,7 +113,7 @@ class Searchcraft extends we {
|
|
|
139
113
|
}
|
|
140
114
|
}
|
|
141
115
|
|
|
142
|
-
export { Searchcraft
|
|
116
|
+
export { Searchcraft };
|
|
143
117
|
|
|
144
118
|
//# sourceMappingURL=index.js.map
|
|
145
119
|
export { defineCustomElements } from './defineCustomElements.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index.js","mappings":"
|
|
1
|
+
{"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;AAUA;;;MAGa,WAAY,SAAQA,EAAe;IAC9C,YAAY,MAAyB;QACnC,KAAK,CAAC,MAAM,EAAE;YACZ,OAAO,EAAE,WAAW,CAAC,IAAI;YACzB,UAAU,EAAE,WAAW,CAAC,OAAO;SAChC,CAAC,CAAC;KACJ;;;;;","names":["SearchcraftCore"],"sources":["src/index.ts"],"sourcesContent":["import { type SearchcraftConfig, SearchcraftCore } from '@searchcraft/core';\nimport { searchcraftStore } from '@store';\nimport packageJson from '../package.json';\n\n/**\n * @fileoverview entry point for your component library\n *\n * This is the entry point for your component library. Use this file to export utilities,\n * constants or data structure that accompany your components.\n *\n * DO NOT use this file to export your components. Instead, use the recommended approaches\n * to consume components of this package as outlined in the `README.md`.\n */\n\n/**\n * The consumer-facing `Searchcraft` class.\n */\nexport class Searchcraft extends SearchcraftCore {\n constructor(config: SearchcraftConfig) {\n super(config, {\n sdkName: packageJson.name,\n sdkVersion: packageJson.version,\n });\n }\n}\n\n/**\n * Exports the shared types that all SDKs need\n */\nexport type { SearchcraftConfig };\nexport { searchcraftStore };\nexport type { Components, JSX } from './components';\nexport { SearchcraftCore };\nexport type * from '@searchcraft/core/dist/types/sdk-types';\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-5365011f.js';
|
|
2
|
-
import { s as searchcraftStore } from './p-
|
|
3
|
-
import { f as formatNumberWithCommas } from './p-
|
|
2
|
+
import { s as searchcraftStore } from './p-d4558d44.js';
|
|
3
|
+
import { f as formatNumberWithCommas } from './p-4d37616e.js';
|
|
4
4
|
import './p-a64b4cba.js';
|
|
5
5
|
|
|
6
6
|
const SearchcraftPopoverFooter = /*@__PURE__*/ proxyCustomElement(class SearchcraftPopoverFooter extends H {
|
|
@@ -43,4 +43,4 @@ function defineCustomElement() {
|
|
|
43
43
|
|
|
44
44
|
export { SearchcraftPopoverFooter as S, defineCustomElement as d };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=p-
|
|
46
|
+
//# sourceMappingURL=p-06bac1fc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-06bac1fc.js","mappings":";;;;;MAca,wBAAwB;;;;;IAC1B,kBAAkB,CAAC;IAEpB,WAAW,GAAe,SAAQ,CAAC;IAE3C,gBAAgB;QACd,IAAI,CAAC,kBAAkB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC,kBAAkB,CAAC;QAEzE,IAAI,CAAC,WAAW,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC,KAAK;YAClD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC;SACpD,CAAC,CAAC;KACJ;IAED,oBAAoB;QAClB,IAAI,CAAC,WAAW,IAAI,CAAC;KACtB;IAED,MAAM;QACJ,QACE,+DAAQ,KAAK,EAAC,4BAA4B,IACxC,0DAAG,KAAK,EAAC,yCAAyC,IAC/C,IAAI,CAAC,kBAAkB;cACpB,GAAG,sBAAsB,CAAC,IAAI,CAAC,kBAAkB,CAAC,gBAAgB;cAClE,GAAG,CACL,EACJ,0DACE,KAAK,EAAC,iCAAiC,EACvC,IAAI,EAAC,yBAAyB,EAC9B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,IAEhB,4DACE,KAAK,EAAC,uCAAuC,EAC7C,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAElC,yFAAqC,EACrC,6DACE,CAAC,EAAC,kmOAAkmO,EACpmO,IAAI,EAAC,cAAc,GACnB,CACE,CACJ,CACG,EACT;KACH;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/searchcraft-popover-footer/searchcraft-popover-footer.tsx"],"sourcesContent":["import { searchcraftStore } from '@store';\nimport { Component, h, State } from '@stencil/core';\n\nimport { formatNumberWithCommas } from '@utils';\n\n/**\n * Renders the footer for the searchcraft-popover-form.\n *\n * @internal\n */\n@Component({\n tag: 'searchcraft-popover-footer',\n shadow: false,\n})\nexport class SearchcraftPopoverFooter {\n @State() searchResultsCount;\n\n private unsubscribe: () => void = () => {};\n\n componentDidLoad() {\n this.searchResultsCount = searchcraftStore.getState().searchResultsCount;\n\n this.unsubscribe = searchcraftStore.subscribe((state) => {\n this.searchResultsCount = state.searchResultsCount;\n });\n }\n\n disconnectedCallback() {\n this.unsubscribe?.();\n }\n\n render() {\n return (\n <footer class='searchcraft-popover-footer'>\n <p class='searchcraft-popover-footer-results-info'>\n {this.searchResultsCount\n ? `${formatNumberWithCommas(this.searchResultsCount)} Results Found`\n : ' '}\n </p>\n <a\n class='searchcraft-popover-footer-link'\n href='https://searchcraft.io/'\n target='_blank'\n rel='noreferrer'\n >\n <svg\n class='searchcraft-popover-footer-link-image'\n width='169'\n height='16'\n viewBox='0 0 169 16'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n >\n <title>Powered by Searchcraft</title>\n <path\n d='M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z'\n fill='currentColor'\n />\n </svg>\n </a>\n </footer>\n );\n }\n}\n"],"version":3}
|