@advt-gpt-chart/package 3.2.6 → 3.2.7

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/index.es.js CHANGED
@@ -219263,7 +219263,7 @@ function mmt() {
219263
219263
  throw new Error("useGPTVisContext must be used within a GPTVisContext.Provider");
219264
219264
  return i;
219265
219265
  }
219266
- const $Qi = "3.2.6", zQi = (i) => /* @__PURE__ */ O.createElement("svg", Re({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i), /* @__PURE__ */ O.createElement("path", { d: "M11.667 10.9998V18.3337H8.33398V10.9998L1.66699 1.66675H18.334L11.667 10.9998ZM10 10.4656L15.0947 3.33374H4.90527L10 10.4656Z", fill: "#89898A" })), WQi = (i) => /* @__PURE__ */ O.createElement("svg", Re({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i), /* @__PURE__ */ O.createElement("path", { d: "M6.66699 18.3327H5.00033V8.74935H1.66699L5.83366 1.66602L10.0003 8.74935H6.66699V18.3327Z", fill: "#89898A" }), /* @__PURE__ */ O.createElement("path", { d: "M15.0003 1.66602H13.3337V11.2493H10.0003L14.167 18.3327L18.3337 11.2493H15.0003V1.66602Z", fill: "#89898A" })), af = (i) => (i == null ? void 0 : i.map((e) => Ei(Re({}, e), {
219266
+ const $Qi = "3.2.7", zQi = (i) => /* @__PURE__ */ O.createElement("svg", Re({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i), /* @__PURE__ */ O.createElement("path", { d: "M11.667 10.9998V18.3337H8.33398V10.9998L1.66699 1.66675H18.334L11.667 10.9998ZM10 10.4656L15.0947 3.33374H4.90527L10 10.4656Z", fill: "#89898A" })), WQi = (i) => /* @__PURE__ */ O.createElement("svg", Re({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i), /* @__PURE__ */ O.createElement("path", { d: "M6.66699 18.3327H5.00033V8.74935H1.66699L5.83366 1.66602L10.0003 8.74935H6.66699V18.3327Z", fill: "#89898A" }), /* @__PURE__ */ O.createElement("path", { d: "M15.0003 1.66602H13.3337V11.2493H10.0003L14.167 18.3327L18.3337 11.2493H15.0003V1.66602Z", fill: "#89898A" })), af = (i) => (i == null ? void 0 : i.map((e) => Ei(Re({}, e), {
219267
219267
  label: /* @__PURE__ */ Me(jo, { id: e.key })
219268
219268
  }))) || [], VQi = {
219269
219269
  components: {
Binary file
package/dist/index.umd.js CHANGED
@@ -11216,7 +11216,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11216
11216
  `,hE=({loadingText:i})=>pe.jsxs(rZi,{className:"gpt-vis-loading",children:[pe.jsx("div",{className:"gpt-vis-loading-icon",children:pe.jsxs("div",{className:"loading-svg-ele",children:[pe.jsx("svg",{width:"0",height:"0",children:pe.jsx("defs",{children:pe.jsxs("linearGradient",{id:"loadingCircleStrokeGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[pe.jsx("stop",{offset:"0%",stopColor:"#008CD6"}),pe.jsx("stop",{offset:"100%",stopColor:"#00CC66"})]})})}),pe.jsx("svg",{viewBox:"22 22 44 44",children:pe.jsx("circle",{className:"loading-svg-circle",cx:"44",cy:"44",r:"20.2",fill:"none",strokeWidth:"3.6"})})]})}),pe.jsx("p",{children:i})]});var xme=new Map,bV=new WeakMap,qct=0,oZi;function sZi(i){return i?(bV.has(i)||(qct+=1,bV.set(i,qct.toString())),bV.get(i)):"0"}function aZi(i){return Object.keys(i).sort().filter(e=>i[e]!==void 0).map(e=>`${e}_${e==="root"?sZi(i.root):i[e]}`).toString()}function lZi(i){const e=aZi(i);let t=xme.get(e);if(!t){const n=new Map;let r;const o=new IntersectionObserver(s=>{s.forEach(a=>{var l;const u=a.isIntersecting&&r.some(c=>a.intersectionRatio>=c);i.trackVisibility&&typeof a.isVisible=="undefined"&&(a.isVisible=u),(l=n.get(a.target))==null||l.forEach(c=>{c(u,a)})})},i);r=o.thresholds||(Array.isArray(i.threshold)?i.threshold:[i.threshold||0]),t={id:e,observer:o,elements:n},xme.set(e,t)}return t}function uZi(i,e,t={},n=oZi){if(typeof window.IntersectionObserver=="undefined"&&n!==void 0){const l=i.getBoundingClientRect();return e(n,{isIntersecting:n,target:i,intersectionRatio:typeof t.threshold=="number"?t.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}const{id:r,observer:o,elements:s}=lZi(t),a=s.get(i)||[];return s.has(i)||s.set(i,a),a.push(e),o.observe(i),function(){a.splice(a.indexOf(e),1),a.length===0&&(s.delete(i),o.unobserve(i)),s.size===0&&(o.disconnect(),xme.delete(r))}}function cZi({threshold:i,delay:e,trackVisibility:t,rootMargin:n,root:r,triggerOnce:o,skip:s,initialInView:a,fallbackInView:l,onChange:u}={}){var c;const[h,d]=A.useState(null),f=A.useRef(u),g=A.useRef(a),[p,m]=A.useState({inView:!!a,entry:void 0});f.current=u,A.useEffect(()=>{if(g.current===void 0&&(g.current=a),s||!h)return;let _;return _=uZi(h,(S,C)=>{const x=g.current;g.current=S,!(x===void 0&&!S)&&(m({inView:S,entry:C}),f.current&&f.current(S,C),C.isIntersecting&&o&&_&&(_(),_=void 0))},{root:r,rootMargin:n,threshold:i,trackVisibility:t,delay:e},l),()=>{_&&_()}},[Array.isArray(i)?i.toString():i,h,r,n,o,s,t,l,e]);const v=(c=p.entry)==null?void 0:c.target,b=A.useRef(void 0);!h&&v&&!o&&!s&&b.current!==v&&(b.current=v,m({inView:!!a,entry:void 0}),g.current=a);const y=[d,p.inView,p.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}const hZi=Ds.div`
11217
11217
  height: 100%;
11218
11218
  width: 100%;
11219
- `,yV=({visible:i,title:e,message:t})=>i?pe.jsx(hZi,{className:"error-container",children:pe.jsx(rR,{status:"error",title:e,subTitle:t})}):null,Yct=A.default.createContext(null);function Kct(){const i=A.default.useContext(Yct);if(i===void 0||Object.keys(i).length===0)throw new Error("useGPTVisContext must be used within a GPTVisContext.Provider");return i}const Xct="3.2.6",dZi=i=>A.createElement("svg",Re({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),A.createElement("path",{d:"M11.667 10.9998V18.3337H8.33398V10.9998L1.66699 1.66675H18.334L11.667 10.9998ZM10 10.4656L15.0947 3.33374H4.90527L10 10.4656Z",fill:"#89898A"})),fZi=i=>A.createElement("svg",Re({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),A.createElement("path",{d:"M6.66699 18.3327H5.00033V8.74935H1.66699L5.83366 1.66602L10.0003 8.74935H6.66699V18.3327Z",fill:"#89898A"}),A.createElement("path",{d:"M15.0003 1.66602H13.3337V11.2493H10.0003L14.167 18.3327L18.3337 11.2493H15.0003V1.66602Z",fill:"#89898A"})),Vh=i=>(i==null?void 0:i.map(e=>Ti(Re({},e),{label:pe.jsx(Lo,{id:e.key})})))||[],gZi={components:{Select:{activeBorderColor:"#008CD6",hoverBorderColor:"#008CD6",optionHeight:32,optionLineHeight:"32px",optionPadding:"8px 12px 8px 8px"}}},pZi=Ds.div`
11219
+ `,yV=({visible:i,title:e,message:t})=>i?pe.jsx(hZi,{className:"error-container",children:pe.jsx(rR,{status:"error",title:e,subTitle:t})}):null,Yct=A.default.createContext(null);function Kct(){const i=A.default.useContext(Yct);if(i===void 0||Object.keys(i).length===0)throw new Error("useGPTVisContext must be used within a GPTVisContext.Provider");return i}const Xct="3.2.7",dZi=i=>A.createElement("svg",Re({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),A.createElement("path",{d:"M11.667 10.9998V18.3337H8.33398V10.9998L1.66699 1.66675H18.334L11.667 10.9998ZM10 10.4656L15.0947 3.33374H4.90527L10 10.4656Z",fill:"#89898A"})),fZi=i=>A.createElement("svg",Re({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),A.createElement("path",{d:"M6.66699 18.3327H5.00033V8.74935H1.66699L5.83366 1.66602L10.0003 8.74935H6.66699V18.3327Z",fill:"#89898A"}),A.createElement("path",{d:"M15.0003 1.66602H13.3337V11.2493H10.0003L14.167 18.3327L18.3337 11.2493H15.0003V1.66602Z",fill:"#89898A"})),Vh=i=>(i==null?void 0:i.map(e=>Ti(Re({},e),{label:pe.jsx(Lo,{id:e.key})})))||[],gZi={components:{Select:{activeBorderColor:"#008CD6",hoverBorderColor:"#008CD6",optionHeight:32,optionLineHeight:"32px",optionPadding:"8px 12px 8px 8px"}}},pZi=Ds.div`
11220
11220
  ${()=>nl`
11221
11221
  height: 36px;
11222
11222
  width: 100%;
Binary file
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const version = "3.2.6";
1
+ declare const version = "3.2.7";
2
2
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@advt-gpt-chart/package",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "description": "ADVT GPT Chart - A React chart component library for GPT visualization",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",