admesh-ui-sdk 1.0.30 → 1.0.32
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/admesh-ui-sdk.css +1 -1
- package/dist/components/AdMeshBadge.d.ts +2 -2
- package/dist/components/AdMeshBadge.d.ts.map +1 -1
- package/dist/components/AdMeshCompactCard.d.ts +2 -2
- package/dist/components/AdMeshCompactCard.d.ts.map +1 -1
- package/dist/components/AdMeshFollowup.d.ts +2 -2
- package/dist/components/AdMeshFollowup.d.ts.map +1 -1
- package/dist/components/AdMeshIntentAssistant.d.ts +35 -5
- package/dist/components/AdMeshIntentAssistant.d.ts.map +1 -1
- package/dist/components/AdMeshLayout.d.ts +2 -2
- package/dist/components/AdMeshLayout.d.ts.map +1 -1
- package/dist/components/AdMeshRecommendations.d.ts +7 -1
- package/dist/components/AdMeshRecommendations.d.ts.map +1 -1
- package/dist/components/AdMeshTailAd.d.ts +3 -3
- package/dist/components/AdMeshTailAd.d.ts.map +1 -1
- package/dist/components/AdMeshViewabilityTracker.d.ts +4 -4
- package/dist/components/AdMeshViewabilityTracker.d.ts.map +1 -1
- package/dist/context/AdMeshContext.d.ts +1 -4
- package/dist/context/AdMeshContext.d.ts.map +1 -1
- package/dist/context/AdMeshProvider.d.ts +3 -3
- package/dist/context/AdMeshProvider.d.ts.map +1 -1
- package/dist/context/WeaveAdFormatContext.d.ts +4 -4
- package/dist/context/WeaveAdFormatContext.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3817 -5417
- package/dist/index.mjs.map +1 -1
- package/dist/utils/acieApi.d.ts +0 -5
- package/dist/utils/acieApi.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/admesh-ui-sdk.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.z-10{z-index:10}.container{width:100%}.mx-auto{margin-inline:auto}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[280px\]{max-height:280px}.min-h-screen{min-height:100vh}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-\[85\%\]{max-width:85%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[1\.5rem\]{border-radius:1.5rem}.rounded-\[1\.75rem\]{border-radius:1.75rem}.rounded-\[2rem\]{border-radius:2rem}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.bg-\[\#E5E5E5\]{background-color:#e5e5e5}.object-cover{-o-object-fit:cover;object-fit:cover}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.whitespace-nowrap{white-space:nowrap}.text-\[\#000\]{color:#000}.text-\[\#24A0ED\]{color:#24a0ed}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-\[1\.01\]:hover{scale:1.01}.hover\:text-\[\#24A0ED\]:hover{color:#24a0ed}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:scale-\[0\.99\]:active{scale:.99}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(prefers-color-scheme:dark){.dark\:bg-\[\#262626\]{background-color:#262626}.dark\:text-\[\#FFF\]{color:#fff}}.admesh-component{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.prose{color:inherit!important}.prose p{margin-bottom:1rem!important;line-height:1.6!important}.prose strong{color:inherit!important;font-weight:600!important}.prose ul,.prose ol{margin-bottom:1rem!important;padding-left:1.5rem!important}.prose li{margin-bottom:.5rem!important}.prose h2{margin-top:1.5rem!important;margin-bottom:1rem!important;font-size:1.25rem!important;font-weight:600!important}.prose h3{margin-top:1rem!important;margin-bottom:.75rem!important;font-size:1.125rem!important;font-weight:600!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
1
|
+
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.z-10{z-index:10}.container{width:100%}.mx-auto{margin-inline:auto}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[280px\]{max-height:280px}.min-h-screen{min-height:100vh}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-\[85\%\]{max-width:85%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[1\.5rem\]{border-radius:1.5rem}.rounded-\[1\.75rem\]{border-radius:1.75rem}.rounded-\[2rem\]{border-radius:2rem}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.bg-\[\#E5E5E5\]{background-color:#e5e5e5}.object-cover{-o-object-fit:cover;object-fit:cover}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.whitespace-nowrap{white-space:nowrap}.text-\[\#000\]{color:#000}.text-\[\#24A0ED\]{color:#24a0ed}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-\[1\.01\]:hover{scale:1.01}.hover\:text-\[\#24A0ED\]:hover{color:#24a0ed}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:scale-\[0\.99\]:active{scale:.99}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(prefers-color-scheme:dark){.dark\:bg-\[\#262626\]{background-color:#262626}.dark\:text-\[\#FFF\]{color:#fff}}.admesh-component{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.prose{color:inherit!important}.prose p{margin-bottom:1rem!important;line-height:1.6!important}.prose strong{color:inherit!important;font-weight:600!important}.prose ul,.prose ol{margin-bottom:1rem!important;padding-left:1.5rem!important}.prose li{margin-bottom:.5rem!important}.prose h2{margin-top:1.5rem!important;margin-bottom:1rem!important;font-size:1.25rem!important;font-weight:600!important}.prose h3{margin-top:1rem!important;margin-bottom:.75rem!important;font-size:1.125rem!important;font-weight:600!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { AdMeshBadgeProps } from '../types/index';
|
|
3
|
-
export declare const AdMeshBadge:
|
|
3
|
+
export declare const AdMeshBadge: FC<AdMeshBadgeProps>;
|
|
4
4
|
//# sourceMappingURL=AdMeshBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshBadge.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdMeshBadge.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAa,MAAM,gBAAgB,CAAC;AAsBlE,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2B5C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { AdMeshTailAdProps } from './AdMeshTailAd';
|
|
3
|
-
export declare const AdMeshCompactCard:
|
|
3
|
+
export declare const AdMeshCompactCard: FC<AdMeshTailAdProps>;
|
|
4
4
|
export default AdMeshCompactCard;
|
|
5
5
|
//# sourceMappingURL=AdMeshCompactCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshCompactCard.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshCompactCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdMeshCompactCard.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshCompactCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAqDxD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAmgBnD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { PlatformResponse, AdMeshTheme } from '../types/index';
|
|
3
3
|
import { AdMeshSDK } from '../sdk/AdMeshSDK';
|
|
4
4
|
export interface AdMeshFollowupProps {
|
|
@@ -30,5 +30,5 @@ export interface AdMeshFollowupProps {
|
|
|
30
30
|
* />
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare const AdMeshFollowup:
|
|
33
|
+
export declare const AdMeshFollowup: FC<AdMeshFollowupProps>;
|
|
34
34
|
//# sourceMappingURL=AdMeshFollowup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshFollowup.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshFollowup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdMeshFollowup.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshFollowup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,gBAAgB,CAAC;IACjC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1D;AAoBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAgGlD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC, ReactNode } from 'react';
|
|
2
2
|
import { PlatformResponse, AdMeshTheme } from '../types/index';
|
|
3
3
|
export interface Suggestion {
|
|
4
4
|
id: string;
|
|
@@ -8,6 +8,30 @@ export interface Suggestion {
|
|
|
8
8
|
recommendation?: PlatformResponse;
|
|
9
9
|
metadata?: Record<string, unknown>;
|
|
10
10
|
}
|
|
11
|
+
export interface AssistantSourceLink {
|
|
12
|
+
title?: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
15
|
+
export interface AssistantRelatedItem {
|
|
16
|
+
title?: string;
|
|
17
|
+
url: string;
|
|
18
|
+
snippet?: string;
|
|
19
|
+
image_url?: string | null;
|
|
20
|
+
publisher?: string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface AssistantQueryResult {
|
|
23
|
+
answer: string;
|
|
24
|
+
source_links?: AssistantSourceLink[];
|
|
25
|
+
related_items?: AssistantRelatedItem[];
|
|
26
|
+
recommendation?: PlatformResponse | null;
|
|
27
|
+
followup_suggestions?: Array<{
|
|
28
|
+
text: string;
|
|
29
|
+
type?: Suggestion['type'];
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
export interface AssistantQueryContext {
|
|
33
|
+
sponsoredSuggestion?: Suggestion | null;
|
|
34
|
+
}
|
|
11
35
|
export interface AdMeshIntentAssistantProps {
|
|
12
36
|
defaultOpen?: boolean;
|
|
13
37
|
open?: boolean;
|
|
@@ -18,11 +42,11 @@ export interface AdMeshIntentAssistantProps {
|
|
|
18
42
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
19
43
|
theme?: AdMeshTheme;
|
|
20
44
|
className?: string;
|
|
21
|
-
style?:
|
|
45
|
+
style?: CSSProperties;
|
|
22
46
|
triggerLabel?: string;
|
|
23
|
-
triggerIcon?:
|
|
47
|
+
triggerIcon?: ReactNode;
|
|
24
48
|
headerTitle?: string;
|
|
25
|
-
headerIcon?:
|
|
49
|
+
headerIcon?: ReactNode;
|
|
26
50
|
panelWidth?: number | string;
|
|
27
51
|
panelHeight?: number | string;
|
|
28
52
|
fontScale?: number;
|
|
@@ -34,9 +58,15 @@ export interface AdMeshIntentAssistantProps {
|
|
|
34
58
|
suggestions?: Suggestion[];
|
|
35
59
|
maxSuggestions?: number;
|
|
36
60
|
onlyShowWhenSponsored?: boolean;
|
|
61
|
+
variant?: 'default' | 'legacy';
|
|
62
|
+
queryHandler?: (query: string, context: AssistantQueryContext) => Promise<AssistantQueryResult>;
|
|
63
|
+
suggestionsLoader?: () => Promise<Suggestion[]>;
|
|
64
|
+
disclaimerText?: string;
|
|
65
|
+
poweredByLabel?: string;
|
|
66
|
+
subtitle?: string;
|
|
37
67
|
onOpen?: () => void;
|
|
38
68
|
onClose?: () => void;
|
|
39
69
|
}
|
|
40
|
-
export declare const AdMeshIntentAssistant:
|
|
70
|
+
export declare const AdMeshIntentAssistant: FC<AdMeshIntentAssistantProps>;
|
|
41
71
|
export default AdMeshIntentAssistant;
|
|
42
72
|
//# sourceMappingURL=AdMeshIntentAssistant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshIntentAssistant.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshIntentAssistant.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"AdMeshIntentAssistant.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshIntentAssistant.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsD,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExH,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAmGjF,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,QAAQ,CAAC;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC,aAAa,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC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AS,GAAG,QAAQ,CAAC;IAC/B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAChG,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAuKD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAu0DhE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { AdMeshLayoutProps } from '../types/index';
|
|
3
|
-
export declare const AdMeshLayout:
|
|
3
|
+
export declare const AdMeshLayout: FC<AdMeshLayoutProps>;
|
|
4
4
|
export default AdMeshLayout;
|
|
5
5
|
//# sourceMappingURL=AdMeshLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshLayout.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdMeshLayout.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6D9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -88,6 +88,12 @@ export interface AdMeshRecommendationsProps {
|
|
|
88
88
|
* When provided, the component reuses this payload and skips calling /aip/context.
|
|
89
89
|
*/
|
|
90
90
|
initialRecommendation?: PlatformResponse;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the rendered recommendation card should fire its primary exposure URL.
|
|
93
|
+
* Defaults to true. Set false when the recommendation came from a sponsored follow-up click
|
|
94
|
+
* and the click should only count as follow-up engagement.
|
|
95
|
+
*/
|
|
96
|
+
triggerExposureUrl?: boolean;
|
|
91
97
|
}
|
|
92
98
|
/**
|
|
93
99
|
* AdMeshRecommendations - Citation/Product Format Recommendation Display
|
|
@@ -130,6 +136,6 @@ export interface AdMeshRecommendationsProps {
|
|
|
130
136
|
* </AdMeshProvider>
|
|
131
137
|
* ```
|
|
132
138
|
*/
|
|
133
|
-
export declare const AdMeshRecommendations: ({ onRecommendationsShown, onError, messageId, query, userId: propUserId, initialRecommendation, followups_container_id, onPasteToInput, onDelegationConsent, onDelegationActivated, onStartDelegation, onExecuteQuery, onFollowupDetected, isContainerReady, }: AdMeshRecommendationsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
139
|
+
export declare const AdMeshRecommendations: ({ onRecommendationsShown, onError, messageId, query, userId: propUserId, initialRecommendation, triggerExposureUrl, followups_container_id, onPasteToInput, onDelegationConsent, onDelegationActivated, onStartDelegation, onExecuteQuery, onFollowupDetected, isContainerReady, }: AdMeshRecommendationsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
134
140
|
export default AdMeshRecommendations;
|
|
135
141
|
//# sourceMappingURL=AdMeshRecommendations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshRecommendations.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshRecommendations.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAE5B,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,0BAA0B;IACzC,uDAAuD;IACvD,sBAAsB,C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MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,gBAAgB,CAAC;IAEzC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,qBAAqB,GAAI,oRAgBnC,0BAA0B,mDAkhB5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC } from 'react';
|
|
2
2
|
import { PlatformResponse, AdMeshTheme, DelegationActivationPayload } from '../types/index';
|
|
3
3
|
export interface AdMeshTailAdProps {
|
|
4
4
|
recommendations: PlatformResponse[];
|
|
5
5
|
theme?: AdMeshTheme;
|
|
6
6
|
className?: string;
|
|
7
|
-
style?:
|
|
7
|
+
style?: CSSProperties;
|
|
8
8
|
sessionId?: string;
|
|
9
9
|
triggerExposureUrl?: boolean;
|
|
10
10
|
onDelegationConsent?: (recommendation: PlatformResponse) => boolean | Promise<boolean>;
|
|
@@ -12,6 +12,6 @@ export interface AdMeshTailAdProps {
|
|
|
12
12
|
onStartDelegation?: (recommendation: PlatformResponse) => void | Promise<void>;
|
|
13
13
|
onPasteToInput?: (content: string) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare const AdMeshTailAd:
|
|
15
|
+
export declare const AdMeshTailAd: FC<AdMeshTailAdProps>;
|
|
16
16
|
export default AdMeshTailAd;
|
|
17
17
|
//# sourceMappingURL=AdMeshTailAd.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshTailAd.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshTailAd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdMeshTailAd.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshTailAd.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAGjG,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,gBAAgB,EAAE,CAAC;IACpC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,CAAC,cAAc,EAAE,gBAAgB,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACvF,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF,iBAAiB,CAAC,EAAE,CAAC,cAAc,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/E,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AA2GD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAusB9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties, FC, ReactNode } from 'react';
|
|
2
2
|
import { ViewabilityTrackerConfig } from '../types/analytics';
|
|
3
3
|
export interface AdMeshViewabilityTrackerProps {
|
|
4
4
|
/** Product ID */
|
|
@@ -16,13 +16,13 @@ export interface AdMeshViewabilityTrackerProps {
|
|
|
16
16
|
/** Whether to fire exposure URL when ad becomes viewable (defaults to true) */
|
|
17
17
|
triggerExposureUrl?: boolean;
|
|
18
18
|
/** Children to wrap with viewability tracking */
|
|
19
|
-
children:
|
|
19
|
+
children: ReactNode;
|
|
20
20
|
/** Custom viewability tracker configuration */
|
|
21
21
|
config?: Partial<ViewabilityTrackerConfig>;
|
|
22
22
|
/** CSS class name */
|
|
23
23
|
className?: string;
|
|
24
24
|
/** Inline styles */
|
|
25
|
-
style?:
|
|
25
|
+
style?: CSSProperties;
|
|
26
26
|
/** Callback when viewability state changes */
|
|
27
27
|
onViewabilityChange?: (isViewable: boolean) => void;
|
|
28
28
|
/** Callback when ad becomes visible */
|
|
@@ -54,5 +54,5 @@ export interface AdMeshViewabilityTrackerProps {
|
|
|
54
54
|
* </AdMeshViewabilityTracker>
|
|
55
55
|
* ```
|
|
56
56
|
*/
|
|
57
|
-
export declare const AdMeshViewabilityTracker:
|
|
57
|
+
export declare const AdMeshViewabilityTracker: FC<AdMeshViewabilityTrackerProps>;
|
|
58
58
|
//# sourceMappingURL=AdMeshViewabilityTracker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshViewabilityTracker.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshViewabilityTracker.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"AdMeshViewabilityTracker.d.ts","sourceRoot":"","sources":["../../src/components/AdMeshViewabilityTracker.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqB,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAkB,MAAM,OAAO,CAAC;AAGvG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEnE,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,gBAAgB,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iDAAiD;IACjD,QAAQ,EAAE,SAAS,CAAC;IACpB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC3C,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,8CAA8C;IAC9C,mBAAmB,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAoHtE,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { AdMeshSDK } from '../sdk/AdMeshSDK';
|
|
3
2
|
import { AdMeshTheme, PlatformResponse, ActiveDelegationSession } from '../types/index';
|
|
4
|
-
import { CommercialIntentResult } from '../utils/acieApi';
|
|
5
3
|
import { Suggestion } from '../components/AdMeshIntentAssistant';
|
|
6
4
|
/**
|
|
7
5
|
* Context value provided by AdMeshProvider
|
|
@@ -32,7 +30,6 @@ export interface AdMeshContextValue {
|
|
|
32
30
|
processedMessageIds: Set<string>;
|
|
33
31
|
recommendationResults: Map<string, PlatformResponse | null>;
|
|
34
32
|
activeDelegationSession: ActiveDelegationSession | null;
|
|
35
|
-
intentAnalysis: CommercialIntentResult | null;
|
|
36
33
|
suggestions: Suggestion[];
|
|
37
34
|
isAnalyzingIntent: boolean;
|
|
38
35
|
intentError: string | null;
|
|
@@ -53,7 +50,7 @@ export interface AdMeshContextValue {
|
|
|
53
50
|
*
|
|
54
51
|
* Provides SDK instance and tracking state to all child components
|
|
55
52
|
*/
|
|
56
|
-
export declare const AdMeshContext:
|
|
53
|
+
export declare const AdMeshContext: import('react').Context<AdMeshContextValue | undefined>;
|
|
57
54
|
/**
|
|
58
55
|
* Hook to access AdMesh context
|
|
59
56
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshContext.d.ts","sourceRoot":"","sources":["../../src/context/AdMeshContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdMeshContext.d.ts","sourceRoot":"","sources":["../../src/context/AdMeshContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAEjC,GAAG,EAAE,SAAS,GAAG,IAAI,CAAC;IAGtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IAGpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAA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AAI,CAAC,CAAC;IACrG,qBAAqB,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9F,mBAAmB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,yDAEzB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,kBAAkB,CAWrD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode, FC } from 'react';
|
|
2
2
|
import { AdMeshTheme } from '../types/index';
|
|
3
3
|
export interface AdMeshProviderProps {
|
|
4
4
|
/** AdMesh API key (required) */
|
|
@@ -35,7 +35,7 @@ export interface AdMeshProviderProps {
|
|
|
35
35
|
id?: string;
|
|
36
36
|
}>;
|
|
37
37
|
/** Child components */
|
|
38
|
-
children:
|
|
38
|
+
children: ReactNode;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* AdMeshProvider - Simplified SDK integration for React applications
|
|
@@ -65,6 +65,6 @@ export interface AdMeshProviderProps {
|
|
|
65
65
|
* </AdMeshProvider>
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
|
-
export declare const AdMeshProvider:
|
|
68
|
+
export declare const AdMeshProvider: FC<AdMeshProviderProps>;
|
|
69
69
|
export default AdMeshProvider;
|
|
70
70
|
//# sourceMappingURL=AdMeshProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdMeshProvider.d.ts","sourceRoot":"","sources":["../../src/context/AdMeshProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"AdMeshProvider.d.ts","sourceRoot":"","sources":["../../src/context/AdMeshProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoC,KAAK,SAAS,EAAE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4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode, FC } from 'react';
|
|
2
2
|
export interface WeaveAdFormatContextType {
|
|
3
3
|
/** Whether the fallback UI should be rendered (no AdMesh links detected) */
|
|
4
4
|
shouldRenderFallback: boolean;
|
|
@@ -9,9 +9,9 @@ export interface WeaveAdFormatContextType {
|
|
|
9
9
|
/** The query for this message (used for fallback API calls) */
|
|
10
10
|
query?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const WeaveAdFormatContext:
|
|
13
|
-
export declare const WeaveAdFormatProvider:
|
|
14
|
-
children:
|
|
12
|
+
declare const WeaveAdFormatContext: import('react').Context<WeaveAdFormatContextType | undefined>;
|
|
13
|
+
export declare const WeaveAdFormatProvider: FC<{
|
|
14
|
+
children: ReactNode;
|
|
15
15
|
shouldRenderFallback: boolean;
|
|
16
16
|
messageId: string;
|
|
17
17
|
sessionId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeaveAdFormatContext.d.ts","sourceRoot":"","sources":["../../src/context/WeaveAdFormatContext.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"WeaveAdFormatContext.d.ts","sourceRoot":"","sources":["../../src/context/WeaveAdFormatContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,SAAS,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3E,MAAM,WAAW,wBAAwB;IACvC,4EAA4E;IAC5E,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iFAAiF;IACjF,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,oBAAoB,+DAAiE,CAAC;AAE5F,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAMA,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,QAAO,wBAAwB,GAAG,SAErE,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -43,5 +43,5 @@ export { createInlineExposureTracker } from './utils/inlineExposureTracker';
|
|
|
43
43
|
export type { InlineExposureTracker, InlineExposureTrackingParams } from './utils/inlineExposureTracker';
|
|
44
44
|
export { extractHeadingsDirectly } from './utils/extractHeadings';
|
|
45
45
|
export type { HeadingsExtractionResult } from './utils/extractHeadings';
|
|
46
|
-
export declare const VERSION = "1.0.
|
|
46
|
+
export declare const VERSION = "1.0.31";
|
|
47
47
|
//# sourceMappingURL=index.d.ts.map
|