@searchcraft/javascript-sdk 0.13.1 → 0.13.2
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/{p-D0j0UFpV.js → CoreInstanceRegistry.js} +2 -2
- package/dist/components/CoreInstanceRegistry.js.map +1 -0
- package/dist/components/defineCustomElements.js +23 -23
- package/dist/components/{p-_aHgRsRD.js → html.js} +3 -3
- package/dist/components/html.js.map +1 -0
- package/dist/components/index.js +28 -28
- package/dist/components/{p-DO5g2x-l.js → index2.js} +11 -5
- package/dist/components/index2.js.map +1 -0
- package/dist/components/{p-BfTCfPZ1.js → index3.js} +2 -2
- package/dist/components/index3.js.map +1 -0
- package/dist/components/{p-BlYgaV0q.js → purify.es.js} +10 -4
- package/dist/components/purify.es.js.map +1 -0
- package/dist/components/searchcraft-ad.js +1 -1
- package/dist/components/{p-C1S92_N8.js → searchcraft-ad2.js} +8 -8
- package/dist/components/searchcraft-ad2.js.map +1 -0
- package/dist/components/searchcraft-button.js +1 -1
- package/dist/components/{p-C681KruS.js → searchcraft-button2.js} +6 -6
- package/dist/components/searchcraft-button2.js.map +1 -0
- package/dist/components/searchcraft-error-message.js +1 -1
- package/dist/components/{p-DjPZkCLP.js → searchcraft-error-message2.js} +5 -5
- package/dist/components/searchcraft-error-message2.js.map +1 -0
- package/dist/components/searchcraft-facet-list.js +1 -1
- package/dist/components/{p-BV4HUriZ.js → searchcraft-facet-list2.js} +7 -7
- package/dist/components/searchcraft-facet-list2.js.map +1 -0
- package/dist/components/searchcraft-filter-panel.js +10 -10
- package/dist/components/searchcraft-input-form.js +1 -1
- package/dist/components/{p-C-wcIch1.js → searchcraft-input-form2.js} +13 -13
- package/dist/components/searchcraft-input-form2.js.map +1 -0
- package/dist/components/searchcraft-input-label.js +1 -1
- package/dist/components/{p-L4PwHqQC.js → searchcraft-input-label2.js} +6 -6
- package/dist/components/searchcraft-input-label2.js.map +1 -0
- package/dist/components/searchcraft-loading.js +1 -1
- package/dist/components/{p-B_415D4A.js → searchcraft-loading2.js} +5 -5
- package/dist/components/searchcraft-loading2.js.map +1 -0
- package/dist/components/searchcraft-pagination.js +7 -7
- package/dist/components/searchcraft-popover-button.js +5 -5
- package/dist/components/searchcraft-popover-footer.js +1 -1
- package/dist/components/{p-C7ZK8CYu.js → searchcraft-popover-footer2.js} +8 -8
- package/dist/components/searchcraft-popover-footer2.js.map +1 -0
- package/dist/components/searchcraft-popover-form.js +22 -22
- package/dist/components/searchcraft-popover-list-item.js +1 -1
- package/dist/components/{p-Cju73I1E.js → searchcraft-popover-list-item2.js} +8 -8
- package/dist/components/searchcraft-popover-list-item2.js.map +1 -0
- package/dist/components/searchcraft-popover-list-view.js +1 -1
- package/dist/components/{p-Dr9rPC9v.js → searchcraft-popover-list-view2.js} +10 -10
- package/dist/components/searchcraft-popover-list-view2.js.map +1 -0
- package/dist/components/searchcraft-results-info.js +6 -6
- package/dist/components/searchcraft-search-result.js +1 -1
- package/dist/components/{p-DotXR-Gz.js → searchcraft-search-result2.js} +7 -7
- package/dist/components/searchcraft-search-result2.js.map +1 -0
- package/dist/components/searchcraft-search-results-per-page.js +6 -6
- package/dist/components/searchcraft-search-results.js +10 -10
- package/dist/components/searchcraft-select.js +1 -1
- package/dist/components/{p-Dc7S4y3b.js → searchcraft-select2.js} +5 -5
- package/dist/components/searchcraft-select2.js.map +1 -0
- package/dist/components/searchcraft-slider.js +1 -1
- package/dist/components/{p-BbSxfaD7.js → searchcraft-slider2.js} +8 -8
- package/dist/components/searchcraft-slider2.js.map +1 -0
- package/dist/components/searchcraft-summary-box.js +7 -7
- package/dist/components/searchcraft-theme.js +3 -3
- package/dist/components/searchcraft-toggle-button.js +1 -1
- package/dist/components/{p-D5p2scT9.js → searchcraft-toggle-button2.js} +7 -7
- package/dist/components/searchcraft-toggle-button2.js.map +1 -0
- package/dist/components/{p-i8oXh7db.js → units.js} +2 -2
- package/dist/components/units.js.map +1 -0
- package/dist/hydrate/index.d.ts +12 -0
- package/dist/hydrate/index.js +1186 -1136
- package/dist/hydrate/index.mjs +1185 -1137
- package/dist/types/stencil-public-runtime.d.ts +43 -0
- package/package.json +3 -3
- package/dist/components/p-BV4HUriZ.js.map +0 -1
- package/dist/components/p-B_415D4A.js.map +0 -1
- package/dist/components/p-BbSxfaD7.js.map +0 -1
- package/dist/components/p-BfTCfPZ1.js.map +0 -1
- package/dist/components/p-BlYgaV0q.js.map +0 -1
- package/dist/components/p-C-wcIch1.js.map +0 -1
- package/dist/components/p-C1S92_N8.js.map +0 -1
- package/dist/components/p-C681KruS.js.map +0 -1
- package/dist/components/p-C7ZK8CYu.js.map +0 -1
- package/dist/components/p-Cju73I1E.js.map +0 -1
- package/dist/components/p-D0j0UFpV.js.map +0 -1
- package/dist/components/p-D5p2scT9.js.map +0 -1
- package/dist/components/p-DO5g2x-l.js.map +0 -1
- package/dist/components/p-Dc7S4y3b.js.map +0 -1
- package/dist/components/p-DjPZkCLP.js.map +0 -1
- package/dist/components/p-DotXR-Gz.js.map +0 -1
- package/dist/components/p-Dr9rPC9v.js.map +0 -1
- package/dist/components/p-L4PwHqQC.js.map +0 -1
- package/dist/components/p-_aHgRsRD.js.map +0 -1
- package/dist/components/p-i8oXh7db.js.map +0 -1
|
@@ -58,6 +58,6 @@ class CoreInstanceRegistry {
|
|
|
58
58
|
const registry = new CoreInstanceRegistry();
|
|
59
59
|
|
|
60
60
|
export { DEFAULT_CORE_INSTANCE_ID as D, registry as r };
|
|
61
|
-
//# sourceMappingURL=
|
|
61
|
+
//# sourceMappingURL=CoreInstanceRegistry.js.map
|
|
62
62
|
|
|
63
|
-
//# sourceMappingURL=
|
|
63
|
+
//# sourceMappingURL=CoreInstanceRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"CoreInstanceRegistry.js","mappings":"AAEA;;;AAGG;AACI,MAAM,wBAAwB,GAAG;AAExC;;;;;;AAMG;AACH,MAAM,oBAAoB,CAAA;IAChB,aAAa,GAAoC,EAAE;IACnD,aAAa,GACnB,EAAE;AAEJ;;;;;;;;AAQG;IACH,eAAe,CACb,YAA6B,EAC7B,aAAiC,EAAA;AAEjC,QAAA,MAAM,EAAE,GAAG,aAAa,IAAI,wBAAwB;AACpD,QAAA,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,YAAY;AAErC,QAAA,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE;YACnD,QAAQ,CAAC,YAAY,CAAC;;;AAI1B;;;;;;AAMG;IACH,eAAe,CACb,aAAiC,EACjC,WAAoD,EAAA;AAEpD,QAAA,MAAM,EAAE,GAAG,aAAa,IAAI,wBAAwB;;AAEpD,QAAA,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE;YAC1B,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;AACnC,YAAA,OAAO,MAAO,GAAC;;;QAGjB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE;AAC3B,YAAA,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE;;QAE7B,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;AAExC,QAAA,OAAO,MAAK;AACV,YAAA,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE;gBAC1B,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,MAAM,CACpD,CAAC,EAAE,KAAK,EAAE,KAAK,WAAW,CAC3B;;AAEL,SAAC;;AAEJ;AAEY,MAAA,QAAQ,GAAG,IAAI,oBAAoB;;;;","names":[],"sources":["src/classes/CoreInstanceRegistry.ts"],"sourcesContent":["import type { SearchcraftCore } from '@classes';\n\n/**\n * This is the default instance id for searchcraft core instances.\n * When no id is specified in a component's props, use this one.\n */\nexport const DEFAULT_CORE_INSTANCE_ID = 'searchcraft';\n\n/**\n * CoreInstanceRegistry\n *\n * This class is responsible for managing all of the instances of SearchcraftCore on a page.\n * It provides a means for consuming components to use the instance of SearchcraftCore that\n * they need to use when that instance of core gets added to the Registry.\n */\nclass CoreInstanceRegistry {\n private coreInstances: Record<string, SearchcraftCore> = {};\n private subscriptions: Record<string, ((core: SearchcraftCore) => void)[]> =\n {};\n\n /**\n * Adds a SearchcraftCore instance to the Registry.\n *\n * When the instance is added, iterates through the onAvailable callbacks\n * that have been subscribed via useCoreInstance.\n *\n * @param coreInstance The SearchcraftCore instance to add to the registry\n * @param searchcraftId The unique identifier for this SearchcraftCore instance.\n */\n addCoreInstance(\n coreInstance: SearchcraftCore,\n searchcraftId: string | undefined,\n ) {\n const id = searchcraftId || DEFAULT_CORE_INSTANCE_ID;\n this.coreInstances[id] = coreInstance;\n\n for (const callback of this.subscriptions[id] || []) {\n callback(coreInstance);\n }\n }\n\n /**\n * Use the specified instance of SearchcraftCore. When the instance becomes available,\n * the onAvailable callback will be called.\n *\n * @param searchcraftId The SearchcraftCore instance to use.\n * @param onAvailable The callback that gets called when the core instance becomes available.\n */\n useCoreInstance(\n searchcraftId: string | undefined,\n onAvailable: (coreInstance: SearchcraftCore) => void,\n ): () => void {\n const id = searchcraftId || DEFAULT_CORE_INSTANCE_ID;\n // If the core instance already is available, call the onAvailable callback immediately.\n if (this.coreInstances[id]) {\n onAvailable(this.coreInstances[id]);\n return () => {};\n }\n // Add the callback to the collection of callbacks for this searchcraft instance.\n if (!this.subscriptions[id]) {\n this.subscriptions[id] = [];\n }\n this.subscriptions[id].push(onAvailable);\n\n return () => {\n if (this.subscriptions[id]) {\n this.subscriptions[id] = this.subscriptions[id].filter(\n (cb) => cb !== onAvailable,\n );\n }\n };\n }\n}\n\nexport const registry = new CoreInstanceRegistry();\n"],"version":3}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineCustomElement as define_searchcraft_ad } from './searchcraft-ad.js';
|
|
2
|
-
import { defineCustomElement as define_searchcraft_button } from './searchcraft-button.js';
|
|
3
|
-
import { defineCustomElement as define_searchcraft_error_message } from './searchcraft-error-message.js';
|
|
4
|
-
import { defineCustomElement as define_searchcraft_facet_list } from './searchcraft-facet-list.js';
|
|
5
|
-
import { defineCustomElement as define_searchcraft_filter_panel } from './searchcraft-filter-panel.js';
|
|
6
|
-
import { defineCustomElement as define_searchcraft_input_form } from './searchcraft-input-form.js';
|
|
7
|
-
import { defineCustomElement as define_searchcraft_input_label } from './searchcraft-input-label.js';
|
|
8
|
-
import { defineCustomElement as define_searchcraft_loading } from './searchcraft-loading.js';
|
|
9
|
-
import { defineCustomElement as define_searchcraft_pagination } from './searchcraft-pagination.js';
|
|
10
|
-
import { defineCustomElement as define_searchcraft_popover_button } from './searchcraft-popover-button.js';
|
|
11
|
-
import { defineCustomElement as define_searchcraft_popover_footer } from './searchcraft-popover-footer.js';
|
|
12
|
-
import { defineCustomElement as define_searchcraft_popover_form } from './searchcraft-popover-form.js';
|
|
13
|
-
import { defineCustomElement as define_searchcraft_popover_list_item } from './searchcraft-popover-list-item.js';
|
|
14
|
-
import { defineCustomElement as define_searchcraft_popover_list_view } from './searchcraft-popover-list-view.js';
|
|
15
|
-
import { defineCustomElement as define_searchcraft_results_info } from './searchcraft-results-info.js';
|
|
16
|
-
import { defineCustomElement as define_searchcraft_search_result } from './searchcraft-search-result.js';
|
|
17
|
-
import { defineCustomElement as define_searchcraft_search_results_per_page } from './searchcraft-search-results-per-page.js';
|
|
18
|
-
import { defineCustomElement as define_searchcraft_search_results } from './searchcraft-search-results.js';
|
|
19
|
-
import { defineCustomElement as define_searchcraft_select } from './searchcraft-select.js';
|
|
20
|
-
import { defineCustomElement as define_searchcraft_slider } from './searchcraft-slider.js';
|
|
21
|
-
import { defineCustomElement as define_searchcraft_summary_box } from './searchcraft-summary-box.js';
|
|
22
|
-
import { defineCustomElement as define_searchcraft_theme } from './searchcraft-theme.js';
|
|
23
|
-
import { defineCustomElement as define_searchcraft_toggle_button } from './searchcraft-toggle-button.js';
|
|
1
|
+
import { defineCustomElement as define_searchcraft_ad } from './searchcraft-ad.js?v=0.13.2';
|
|
2
|
+
import { defineCustomElement as define_searchcraft_button } from './searchcraft-button.js?v=0.13.2';
|
|
3
|
+
import { defineCustomElement as define_searchcraft_error_message } from './searchcraft-error-message.js?v=0.13.2';
|
|
4
|
+
import { defineCustomElement as define_searchcraft_facet_list } from './searchcraft-facet-list.js?v=0.13.2';
|
|
5
|
+
import { defineCustomElement as define_searchcraft_filter_panel } from './searchcraft-filter-panel.js?v=0.13.2';
|
|
6
|
+
import { defineCustomElement as define_searchcraft_input_form } from './searchcraft-input-form.js?v=0.13.2';
|
|
7
|
+
import { defineCustomElement as define_searchcraft_input_label } from './searchcraft-input-label.js?v=0.13.2';
|
|
8
|
+
import { defineCustomElement as define_searchcraft_loading } from './searchcraft-loading.js?v=0.13.2';
|
|
9
|
+
import { defineCustomElement as define_searchcraft_pagination } from './searchcraft-pagination.js?v=0.13.2';
|
|
10
|
+
import { defineCustomElement as define_searchcraft_popover_button } from './searchcraft-popover-button.js?v=0.13.2';
|
|
11
|
+
import { defineCustomElement as define_searchcraft_popover_footer } from './searchcraft-popover-footer.js?v=0.13.2';
|
|
12
|
+
import { defineCustomElement as define_searchcraft_popover_form } from './searchcraft-popover-form.js?v=0.13.2';
|
|
13
|
+
import { defineCustomElement as define_searchcraft_popover_list_item } from './searchcraft-popover-list-item.js?v=0.13.2';
|
|
14
|
+
import { defineCustomElement as define_searchcraft_popover_list_view } from './searchcraft-popover-list-view.js?v=0.13.2';
|
|
15
|
+
import { defineCustomElement as define_searchcraft_results_info } from './searchcraft-results-info.js?v=0.13.2';
|
|
16
|
+
import { defineCustomElement as define_searchcraft_search_result } from './searchcraft-search-result.js?v=0.13.2';
|
|
17
|
+
import { defineCustomElement as define_searchcraft_search_results_per_page } from './searchcraft-search-results-per-page.js?v=0.13.2';
|
|
18
|
+
import { defineCustomElement as define_searchcraft_search_results } from './searchcraft-search-results.js?v=0.13.2';
|
|
19
|
+
import { defineCustomElement as define_searchcraft_select } from './searchcraft-select.js?v=0.13.2';
|
|
20
|
+
import { defineCustomElement as define_searchcraft_slider } from './searchcraft-slider.js?v=0.13.2';
|
|
21
|
+
import { defineCustomElement as define_searchcraft_summary_box } from './searchcraft-summary-box.js?v=0.13.2';
|
|
22
|
+
import { defineCustomElement as define_searchcraft_theme } from './searchcraft-theme.js?v=0.13.2';
|
|
23
|
+
import { defineCustomElement as define_searchcraft_toggle_button } from './searchcraft-toggle-button.js?v=0.13.2';
|
|
24
24
|
|
|
25
25
|
export const defineCustomElements = () => {
|
|
26
26
|
define_searchcraft_ad();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as purify } from './
|
|
1
|
+
import { p as purify } from './purify.es.js?v=0.13.2';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This allows you to parse a template string with a function.
|
|
@@ -13,6 +13,6 @@ const html = (strings, ...values) => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export { html as h };
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=html.js.map
|
|
17
17
|
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=html.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"html.js","mappings":";;AAGA;;AAEG;AACU,MAAA,IAAI,GAAiB,CAAC,OAAO,EAAE,GAAG,MAAM,KAAI;AACvD,IAAA,IAAI,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;AAEvB,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACtC,MAAM;AACJ,YAAAA,MAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;;IAG3E,OAAO,MAAM,IAAI,EAAE;AACrB;;;;","names":["DOMPurify"],"sources":["src/utils/html.ts"],"sourcesContent":["import DOMPurify from 'dompurify';\n\nimport type { TemplateHtml } from '@types';\n/**\n * This allows you to parse a template string with a function.\n */\nexport const html: TemplateHtml = (strings, ...values) => {\n let result = strings[0];\n\n for (let i = 0; i < values.length; i++) {\n result +=\n DOMPurify.sanitize(values[i] ? String(values[i]) : '') + strings[i + 1];\n }\n\n return result || '';\n};\n"],"version":3}
|
package/dist/components/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './
|
|
2
|
-
import { n as nanoid } from './
|
|
3
|
-
import { D as DEFAULT_CORE_INSTANCE_ID, r as registry } from './
|
|
4
|
-
export { SearchcraftAd, defineCustomElement as defineCustomElementSearchcraftAd } from './searchcraft-ad.js';
|
|
5
|
-
export { SearchcraftButton, defineCustomElement as defineCustomElementSearchcraftButton } from './searchcraft-button.js';
|
|
6
|
-
export { SearchcraftErrorMessage, defineCustomElement as defineCustomElementSearchcraftErrorMessage } from './searchcraft-error-message.js';
|
|
7
|
-
export { SearchcraftFacetList, defineCustomElement as defineCustomElementSearchcraftFacetList } from './searchcraft-facet-list.js';
|
|
8
|
-
export { SearchcraftFilterPanel, defineCustomElement as defineCustomElementSearchcraftFilterPanel } from './searchcraft-filter-panel.js';
|
|
9
|
-
export { SearchcraftInputForm, defineCustomElement as defineCustomElementSearchcraftInputForm } from './searchcraft-input-form.js';
|
|
10
|
-
export { SearchcraftInputLabel, defineCustomElement as defineCustomElementSearchcraftInputLabel } from './searchcraft-input-label.js';
|
|
11
|
-
export { SearchcraftLoading, defineCustomElement as defineCustomElementSearchcraftLoading } from './searchcraft-loading.js';
|
|
12
|
-
export { SearchcraftPagination, defineCustomElement as defineCustomElementSearchcraftPagination } from './searchcraft-pagination.js';
|
|
13
|
-
export { SearchcraftPopoverButton, defineCustomElement as defineCustomElementSearchcraftPopoverButton } from './searchcraft-popover-button.js';
|
|
14
|
-
export { SearchcraftPopoverFooter, defineCustomElement as defineCustomElementSearchcraftPopoverFooter } from './searchcraft-popover-footer.js';
|
|
15
|
-
export { SearchcraftPopoverForm, defineCustomElement as defineCustomElementSearchcraftPopoverForm } from './searchcraft-popover-form.js';
|
|
16
|
-
export { SearchcraftPopoverListItem, defineCustomElement as defineCustomElementSearchcraftPopoverListItem } from './searchcraft-popover-list-item.js';
|
|
17
|
-
export { SearchcraftPopoverListView, defineCustomElement as defineCustomElementSearchcraftPopoverListView } from './searchcraft-popover-list-view.js';
|
|
18
|
-
export { SearchcraftResultsInfo, defineCustomElement as defineCustomElementSearchcraftResultsInfo } from './searchcraft-results-info.js';
|
|
19
|
-
export { SearchcraftSearchResult, defineCustomElement as defineCustomElementSearchcraftSearchResult } from './searchcraft-search-result.js';
|
|
20
|
-
export { SearchcraftSearchResults, defineCustomElement as defineCustomElementSearchcraftSearchResults } from './searchcraft-search-results.js';
|
|
21
|
-
export { SearchcraftSearchResultsPerPage, defineCustomElement as defineCustomElementSearchcraftSearchResultsPerPage } from './searchcraft-search-results-per-page.js';
|
|
22
|
-
export { SearchcraftSelect, defineCustomElement as defineCustomElementSearchcraftSelect } from './searchcraft-select.js';
|
|
23
|
-
export { SearchcraftSlider, defineCustomElement as defineCustomElementSearchcraftSlider } from './searchcraft-slider.js';
|
|
24
|
-
export { SearchcraftSummaryBox, defineCustomElement as defineCustomElementSearchcraftSummaryBox } from './searchcraft-summary-box.js';
|
|
25
|
-
export { SearchcraftTheme, defineCustomElement as defineCustomElementSearchcraftTheme } from './searchcraft-theme.js';
|
|
26
|
-
export { SearchcraftToggleButton, defineCustomElement as defineCustomElementSearchcraftToggleButton } from './searchcraft-toggle-button.js';
|
|
1
|
+
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './index2.js?v=0.13.2';
|
|
2
|
+
import { n as nanoid } from './searchcraft-ad2.js?v=0.13.2';
|
|
3
|
+
import { D as DEFAULT_CORE_INSTANCE_ID, r as registry } from './CoreInstanceRegistry.js?v=0.13.2';
|
|
4
|
+
export { SearchcraftAd, defineCustomElement as defineCustomElementSearchcraftAd } from './searchcraft-ad.js?v=0.13.2';
|
|
5
|
+
export { SearchcraftButton, defineCustomElement as defineCustomElementSearchcraftButton } from './searchcraft-button.js?v=0.13.2';
|
|
6
|
+
export { SearchcraftErrorMessage, defineCustomElement as defineCustomElementSearchcraftErrorMessage } from './searchcraft-error-message.js?v=0.13.2';
|
|
7
|
+
export { SearchcraftFacetList, defineCustomElement as defineCustomElementSearchcraftFacetList } from './searchcraft-facet-list.js?v=0.13.2';
|
|
8
|
+
export { SearchcraftFilterPanel, defineCustomElement as defineCustomElementSearchcraftFilterPanel } from './searchcraft-filter-panel.js?v=0.13.2';
|
|
9
|
+
export { SearchcraftInputForm, defineCustomElement as defineCustomElementSearchcraftInputForm } from './searchcraft-input-form.js?v=0.13.2';
|
|
10
|
+
export { SearchcraftInputLabel, defineCustomElement as defineCustomElementSearchcraftInputLabel } from './searchcraft-input-label.js?v=0.13.2';
|
|
11
|
+
export { SearchcraftLoading, defineCustomElement as defineCustomElementSearchcraftLoading } from './searchcraft-loading.js?v=0.13.2';
|
|
12
|
+
export { SearchcraftPagination, defineCustomElement as defineCustomElementSearchcraftPagination } from './searchcraft-pagination.js?v=0.13.2';
|
|
13
|
+
export { SearchcraftPopoverButton, defineCustomElement as defineCustomElementSearchcraftPopoverButton } from './searchcraft-popover-button.js?v=0.13.2';
|
|
14
|
+
export { SearchcraftPopoverFooter, defineCustomElement as defineCustomElementSearchcraftPopoverFooter } from './searchcraft-popover-footer.js?v=0.13.2';
|
|
15
|
+
export { SearchcraftPopoverForm, defineCustomElement as defineCustomElementSearchcraftPopoverForm } from './searchcraft-popover-form.js?v=0.13.2';
|
|
16
|
+
export { SearchcraftPopoverListItem, defineCustomElement as defineCustomElementSearchcraftPopoverListItem } from './searchcraft-popover-list-item.js?v=0.13.2';
|
|
17
|
+
export { SearchcraftPopoverListView, defineCustomElement as defineCustomElementSearchcraftPopoverListView } from './searchcraft-popover-list-view.js?v=0.13.2';
|
|
18
|
+
export { SearchcraftResultsInfo, defineCustomElement as defineCustomElementSearchcraftResultsInfo } from './searchcraft-results-info.js?v=0.13.2';
|
|
19
|
+
export { SearchcraftSearchResult, defineCustomElement as defineCustomElementSearchcraftSearchResult } from './searchcraft-search-result.js?v=0.13.2';
|
|
20
|
+
export { SearchcraftSearchResults, defineCustomElement as defineCustomElementSearchcraftSearchResults } from './searchcraft-search-results.js?v=0.13.2';
|
|
21
|
+
export { SearchcraftSearchResultsPerPage, defineCustomElement as defineCustomElementSearchcraftSearchResultsPerPage } from './searchcraft-search-results-per-page.js?v=0.13.2';
|
|
22
|
+
export { SearchcraftSelect, defineCustomElement as defineCustomElementSearchcraftSelect } from './searchcraft-select.js?v=0.13.2';
|
|
23
|
+
export { SearchcraftSlider, defineCustomElement as defineCustomElementSearchcraftSlider } from './searchcraft-slider.js?v=0.13.2';
|
|
24
|
+
export { SearchcraftSummaryBox, defineCustomElement as defineCustomElementSearchcraftSummaryBox } from './searchcraft-summary-box.js?v=0.13.2';
|
|
25
|
+
export { SearchcraftTheme, defineCustomElement as defineCustomElementSearchcraftTheme } from './searchcraft-theme.js?v=0.13.2';
|
|
26
|
+
export { SearchcraftToggleButton, defineCustomElement as defineCustomElementSearchcraftToggleButton } from './searchcraft-toggle-button.js?v=0.13.2';
|
|
27
27
|
|
|
28
28
|
var LogLevel;
|
|
29
29
|
(function (LogLevel) {
|
|
@@ -1237,7 +1237,7 @@ class SearchcraftCore {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
1239
|
const name = "@searchcraft/javascript-sdk";
|
|
1240
|
-
const version = "0.13.
|
|
1240
|
+
const version = "0.13.2";
|
|
1241
1241
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* @fileoverview entry point for your component library
|
|
@@ -1264,4 +1264,4 @@ export { Searchcraft, SearchcraftCore };
|
|
|
1264
1264
|
//# sourceMappingURL=index.js.map
|
|
1265
1265
|
|
|
1266
1266
|
//# sourceMappingURL=index.js.map
|
|
1267
|
-
export { defineCustomElements } from './defineCustomElements.js';
|
|
1267
|
+
export { defineCustomElements } from './defineCustomElements.js?v=0.13.2';
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'searchcraft-javascript-sdk';
|
|
|
2
2
|
const BUILD = /* searchcraft-javascript-sdk */ { hydratedSelectorName: "hydrated", lazyLoad: false, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.39.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -469,6 +469,9 @@ var createTime = (fnName, tagName = "") => {
|
|
|
469
469
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
470
470
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
471
471
|
var h = (nodeName, vnodeData, ...children) => {
|
|
472
|
+
if (typeof nodeName === "string") {
|
|
473
|
+
nodeName = transformTag(nodeName);
|
|
474
|
+
}
|
|
472
475
|
let child = null;
|
|
473
476
|
let key = null;
|
|
474
477
|
let slotName = null;
|
|
@@ -615,7 +618,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
615
618
|
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
616
619
|
const node = childRenderNode.$elm$;
|
|
617
620
|
if (!shadowRoot) {
|
|
618
|
-
node["s-hn"] = tagName.toUpperCase();
|
|
621
|
+
node["s-hn"] = transformTag(tagName).toUpperCase();
|
|
619
622
|
if (childRenderNode.$tag$ === "slot") {
|
|
620
623
|
node["s-cr"] = hostElm["s-cr"];
|
|
621
624
|
}
|
|
@@ -2042,8 +2045,11 @@ function render(vnode, container) {
|
|
|
2042
2045
|
};
|
|
2043
2046
|
renderVdom(ref, vnode);
|
|
2044
2047
|
}
|
|
2048
|
+
function transformTag(tag) {
|
|
2049
|
+
return tag;
|
|
2050
|
+
}
|
|
2045
2051
|
|
|
2046
|
-
export { Fragment as F, H, setNonce as a, setPlatformOptions as b, createEvent as c, getAssetPath as g, h, proxyCustomElement as p, render as r, setAssetPath as s };
|
|
2047
|
-
//# sourceMappingURL=
|
|
2052
|
+
export { Fragment as F, H, setNonce as a, setPlatformOptions as b, createEvent as c, getAssetPath as g, h, proxyCustomElement as p, render as r, setAssetPath as s, transformTag as t };
|
|
2053
|
+
//# sourceMappingURL=index2.js.map
|
|
2048
2054
|
|
|
2049
|
-
//# sourceMappingURL=
|
|
2055
|
+
//# sourceMappingURL=index2.js.map
|