@semcore/skeleton 16.1.0 → 16.1.1
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/CHANGELOG.md +1 -1
- package/lib/cjs/{charts/Area → Charts}/Area.js +17 -20
- package/lib/cjs/Charts/Area.js.map +1 -0
- package/lib/cjs/{charts/Bar → Charts}/Bar.js +29 -35
- package/lib/cjs/Charts/Bar.js.map +1 -0
- package/lib/cjs/{charts/Bubble → Charts}/Bubble.js +12 -13
- package/lib/cjs/Charts/Bubble.js.map +1 -0
- package/lib/cjs/{charts/CompactHorizontalBar → Charts}/CompactHorizontalBar.js +12 -13
- package/lib/cjs/Charts/CompactHorizontalBar.js.map +1 -0
- package/lib/cjs/{charts/Donut → Charts}/Donut.js +22 -26
- package/lib/cjs/Charts/Donut.js.map +1 -0
- package/lib/cjs/{charts/Histogram → Charts}/Histogram.js +29 -35
- package/lib/cjs/Charts/Histogram.js.map +1 -0
- package/lib/cjs/{charts/Line → Charts}/Line.js +17 -21
- package/lib/cjs/Charts/Line.js.map +1 -0
- package/lib/cjs/{charts/RadialTree → Charts}/RadialTree.js +12 -13
- package/lib/cjs/Charts/RadialTree.js.map +1 -0
- package/lib/cjs/{charts/ScatterPlot → Charts}/ScatterPlot.js +12 -13
- package/lib/cjs/Charts/ScatterPlot.js.map +1 -0
- package/lib/cjs/{charts/Venn → Charts}/Venn.js +12 -13
- package/lib/cjs/Charts/Venn.js.map +1 -0
- package/lib/cjs/Charts/index.js +77 -0
- package/lib/cjs/Charts/index.js.map +1 -0
- package/lib/cjs/Skeleton.d.js +2 -0
- package/lib/cjs/Skeleton.d.js.map +1 -0
- package/lib/cjs/Skeleton.js +27 -28
- package/lib/cjs/Skeleton.js.map +1 -1
- package/lib/cjs/index.d.js +2 -0
- package/lib/cjs/index.d.js.map +1 -0
- package/lib/cjs/index.js +5 -206
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/{charts/Area → Charts}/Area.js +17 -20
- package/lib/es6/Charts/Area.js.map +1 -0
- package/lib/es6/{charts/Bar → Charts}/Bar.js +29 -35
- package/lib/es6/Charts/Bar.js.map +1 -0
- package/lib/es6/{charts/Bubble → Charts}/Bubble.js +12 -13
- package/lib/es6/Charts/Bubble.js.map +1 -0
- package/lib/es6/{charts/CompactHorizontalBar → Charts}/CompactHorizontalBar.js +12 -13
- package/lib/es6/Charts/CompactHorizontalBar.js.map +1 -0
- package/lib/es6/{charts/Donut → Charts}/Donut.js +22 -26
- package/lib/es6/Charts/Donut.js.map +1 -0
- package/lib/es6/{charts/Histogram → Charts}/Histogram.js +29 -35
- package/lib/es6/Charts/Histogram.js.map +1 -0
- package/lib/es6/{charts/Line → Charts}/Line.js +17 -21
- package/lib/es6/Charts/Line.js.map +1 -0
- package/lib/es6/{charts/RadialTree → Charts}/RadialTree.js +12 -13
- package/lib/es6/Charts/RadialTree.js.map +1 -0
- package/lib/es6/{charts/ScatterPlot → Charts}/ScatterPlot.js +12 -13
- package/lib/es6/Charts/ScatterPlot.js.map +1 -0
- package/lib/es6/{charts/Venn → Charts}/Venn.js +12 -13
- package/lib/es6/Charts/Venn.js.map +1 -0
- package/lib/es6/Charts/index.js +11 -0
- package/lib/es6/Charts/index.js.map +1 -0
- package/lib/es6/Skeleton.d.js +2 -0
- package/lib/es6/Skeleton.d.js.map +1 -0
- package/lib/es6/Skeleton.js +25 -26
- package/lib/es6/Skeleton.js.map +1 -1
- package/lib/es6/index.d.js +2 -0
- package/lib/es6/index.d.js.map +1 -0
- package/lib/es6/index.js +1 -21
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/{charts/Area → Charts}/Area.mjs +18 -18
- package/lib/esm/{charts/Bar → Charts}/Bar.mjs +30 -33
- package/lib/esm/{charts/Bubble → Charts}/Bubble.mjs +13 -13
- package/lib/esm/{charts/CompactHorizontalBar → Charts}/CompactHorizontalBar.mjs +13 -13
- package/lib/esm/{charts/Donut → Charts}/Donut.mjs +23 -24
- package/lib/esm/{charts/Histogram → Charts}/Histogram.mjs +30 -33
- package/lib/esm/{charts/Line → Charts}/Line.mjs +18 -19
- package/lib/esm/{charts/RadialTree → Charts}/RadialTree.mjs +13 -13
- package/lib/esm/{charts/ScatterPlot → Charts}/ScatterPlot.mjs +13 -13
- package/lib/esm/{charts/Venn → Charts}/Venn.mjs +13 -13
- package/lib/esm/Skeleton.mjs +27 -28
- package/lib/esm/index.mjs +10 -21
- package/lib/types/Skeleton.d.ts +3 -4
- package/lib/types/index.d.ts +99 -22
- package/package.json +2 -2
- package/lib/cjs/Skeleton.type.js +0 -2
- package/lib/cjs/Skeleton.type.js.map +0 -1
- package/lib/cjs/charts/Area/Area.js.map +0 -1
- package/lib/cjs/charts/Area/Area.type.js +0 -2
- package/lib/cjs/charts/Area/Area.type.js.map +0 -1
- package/lib/cjs/charts/Bar/Bar.js.map +0 -1
- package/lib/cjs/charts/Bar/Bar.type.js +0 -2
- package/lib/cjs/charts/Bar/Bar.type.js.map +0 -1
- package/lib/cjs/charts/Bubble/Bubble.js.map +0 -1
- package/lib/cjs/charts/Bubble/Bubble.type.js +0 -2
- package/lib/cjs/charts/Bubble/Bubble.type.js.map +0 -1
- package/lib/cjs/charts/CompactHorizontalBar/CompactHorizontalBar.js.map +0 -1
- package/lib/cjs/charts/CompactHorizontalBar/CompactHorizontalBar.type.js +0 -2
- package/lib/cjs/charts/CompactHorizontalBar/CompactHorizontalBar.type.js.map +0 -1
- package/lib/cjs/charts/Donut/Donut.js.map +0 -1
- package/lib/cjs/charts/Donut/Donut.type.js +0 -2
- package/lib/cjs/charts/Donut/Donut.type.js.map +0 -1
- package/lib/cjs/charts/Histogram/Histogram.js.map +0 -1
- package/lib/cjs/charts/Histogram/Histogram.type.js +0 -2
- package/lib/cjs/charts/Histogram/Histogram.type.js.map +0 -1
- package/lib/cjs/charts/Line/Line.js.map +0 -1
- package/lib/cjs/charts/Line/Line.type.js +0 -2
- package/lib/cjs/charts/Line/Line.type.js.map +0 -1
- package/lib/cjs/charts/RadialTree/RadialTree.js.map +0 -1
- package/lib/cjs/charts/RadialTree/RadialTree.type.js +0 -2
- package/lib/cjs/charts/RadialTree/RadialTree.type.js.map +0 -1
- package/lib/cjs/charts/ScatterPlot/ScatterPlot.js.map +0 -1
- package/lib/cjs/charts/ScatterPlot/ScatterPlot.type.js +0 -2
- package/lib/cjs/charts/ScatterPlot/ScatterPlot.type.js.map +0 -1
- package/lib/cjs/charts/Venn/Venn.js.map +0 -1
- package/lib/cjs/charts/Venn/Venn.type.js +0 -2
- package/lib/cjs/charts/Venn/Venn.type.js.map +0 -1
- package/lib/es6/Skeleton.type.js +0 -2
- package/lib/es6/Skeleton.type.js.map +0 -1
- package/lib/es6/charts/Area/Area.js.map +0 -1
- package/lib/es6/charts/Area/Area.type.js +0 -2
- package/lib/es6/charts/Area/Area.type.js.map +0 -1
- package/lib/es6/charts/Bar/Bar.js.map +0 -1
- package/lib/es6/charts/Bar/Bar.type.js +0 -2
- package/lib/es6/charts/Bar/Bar.type.js.map +0 -1
- package/lib/es6/charts/Bubble/Bubble.js.map +0 -1
- package/lib/es6/charts/Bubble/Bubble.type.js +0 -2
- package/lib/es6/charts/Bubble/Bubble.type.js.map +0 -1
- package/lib/es6/charts/CompactHorizontalBar/CompactHorizontalBar.js.map +0 -1
- package/lib/es6/charts/CompactHorizontalBar/CompactHorizontalBar.type.js +0 -2
- package/lib/es6/charts/CompactHorizontalBar/CompactHorizontalBar.type.js.map +0 -1
- package/lib/es6/charts/Donut/Donut.js.map +0 -1
- package/lib/es6/charts/Donut/Donut.type.js +0 -2
- package/lib/es6/charts/Donut/Donut.type.js.map +0 -1
- package/lib/es6/charts/Histogram/Histogram.js.map +0 -1
- package/lib/es6/charts/Histogram/Histogram.type.js +0 -2
- package/lib/es6/charts/Histogram/Histogram.type.js.map +0 -1
- package/lib/es6/charts/Line/Line.js.map +0 -1
- package/lib/es6/charts/Line/Line.type.js +0 -2
- package/lib/es6/charts/Line/Line.type.js.map +0 -1
- package/lib/es6/charts/RadialTree/RadialTree.js.map +0 -1
- package/lib/es6/charts/RadialTree/RadialTree.type.js +0 -2
- package/lib/es6/charts/RadialTree/RadialTree.type.js.map +0 -1
- package/lib/es6/charts/ScatterPlot/ScatterPlot.js.map +0 -1
- package/lib/es6/charts/ScatterPlot/ScatterPlot.type.js +0 -2
- package/lib/es6/charts/ScatterPlot/ScatterPlot.type.js.map +0 -1
- package/lib/es6/charts/Venn/Venn.js.map +0 -1
- package/lib/es6/charts/Venn/Venn.type.js +0 -2
- package/lib/es6/charts/Venn/Venn.type.js.map +0 -1
- package/lib/esm/Skeleton.type.mjs +0 -1
- package/lib/esm/charts/Area/Area.type.mjs +0 -1
- package/lib/esm/charts/Bar/Bar.type.mjs +0 -1
- package/lib/esm/charts/Bubble/Bubble.type.mjs +0 -1
- package/lib/esm/charts/CompactHorizontalBar/CompactHorizontalBar.type.mjs +0 -1
- package/lib/esm/charts/Donut/Donut.type.mjs +0 -1
- package/lib/esm/charts/Histogram/Histogram.type.mjs +0 -1
- package/lib/esm/charts/Line/Line.type.mjs +0 -1
- package/lib/esm/charts/RadialTree/RadialTree.type.mjs +0 -1
- package/lib/esm/charts/ScatterPlot/ScatterPlot.type.mjs +0 -1
- package/lib/esm/charts/Venn/Venn.type.mjs +0 -1
- package/lib/types/Skeleton.type.d.ts +0 -52
- package/lib/types/charts/Area/Area.d.ts +0 -3
- package/lib/types/charts/Area/Area.type.d.ts +0 -12
- package/lib/types/charts/Bar/Bar.d.ts +0 -3
- package/lib/types/charts/Bar/Bar.type.d.ts +0 -12
- package/lib/types/charts/Bubble/Bubble.d.ts +0 -3
- package/lib/types/charts/Bubble/Bubble.type.d.ts +0 -5
- package/lib/types/charts/CompactHorizontalBar/CompactHorizontalBar.d.ts +0 -3
- package/lib/types/charts/CompactHorizontalBar/CompactHorizontalBar.type.d.ts +0 -5
- package/lib/types/charts/Donut/Donut.d.ts +0 -3
- package/lib/types/charts/Donut/Donut.type.d.ts +0 -12
- package/lib/types/charts/Histogram/Histogram.d.ts +0 -3
- package/lib/types/charts/Histogram/Histogram.type.d.ts +0 -12
- package/lib/types/charts/Line/Line.d.ts +0 -3
- package/lib/types/charts/Line/Line.type.d.ts +0 -12
- package/lib/types/charts/RadialTree/RadialTree.d.ts +0 -3
- package/lib/types/charts/RadialTree/RadialTree.type.d.ts +0 -5
- package/lib/types/charts/ScatterPlot/ScatterPlot.d.ts +0 -3
- package/lib/types/charts/ScatterPlot/ScatterPlot.type.d.ts +0 -5
- package/lib/types/charts/Venn/Venn.d.ts +0 -2
- package/lib/types/charts/Venn/Venn.type.d.ts +0 -5
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +0 -44
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Area.type.js","names":[],"sources":["../../../../src/charts/Area/Area.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonAreaChart {\n type Props = NSSkeleton.Props & {\n /** Controls the area curve interpolation style for the skeleton pattern */\n type?: 'linear' | 'monotone';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type AreaChartSkeletonProps = NSSkeletonAreaChart.Props;\n\nexport type { NSSkeletonAreaChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","barVerticalSvg","barHorizontalSvg","pattern","vertical","horizontal","repeat","position","size","BarChartSkeleton","props","_ref","arguments[0]","_ref2","_props$layout","SChartSkeleton","Skeleton","layout","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Bar/Bar.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonBarChart } from './Bar.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\n\nconst barVerticalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bar-chart-vertical.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst barHorizontalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bar-chart-horizontal.svg'))\n`;\n\nconst pattern = { vertical: barVerticalSvg, horizontal: barHorizontalSvg };\nconst repeat = { vertical: 'repeat-y', horizontal: 'repeat-x' };\nconst position = { vertical: 'left top', horizontal: 'left bottom' };\nconst size = { vertical: 'contain', horizontal: 'auto 50%' };\n\nfunction BarChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonBarChart.Component>,\n) {\n const SChartSkeleton = Root;\n const layout = props.layout ?? 'horizontal';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat={repeat[layout]}\n bgPosition={position[layout]}\n bgSize={size[layout]}\n bgPattern={`url(data:image/svg+xml;base64,${pattern[layout]})`}\n />,\n );\n}\n\nexport default createComponent(BarChartSkeleton) as NSSkeletonBarChart.Component;\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AAEA,IAAMC,cAAc,69BAEnB;AACD;AACA;AACA,IAAMC,gBAAgB,izBAErB;AAED,IAAMC,OAAO,GAAG;EAAEC,QAAQ,EAAEH,cAAc;EAAEI,UAAU,EAAEH;AAAiB,CAAC;AAC1E,IAAMI,MAAM,GAAG;EAAEF,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC/D,IAAME,QAAQ,GAAG;EAAEH,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAc,CAAC;AACpE,IAAMG,IAAI,GAAG;EAAEJ,QAAQ,EAAE,SAAS;EAAEC,UAAU,EAAE;AAAW,CAAC;AAE5D,SAASI,gBAAgBA,CACvBC,KAAsF,EACtF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,aAAA;EACA,IAAMC,cAAc,GAIRC,kBAAQ;EAHpB,IAAMC,MAAM,IAAAH,aAAA,GAAGJ,KAAK,CAACO,MAAM,cAAAH,aAAA,cAAAA,aAAA,GAAI,YAAY;EAC3C,OAAAD,KAAA,GAAO,IAAAd,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAuB,aAAA,CAACH,cAAc,EAAAF,KAAA,CAAAM,EAAA,uBAAAC,cAAA,qBAAA3B,KAAA,CAAA4B,WAAA;IAAA,YAEHf,MAAM,CAACW,MAAM,CAAC;IAAA,cACZV,QAAQ,CAACU,MAAM,CAAC;IAAA,UACpBT,IAAI,CAACS,MAAM,CAAC;IAAA,8CAAAK,MAAA,CACwBnB,OAAO,CAACc,MAAM,CAAC;EAAA,GAAAN,IAAA,GAC5D,CAAC;AAEN;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAAChB,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.type.js","names":[],"sources":["../../../../src/charts/Bar/Bar.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonBarChart {\n type Props = NSSkeleton.Props & {\n /** Controls the orientation of the bar chart skeleton */\n layout?: 'horizontal' | 'vertical';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type BarChartSkeletonProps = NSSkeletonBarChart.Props;\n\nexport type { NSSkeletonBarChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","bubbleSvg","BubbleChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","Skeleton","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Bubble/Bubble.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonBubbleChart } from './Bubble.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst bubbleSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bubble-chart.svg'))\n`;\n\nfunction BubbleChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${bubbleSvg})`}\n />,\n );\n}\n\nexport default createComponent(BubbleChartSkeleton) as NSSkeletonBubbleChart.Component;\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,SAAS,6xCAEd;AAED,SAASC,mBAAmBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC7B,IAAMC,cAAc,GAGRC,kBAAQ;EAFpB,OAAAF,KAAA,GAAO,IAAAN,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAa,aAAA,CAACF,cAAc,EAAAD,KAAA,CAAAI,EAAA,uBAAAC,cAAA,qBAAAjB,KAAA,CAAAkB,WAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2BX,SAAS;EAAA,GAAAE,IAAA,GACtD,CAAC;AAEN;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACb,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.type.js","names":[],"sources":["../../../../src/charts/Bubble/Bubble.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonBubbleChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonBubbleChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompactHorizontalBar.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","patternBase64","CompactHorizontalBarChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","Skeleton","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/CompactHorizontalBar/CompactHorizontalBar.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonCompactHorizontalBar } from './CompactHorizontalBar.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst patternBase64 = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/compact-horizontal-bar-chart.svg'))\n`;\n\nfunction CompactHorizontalBarChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-y'\n bgPosition='left top'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${patternBase64})`}\n />,\n );\n}\n\nexport default createComponent(CompactHorizontalBarChartSkeleton) as NSSkeletonCompactHorizontalBar.Component;\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,aAAa,i/BAElB;AAED,SAASC,iCAAiCA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC3C,IAAMC,cAAc,GAGRC,kBAAQ;EAFpB,OAAAF,KAAA,GAAO,IAAAN,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAa,aAAA,CAACF,cAAc,EAAAD,KAAA,CAAAI,EAAA,uBAAAC,cAAA,qBAAAjB,KAAA,CAAAkB,WAAA;IAAA,YAEJ,UAAU;IAAA,cACR,UAAU;IAAA,UACd,SAAS;IAAA,8CAAAC,MAAA,CAC4BX,aAAa;EAAA,GAAAE,IAAA,GAC1D,CAAC;AAEN;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACb,iCAAiC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompactHorizontalBar.type.js","names":[],"sources":["../../../../src/charts/CompactHorizontalBar/CompactHorizontalBar.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonCompactHorizontalBar {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonCompactHorizontalBar };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","donutFullSvg","donutHalfSvg","pattern","position","DonutChartSkeleton","props","_ref","arguments[0]","_ref2","_props$halfsize","SChartSkeleton","Skeleton","halfsize","toString","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Donut/Donut.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonDonutChart } from './Donut.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import or vite plugin.\n// @ts-ignore\nconst donutFullSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/donut-chart.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst donutHalfSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/donut-chart-halfsize.svg'))\n`;\n\nconst pattern: Record<string, string> = {\n true: donutHalfSvg,\n false: donutFullSvg,\n};\nconst position: Record<string, string> = {\n true: 'center bottom',\n false: 'center',\n};\n\nfunction DonutChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonDonutChart.Component>,\n) {\n const SChartSkeleton = Root;\n const halfsize = (props.halfsize ?? false).toString();\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition={position[halfsize]}\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${pattern[halfsize]})`}\n />,\n );\n}\n\nexport default createComponent(DonutChartSkeleton) as NSSkeletonDonutChart.Component;\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,YAAY,6qCAEjB;AACD;AACA;AACA,IAAMC,YAAY,6nBAEjB;AAED,IAAMC,OAA+B,GAAG;EACtC,QAAMD,YAAY;EAClB,SAAOD;AACT,CAAC;AACD,IAAMG,QAAgC,GAAG;EACvC,QAAM,eAAe;EACrB,SAAO;AACT,CAAC;AAED,SAASC,kBAAkBA,CACzBC,KAAwF,EACxF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,eAAA;EACA,IAAMC,cAAc,GAIRC,kBAAQ;EAHpB,IAAMC,QAAQ,GAAG,EAAAH,eAAA,GAACJ,KAAK,CAACO,QAAQ,cAAAH,eAAA,cAAAA,eAAA,GAAI,KAAK,EAAEI,QAAQ,CAAC,CAAC;EACrD,OAAAL,KAAA,GAAO,IAAAV,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAoB,aAAA,CAACJ,cAAc,EAAAF,KAAA,CAAAO,EAAA,uBAAAC,cAAA,qBAAAxB,KAAA,CAAAyB,WAAA;IAAA,YAEJ,WAAW;IAAA,cACRd,QAAQ,CAACS,QAAQ,CAAC;IAAA,UACvB,SAAS;IAAA,8CAAAM,MAAA,CAC4BhB,OAAO,CAACU,QAAQ,CAAC;EAAA,GAAAN,IAAA,GAC9D,CAAC;AAEN;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACjB,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.type.js","names":[],"sources":["../../../../src/charts/Donut/Donut.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonDonutChart {\n type Props = NSSkeleton.Props & {\n /** Semi donut */\n halfsize?: boolean;\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type DonutChartSkeletonProps = NSSkeletonDonutChart.Props;\n\nexport type { NSSkeletonDonutChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","histogramVerticalSvg","histogramHorizontalSvg","repeat","vertical","horizontal","position","size","pattern","HistogramChartSkeleton","props","_ref","arguments[0]","_ref2","_props$layout","SChartSkeleton","Skeleton","layout","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Histogram/Histogram.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonHistogramChart } from './Histogram.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst histogramVerticalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/histogram-chart-vertical.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst histogramHorizontalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/histogram-chart-horizontal.svg'))\n`;\n\nconst repeat = { vertical: 'repeat-y', horizontal: 'repeat-x' };\nconst position = { vertical: 'left top', horizontal: 'left bottom' };\nconst size = { vertical: 'contain', horizontal: 'auto 50%' };\nconst pattern = { vertical: histogramVerticalSvg, horizontal: histogramHorizontalSvg };\n\nfunction HistogramChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonHistogramChart.Component>,\n) {\n const SChartSkeleton = Root;\n const layout = props.layout ?? 'horizontal';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat={repeat[layout]}\n bgPosition={position[layout]}\n bgSize={size[layout]}\n bgPattern={`url(data:image/svg+xml;base64,${pattern[layout]})`}\n />,\n );\n}\n\nexport default createComponent(HistogramChartSkeleton) as NSSkeletonHistogramChart.Component;\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,oBAAoB,69BAEzB;AACD;AACA;AACA,IAAMC,sBAAsB,y7BAE3B;AAED,IAAMC,MAAM,GAAG;EAAEC,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC/D,IAAMC,QAAQ,GAAG;EAAEF,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAc,CAAC;AACpE,IAAME,IAAI,GAAG;EAAEH,QAAQ,EAAE,SAAS;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC5D,IAAMG,OAAO,GAAG;EAAEJ,QAAQ,EAAEH,oBAAoB;EAAEI,UAAU,EAAEH;AAAuB,CAAC;AAEtF,SAASO,sBAAsBA,CAC7BC,KAA4F,EAC5F;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,aAAA;EACA,IAAMC,cAAc,GAIRC,kBAAQ;EAHpB,IAAMC,MAAM,IAAAH,aAAA,GAAGJ,KAAK,CAACO,MAAM,cAAAH,aAAA,cAAAA,aAAA,GAAI,YAAY;EAC3C,OAAAD,KAAA,GAAO,IAAAd,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAuB,aAAA,CAACH,cAAc,EAAAF,KAAA,CAAAM,EAAA,uBAAAC,cAAA,qBAAA3B,KAAA,CAAA4B,WAAA;IAAA,YAEHlB,MAAM,CAACc,MAAM,CAAC;IAAA,cACZX,QAAQ,CAACW,MAAM,CAAC;IAAA,UACpBV,IAAI,CAACU,MAAM,CAAC;IAAA,8CAAAK,MAAA,CACwBd,OAAO,CAACS,MAAM,CAAC;EAAA,GAAAN,IAAA,GAC5D,CAAC;AAEN;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAAChB,sBAAsB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.type.js","names":[],"sources":["../../../../src/charts/Histogram/Histogram.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonHistogramChart {\n type Props = NSSkeleton.Props & {\n /** Controls the orientation of the histogram chart skeleton */\n layout?: 'horizontal' | 'vertical';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type HistogramChartSkeletonProps = NSSkeletonHistogramChart.Props;\n\nexport type { NSSkeletonHistogramChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","lineLinearSvg","lineMonotoneSvg","pattern","linear","monotone","LineChartSkeleton","props","_ref","arguments[0]","_ref2","_props$type","SChartSkeleton","Skeleton","type","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Line/Line.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonLineChart } from './Line.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it to babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst lineLinearSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/line-chart-linear.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst lineMonotoneSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/line-chart-monotone.svg'))\n`;\n\nconst pattern = {\n linear: lineLinearSvg,\n monotone: lineMonotoneSvg,\n};\n\nfunction LineChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonLineChart.Component>,\n) {\n const SChartSkeleton = Root;\n const type = props.type ?? 'linear';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${pattern[type]})`}\n />,\n );\n}\n\nexport default createComponent(LineChartSkeleton) as NSSkeletonLineChart.Component;\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,aAAa,qhBAElB;AACD;AACA;AACA,IAAMC,eAAe,qWAEpB;AAED,IAAMC,OAAO,GAAG;EACdC,MAAM,EAAEH,aAAa;EACrBI,QAAQ,EAAEH;AACZ,CAAC;AAED,SAASI,iBAAiBA,CACxBC,KAAuF,EACvF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,WAAA;EACA,IAAMC,cAAc,GAIRC,kBAAQ;EAHpB,IAAMC,IAAI,IAAAH,WAAA,GAAGJ,KAAK,CAACO,IAAI,cAAAH,WAAA,cAAAA,WAAA,GAAI,QAAQ;EACnC,OAAAD,KAAA,GAAO,IAAAX,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAoB,aAAA,CAACH,cAAc,EAAAF,KAAA,CAAAM,EAAA,uBAAAC,cAAA,qBAAAxB,KAAA,CAAAyB,WAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2BhB,OAAO,CAACW,IAAI,CAAC;EAAA,GAAAN,IAAA,GAC1D,CAAC;AAEN;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAAChB,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.type.js","names":[],"sources":["../../../../src/charts/Line/Line.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonLineChart {\n type Props = NSSkeleton.Props & {\n /** Controls the line interpolation style for the skeleton pattern */\n type?: 'linear' | 'monotone';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type LineChartSkeletonProps = NSSkeletonLineChart.Props;\n\nexport type { NSSkeletonLineChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadialTree.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","radialSvg","RadialTreeChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","Skeleton","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/RadialTree/RadialTree.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonRadialTreeChart } from './RadialTree.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst radialSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/radial-chart.svg'))\n`;\n\nfunction RadialTreeChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition='center'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${radialSvg})`}\n />,\n );\n}\n\nexport default createComponent(RadialTreeChartSkeleton) as NSSkeletonRadialTreeChart.Component;\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,SAAS,izOAEd;AAED,SAASC,uBAAuBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EACjC,IAAMC,cAAc,GAGRC,kBAAQ;EAFpB,OAAAF,KAAA,GAAO,IAAAN,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAa,aAAA,CAACF,cAAc,EAAAD,KAAA,CAAAI,EAAA,uBAAAC,cAAA,qBAAAjB,KAAA,CAAAkB,WAAA;IAAA,YAEJ,WAAW;IAAA,cACT,QAAQ;IAAA,UACZ,SAAS;IAAA,8CAAAC,MAAA,CAC4BX,SAAS;EAAA,GAAAE,IAAA,GACtD,CAAC;AAEN;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACb,uBAAuB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadialTree.type.js","names":[],"sources":["../../../../src/charts/RadialTree/RadialTree.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonRadialTreeChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonRadialTreeChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterPlot.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","scatterSvg","ScatterPlotChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","Skeleton","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/ScatterPlot/ScatterPlot.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonScatterPlotChart } from './ScatterPlot.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst scatterSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/scatter-plot-chart.svg'))\n`;\n\nfunction ScatterPlotChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${scatterSvg})`}\n />,\n );\n}\n\nexport default createComponent(ScatterPlotChartSkeleton) as NSSkeletonScatterPlotChart.Component;\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,UAAU,66DAEf;AAED,SAASC,wBAAwBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAClC,IAAMC,cAAc,GAGRC,kBAAQ;EAFpB,OAAAF,KAAA,GAAO,IAAAN,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAa,aAAA,CAACF,cAAc,EAAAD,KAAA,CAAAI,EAAA,uBAAAC,cAAA,qBAAAjB,KAAA,CAAAkB,WAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2BX,UAAU;EAAA,GAAAE,IAAA,GACvD,CAAC;AAEN;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACb,wBAAwB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterPlot.type.js","names":[],"sources":["../../../../src/charts/ScatterPlot/ScatterPlot.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonScatterPlotChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonScatterPlotChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.js","names":["_core","require","_react","_interopRequireDefault","_Skeleton","styles","sstyled","insert","vennSvg","VennChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","Skeleton","createElement","cn","_objectSpread2","assignProps","concat","_default","exports","createComponent"],"sources":["../../../../src/charts/Venn/Venn.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst vennSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/venn-chart.svg'))\n`;\n\nfunction VennChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition='center'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${vennSvg})`}\n />,\n );\n}\n\nexport default createComponent(VennChartSkeleton);\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,SAAA,GAAAH,OAAA;AAA0C;AAAA,IAAAI,MAAA,8BAAAL,KAAA,CAAAM,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,OAAO,inDAEZ;AAED,SAASC,iBAAiBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC3B,IAAMC,cAAc,GAGRC,kBAAQ;EAFpB,OAAAF,KAAA,GAAO,IAAAN,aAAO,EAACD,MAAM,CAAC,eACpBH,MAAA,YAAAa,aAAA,CAACF,cAAc,EAAAD,KAAA,CAAAI,EAAA,uBAAAC,cAAA,qBAAAjB,KAAA,CAAAkB,WAAA;IAAA,YAEJ,WAAW;IAAA,cACT,QAAQ;IAAA,UACZ,SAAS;IAAA,8CAAAC,MAAA,CAC4BX,OAAO;EAAA,GAAAE,IAAA,GACpD,CAAC;AAEN;AAAC,IAAAU,QAAA,GAAAC,OAAA,cAEc,IAAAC,qBAAe,EAACb,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.type.js","names":[],"sources":["../../../../src/charts/Venn/Venn.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonVennChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonVennChart };\n"],"mappings":"","ignoreList":[]}
|
package/lib/es6/Skeleton.type.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.type.js","names":[],"sources":["../../src/Skeleton.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\nimport type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';\n\ndeclare namespace NSSkeleton {\n type Props = BoxProps & UniqueIDProps & {\n /**\n * Skeleton visibility control property\n */\n hidden?: boolean;\n /**\n * Animation speed in ms\n * @default 2000\n */\n duration?: string | number;\n /**\n * Skeleton theme\n * @default invert\n */\n theme?: 'dark' | 'invert';\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Enable ResizeObserver for parent Element to recalculate skeleton size.\n * @default false\n */\n observeParentSize?: boolean;\n };\n type Ctx = {\n gradientUrl: string;\n };\n\n namespace Text {\n type Props = BoxProps & {\n // TODO: It looks like it should be number (def. not a string...)\n /**\n * Number of items to be returned\n * @default 1\n */\n amount?: string | number;\n };\n\n type Component = Intergalactic.Component<'rect', Props>;\n }\n\n type RenderComponent = Intergalactic.Component<'div', Props, Ctx>;\n\n type Component = Intergalactic.Component<'svg', Props, Ctx> & {\n Text: Text.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type SkeletonProps = NSSkeleton.Props;\n/** @deprecated It will be removed in v18. */\nexport type SkeletonCtx = NSSkeleton.Ctx;\n/** @deprecated It will be removed in v18. */\nexport type SkeletonTextProps = NSSkeleton.Text.Props;\n\nexport type { NSSkeleton };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Area.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","areaLinearSvg","areaMonotoneSvg","pattern","linear","monotone","AreaChartSkeleton","props","_ref","arguments[0]","_ref2","_props$type","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat","type"],"sources":["../../../../src/charts/Area/Area.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonAreaChart } from './Area.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst areaLinearSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/area-chart-linear.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst areaMonotoneSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/area-chart-monotone.svg'))\n`;\n\nconst pattern = {\n linear: areaLinearSvg,\n monotone: areaMonotoneSvg,\n};\n\nfunction AreaChartSkeleton(props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonAreaChart.Component>) {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left bottom'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${pattern[props.type ?? 'linear']})`}\n />,\n );\n}\n\nexport default createComponent(AreaChartSkeleton) as NSSkeletonAreaChart.Component;\n"],"mappings":";;;AACA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,aAAa,yVAElB;AACD;AACA;AACA,IAAMC,eAAe,iRAEpB;AAED,IAAMC,OAAO,GAAG;EACdC,MAAM,EAAEH,aAAa;EACrBI,QAAQ,EAAEH;AACZ,CAAC;AAED,SAASI,iBAAiBA,CAACC,KAAuF,EAAE;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,WAAA;EAClH,IAAMC,cAAc,GAGRf,QAAQ;EAFpB,OAAAa,KAAA,GAAOf,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAiB,aAAA,CAACD,cAAc,EAAAF,KAAA,CAAAI,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2Bd,OAAO,EAAAQ,WAAA,GAACJ,KAAK,CAACW,IAAI,cAAAP,WAAA,cAAAA,WAAA,GAAI,QAAQ,CAAC;EAAA,GAAAH,IAAA,GAC5E,CAAC;AAEN;AAEA,eAAef,eAAe,CAACa,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Area.type.js","names":[],"sources":["../../../../src/charts/Area/Area.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonAreaChart {\n type Props = NSSkeleton.Props & {\n /** Controls the area curve interpolation style for the skeleton pattern */\n type?: 'linear' | 'monotone';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type AreaChartSkeletonProps = NSSkeletonAreaChart.Props;\n\nexport type { NSSkeletonAreaChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","barVerticalSvg","barHorizontalSvg","pattern","vertical","horizontal","repeat","position","size","BarChartSkeleton","props","_ref","arguments[0]","_ref2","_props$layout","SChartSkeleton","layout","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Bar/Bar.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonBarChart } from './Bar.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\n\nconst barVerticalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bar-chart-vertical.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst barHorizontalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bar-chart-horizontal.svg'))\n`;\n\nconst pattern = { vertical: barVerticalSvg, horizontal: barHorizontalSvg };\nconst repeat = { vertical: 'repeat-y', horizontal: 'repeat-x' };\nconst position = { vertical: 'left top', horizontal: 'left bottom' };\nconst size = { vertical: 'contain', horizontal: 'auto 50%' };\n\nfunction BarChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonBarChart.Component>,\n) {\n const SChartSkeleton = Root;\n const layout = props.layout ?? 'horizontal';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat={repeat[layout]}\n bgPosition={position[layout]}\n bgSize={size[layout]}\n bgPattern={`url(data:image/svg+xml;base64,${pattern[layout]})`}\n />,\n );\n}\n\nexport default createComponent(BarChartSkeleton) as NSSkeletonBarChart.Component;\n"],"mappings":";;;AACA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AAEA,IAAMC,cAAc,69BAEnB;AACD;AACA;AACA,IAAMC,gBAAgB,izBAErB;AAED,IAAMC,OAAO,GAAG;EAAEC,QAAQ,EAAEH,cAAc;EAAEI,UAAU,EAAEH;AAAiB,CAAC;AAC1E,IAAMI,MAAM,GAAG;EAAEF,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC/D,IAAME,QAAQ,GAAG;EAAEH,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAc,CAAC;AACpE,IAAMG,IAAI,GAAG;EAAEJ,QAAQ,EAAE,SAAS;EAAEC,UAAU,EAAE;AAAW,CAAC;AAE5D,SAASI,gBAAgBA,CACvBC,KAAsF,EACtF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,aAAA;EACA,IAAMC,cAAc,GAIRlB,QAAQ;EAHpB,IAAMmB,MAAM,IAAAF,aAAA,GAAGJ,KAAK,CAACM,MAAM,cAAAF,aAAA,cAAAA,aAAA,GAAI,YAAY;EAC3C,OAAAD,KAAA,GAAOlB,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAqB,aAAA,CAACF,cAAc,EAAAF,KAAA,CAAAK,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEHd,MAAM,CAACU,MAAM,CAAC;IAAA,cACZT,QAAQ,CAACS,MAAM,CAAC;IAAA,UACpBR,IAAI,CAACQ,MAAM,CAAC;IAAA,8CAAAK,MAAA,CACwBlB,OAAO,CAACa,MAAM,CAAC;EAAA,GAAAL,IAAA,GAC5D,CAAC;AAEN;AAEA,eAAelB,eAAe,CAACgB,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.type.js","names":[],"sources":["../../../../src/charts/Bar/Bar.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonBarChart {\n type Props = NSSkeleton.Props & {\n /** Controls the orientation of the bar chart skeleton */\n layout?: 'horizontal' | 'vertical';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type BarChartSkeletonProps = NSSkeletonBarChart.Props;\n\nexport type { NSSkeletonBarChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","bubbleSvg","BubbleChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Bubble/Bubble.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonBubbleChart } from './Bubble.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst bubbleSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/bubble-chart.svg'))\n`;\n\nfunction BubbleChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${bubbleSvg})`}\n />,\n );\n}\n\nexport default createComponent(BubbleChartSkeleton) as NSSkeletonBubbleChart.Component;\n"],"mappings":";;;AAAA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,SAAS,6xCAEd;AAED,SAASC,mBAAmBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC7B,IAAMC,cAAc,GAGRT,QAAQ;EAFpB,OAAAQ,KAAA,GAAOV,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAW,aAAA,CAACD,cAAc,EAAAD,KAAA,CAAAG,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2BV,SAAS;EAAA,GAAAE,IAAA,GACtD,CAAC;AAEN;AAEA,eAAeV,eAAe,CAACS,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.type.js","names":[],"sources":["../../../../src/charts/Bubble/Bubble.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonBubbleChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonBubbleChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompactHorizontalBar.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","patternBase64","CompactHorizontalBarChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/CompactHorizontalBar/CompactHorizontalBar.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonCompactHorizontalBar } from './CompactHorizontalBar.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst patternBase64 = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/compact-horizontal-bar-chart.svg'))\n`;\n\nfunction CompactHorizontalBarChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-y'\n bgPosition='left top'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${patternBase64})`}\n />,\n );\n}\n\nexport default createComponent(CompactHorizontalBarChartSkeleton) as NSSkeletonCompactHorizontalBar.Component;\n"],"mappings":";;;AAAA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,aAAa,i/BAElB;AAED,SAASC,iCAAiCA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC3C,IAAMC,cAAc,GAGRT,QAAQ;EAFpB,OAAAQ,KAAA,GAAOV,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAW,aAAA,CAACD,cAAc,EAAAD,KAAA,CAAAG,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,UAAU;IAAA,cACR,UAAU;IAAA,UACd,SAAS;IAAA,8CAAAC,MAAA,CAC4BV,aAAa;EAAA,GAAAE,IAAA,GAC1D,CAAC;AAEN;AAEA,eAAeV,eAAe,CAACS,iCAAiC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompactHorizontalBar.type.js","names":[],"sources":["../../../../src/charts/CompactHorizontalBar/CompactHorizontalBar.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonCompactHorizontalBar {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonCompactHorizontalBar };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","donutFullSvg","donutHalfSvg","pattern","position","DonutChartSkeleton","props","_ref","arguments[0]","_ref2","_props$halfsize","SChartSkeleton","halfsize","toString","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Donut/Donut.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonDonutChart } from './Donut.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import or vite plugin.\n// @ts-ignore\nconst donutFullSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/donut-chart.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst donutHalfSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/donut-chart-halfsize.svg'))\n`;\n\nconst pattern: Record<string, string> = {\n true: donutHalfSvg,\n false: donutFullSvg,\n};\nconst position: Record<string, string> = {\n true: 'center bottom',\n false: 'center',\n};\n\nfunction DonutChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonDonutChart.Component>,\n) {\n const SChartSkeleton = Root;\n const halfsize = (props.halfsize ?? false).toString();\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition={position[halfsize]}\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${pattern[halfsize]})`}\n />,\n );\n}\n\nexport default createComponent(DonutChartSkeleton) as NSSkeletonDonutChart.Component;\n"],"mappings":";;;AACA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,YAAY,6qCAEjB;AACD;AACA;AACA,IAAMC,YAAY,6nBAEjB;AAED,IAAMC,OAA+B,GAAG;EACtC,QAAMD,YAAY;EAClB,SAAOD;AACT,CAAC;AACD,IAAMG,QAAgC,GAAG;EACvC,QAAM,eAAe;EACrB,SAAO;AACT,CAAC;AAED,SAASC,kBAAkBA,CACzBC,KAAwF,EACxF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,eAAA;EACA,IAAMC,cAAc,GAIRd,QAAQ;EAHpB,IAAMe,QAAQ,GAAG,EAAAF,eAAA,GAACJ,KAAK,CAACM,QAAQ,cAAAF,eAAA,cAAAA,eAAA,GAAI,KAAK,EAAEG,QAAQ,CAAC,CAAC;EACrD,OAAAJ,KAAA,GAAOd,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAkB,aAAA,CAACH,cAAc,EAAAF,KAAA,CAAAM,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,WAAW;IAAA,cACRb,QAAQ,CAACQ,QAAQ,CAAC;IAAA,UACvB,SAAS;IAAA,8CAAAM,MAAA,CAC4Bf,OAAO,CAACS,QAAQ,CAAC;EAAA,GAAAL,IAAA,GAC9D,CAAC;AAEN;AAEA,eAAed,eAAe,CAACY,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.type.js","names":[],"sources":["../../../../src/charts/Donut/Donut.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonDonutChart {\n type Props = NSSkeleton.Props & {\n /** Semi donut */\n halfsize?: boolean;\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type DonutChartSkeletonProps = NSSkeletonDonutChart.Props;\n\nexport type { NSSkeletonDonutChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","histogramVerticalSvg","histogramHorizontalSvg","repeat","vertical","horizontal","position","size","pattern","HistogramChartSkeleton","props","_ref","arguments[0]","_ref2","_props$layout","SChartSkeleton","layout","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Histogram/Histogram.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonHistogramChart } from './Histogram.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst histogramVerticalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/histogram-chart-vertical.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst histogramHorizontalSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/histogram-chart-horizontal.svg'))\n`;\n\nconst repeat = { vertical: 'repeat-y', horizontal: 'repeat-x' };\nconst position = { vertical: 'left top', horizontal: 'left bottom' };\nconst size = { vertical: 'contain', horizontal: 'auto 50%' };\nconst pattern = { vertical: histogramVerticalSvg, horizontal: histogramHorizontalSvg };\n\nfunction HistogramChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonHistogramChart.Component>,\n) {\n const SChartSkeleton = Root;\n const layout = props.layout ?? 'horizontal';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat={repeat[layout]}\n bgPosition={position[layout]}\n bgSize={size[layout]}\n bgPattern={`url(data:image/svg+xml;base64,${pattern[layout]})`}\n />,\n );\n}\n\nexport default createComponent(HistogramChartSkeleton) as NSSkeletonHistogramChart.Component;\n"],"mappings":";;;AACA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,oBAAoB,69BAEzB;AACD;AACA;AACA,IAAMC,sBAAsB,y7BAE3B;AAED,IAAMC,MAAM,GAAG;EAAEC,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC/D,IAAMC,QAAQ,GAAG;EAAEF,QAAQ,EAAE,UAAU;EAAEC,UAAU,EAAE;AAAc,CAAC;AACpE,IAAME,IAAI,GAAG;EAAEH,QAAQ,EAAE,SAAS;EAAEC,UAAU,EAAE;AAAW,CAAC;AAC5D,IAAMG,OAAO,GAAG;EAAEJ,QAAQ,EAAEH,oBAAoB;EAAEI,UAAU,EAAEH;AAAuB,CAAC;AAEtF,SAASO,sBAAsBA,CAC7BC,KAA4F,EAC5F;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,aAAA;EACA,IAAMC,cAAc,GAIRlB,QAAQ;EAHpB,IAAMmB,MAAM,IAAAF,aAAA,GAAGJ,KAAK,CAACM,MAAM,cAAAF,aAAA,cAAAA,aAAA,GAAI,YAAY;EAC3C,OAAAD,KAAA,GAAOlB,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAqB,aAAA,CAACF,cAAc,EAAAF,KAAA,CAAAK,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEHjB,MAAM,CAACa,MAAM,CAAC;IAAA,cACZV,QAAQ,CAACU,MAAM,CAAC;IAAA,UACpBT,IAAI,CAACS,MAAM,CAAC;IAAA,8CAAAK,MAAA,CACwBb,OAAO,CAACQ,MAAM,CAAC;EAAA,GAAAL,IAAA,GAC5D,CAAC;AAEN;AAEA,eAAelB,eAAe,CAACgB,sBAAsB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.type.js","names":[],"sources":["../../../../src/charts/Histogram/Histogram.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonHistogramChart {\n type Props = NSSkeleton.Props & {\n /** Controls the orientation of the histogram chart skeleton */\n layout?: 'horizontal' | 'vertical';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type HistogramChartSkeletonProps = NSSkeletonHistogramChart.Props;\n\nexport type { NSSkeletonHistogramChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","lineLinearSvg","lineMonotoneSvg","pattern","linear","monotone","LineChartSkeleton","props","_ref","arguments[0]","_ref2","_props$type","SChartSkeleton","type","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Line/Line.tsx"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonLineChart } from './Line.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it to babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst lineLinearSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/line-chart-linear.svg'))\n`;\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst lineMonotoneSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/line-chart-monotone.svg'))\n`;\n\nconst pattern = {\n linear: lineLinearSvg,\n monotone: lineMonotoneSvg,\n};\n\nfunction LineChartSkeleton(\n props: Intergalactic.InternalTypings.InferComponentProps<NSSkeletonLineChart.Component>,\n) {\n const SChartSkeleton = Root;\n const type = props.type ?? 'linear';\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${pattern[type]})`}\n />,\n );\n}\n\nexport default createComponent(LineChartSkeleton) as NSSkeletonLineChart.Component;\n"],"mappings":";;;AACA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,aAAa,qhBAElB;AACD;AACA;AACA,IAAMC,eAAe,qWAEpB;AAED,IAAMC,OAAO,GAAG;EACdC,MAAM,EAAEH,aAAa;EACrBI,QAAQ,EAAEH;AACZ,CAAC;AAED,SAASI,iBAAiBA,CACxBC,KAAuF,EACvF;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;IAAAC,WAAA;EACA,IAAMC,cAAc,GAIRf,QAAQ;EAHpB,IAAMgB,IAAI,IAAAF,WAAA,GAAGJ,KAAK,CAACM,IAAI,cAAAF,WAAA,cAAAA,WAAA,GAAI,QAAQ;EACnC,OAAAD,KAAA,GAAOf,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAkB,aAAA,CAACF,cAAc,EAAAF,KAAA,CAAAK,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2Bf,OAAO,CAACU,IAAI,CAAC;EAAA,GAAAL,IAAA,GAC1D,CAAC;AAEN;AAEA,eAAef,eAAe,CAACa,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.type.js","names":[],"sources":["../../../../src/charts/Line/Line.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\n\nimport type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonLineChart {\n type Props = NSSkeleton.Props & {\n /** Controls the line interpolation style for the skeleton pattern */\n type?: 'linear' | 'monotone';\n };\n type Component = Intergalactic.Component<'svg', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type LineChartSkeletonProps = NSSkeletonLineChart.Props;\n\nexport type { NSSkeletonLineChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadialTree.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","radialSvg","RadialTreeChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/RadialTree/RadialTree.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonRadialTreeChart } from './RadialTree.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst radialSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/radial-chart.svg'))\n`;\n\nfunction RadialTreeChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition='center'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${radialSvg})`}\n />,\n );\n}\n\nexport default createComponent(RadialTreeChartSkeleton) as NSSkeletonRadialTreeChart.Component;\n"],"mappings":";;;AAAA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,SAAS,izOAEd;AAED,SAASC,uBAAuBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EACjC,IAAMC,cAAc,GAGRT,QAAQ;EAFpB,OAAAQ,KAAA,GAAOV,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAW,aAAA,CAACD,cAAc,EAAAD,KAAA,CAAAG,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,WAAW;IAAA,cACT,QAAQ;IAAA,UACZ,SAAS;IAAA,8CAAAC,MAAA,CAC4BV,SAAS;EAAA,GAAAE,IAAA,GACtD,CAAC;AAEN;AAEA,eAAeV,eAAe,CAACS,uBAAuB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadialTree.type.js","names":[],"sources":["../../../../src/charts/RadialTree/RadialTree.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonRadialTreeChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonRadialTreeChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterPlot.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","scatterSvg","ScatterPlotChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/ScatterPlot/ScatterPlot.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport type { NSSkeletonScatterPlotChart } from './ScatterPlot.type';\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst scatterSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/scatter-plot-chart.svg'))\n`;\n\nfunction ScatterPlotChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='repeat-x'\n bgPosition='left center'\n bgSize='auto 50%'\n bgPattern={`url(data:image/svg+xml;base64,${scatterSvg})`}\n />,\n );\n}\n\nexport default createComponent(ScatterPlotChartSkeleton) as NSSkeletonScatterPlotChart.Component;\n"],"mappings":";;;AAAA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,UAAU,66DAEf;AAED,SAASC,wBAAwBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAClC,IAAMC,cAAc,GAGRT,QAAQ;EAFpB,OAAAQ,KAAA,GAAOV,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAW,aAAA,CAACD,cAAc,EAAAD,KAAA,CAAAG,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,UAAU;IAAA,cACR,aAAa;IAAA,UACjB,UAAU;IAAA,8CAAAC,MAAA,CAC2BV,UAAU;EAAA,GAAAE,IAAA,GACvD,CAAC;AAEN;AAEA,eAAeV,eAAe,CAACS,wBAAwB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterPlot.type.js","names":[],"sources":["../../../../src/charts/ScatterPlot/ScatterPlot.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonScatterPlotChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonScatterPlotChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.js","names":["createComponent","Root","sstyled","React","Skeleton","styles","_sstyled","insert","vennSvg","VennChartSkeleton","_ref","arguments[0]","_ref2","SChartSkeleton","createElement","cn","_objectSpread","_assignProps","concat"],"sources":["../../../../src/charts/Venn/Venn.tsx"],"sourcesContent":["import { createComponent, Root, sstyled } from '@semcore/core';\nimport React from 'react';\n\nimport { Skeleton } from '../../Skeleton';\nimport styles from '../../style/chart.shadow.css';\n\n// TODO: replace it with babel-plugin-inline-import/or vite plugin.\n// @ts-ignore\nconst vennSvg = preval`\nmodule.exports = btoa(require('fs').readFileSync(__dirname + '/../../svg/venn-chart.svg'))\n`;\n\nfunction VennChartSkeleton() {\n const SChartSkeleton = Root;\n return sstyled(styles)(\n <SChartSkeleton\n render={Skeleton}\n bgRepeat='no-repeat'\n bgPosition='center'\n bgSize='contain'\n bgPattern={`url(data:image/svg+xml;base64,${vennSvg})`}\n />,\n );\n}\n\nexport default createComponent(VennChartSkeleton);\n"],"mappings":";;;AAAA,SAASA,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,QAAQ,QAAQ,gBAAgB;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,IAG1C;AACA;AACA,IAAMC,OAAO,inDAEZ;AAED,SAASC,iBAAiBA,CAAA,EAAG;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC3B,IAAMC,cAAc,GAGRT,QAAQ;EAFpB,OAAAQ,KAAA,GAAOV,OAAO,CAACG,MAAM,CAAC,eACpBF,KAAA,CAAAW,aAAA,CAACD,cAAc,EAAAD,KAAA,CAAAG,EAAA,mBAAAC,aAAA,KAAAC,YAAA;IAAA,YAEJ,WAAW;IAAA,cACT,QAAQ;IAAA,UACZ,SAAS;IAAA,8CAAAC,MAAA,CAC4BV,OAAO;EAAA,GAAAE,IAAA,GACpD,CAAC;AAEN;AAEA,eAAeV,eAAe,CAACS,iBAAiB,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.type.js","names":[],"sources":["../../../../src/charts/Venn/Venn.type.ts"],"sourcesContent":["import type { NSSkeleton } from '../../Skeleton.type';\n\ndeclare namespace NSSkeletonVennChart {\n type Component = NSSkeleton.Component;\n}\n\nexport type { NSSkeletonVennChart };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { BoxProps } from '@semcore/base-components';
|
|
2
|
-
import type { Intergalactic } from '@semcore/core';
|
|
3
|
-
import type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';
|
|
4
|
-
declare namespace NSSkeleton {
|
|
5
|
-
type Props = BoxProps & UniqueIDProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Skeleton visibility control property
|
|
8
|
-
*/
|
|
9
|
-
hidden?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Animation speed in ms
|
|
12
|
-
* @default 2000
|
|
13
|
-
*/
|
|
14
|
-
duration?: string | number;
|
|
15
|
-
/**
|
|
16
|
-
* Skeleton theme
|
|
17
|
-
* @default invert
|
|
18
|
-
*/
|
|
19
|
-
theme?: 'dark' | 'invert';
|
|
20
|
-
/** Specifies the locale for i18n support */
|
|
21
|
-
locale?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Enable ResizeObserver for parent Element to recalculate skeleton size.
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
observeParentSize?: boolean;
|
|
27
|
-
};
|
|
28
|
-
type Ctx = {
|
|
29
|
-
gradientUrl: string;
|
|
30
|
-
};
|
|
31
|
-
namespace Text {
|
|
32
|
-
type Props = BoxProps & {
|
|
33
|
-
/**
|
|
34
|
-
* Number of items to be returned
|
|
35
|
-
* @default 1
|
|
36
|
-
*/
|
|
37
|
-
amount?: string | number;
|
|
38
|
-
};
|
|
39
|
-
type Component = Intergalactic.Component<'rect', Props>;
|
|
40
|
-
}
|
|
41
|
-
type RenderComponent = Intergalactic.Component<'div', Props, Ctx>;
|
|
42
|
-
type Component = Intergalactic.Component<'svg', Props, Ctx> & {
|
|
43
|
-
Text: Text.Component;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
/** @deprecated It will be removed in v18. */
|
|
47
|
-
export type SkeletonProps = NSSkeleton.Props;
|
|
48
|
-
/** @deprecated It will be removed in v18. */
|
|
49
|
-
export type SkeletonCtx = NSSkeleton.Ctx;
|
|
50
|
-
/** @deprecated It will be removed in v18. */
|
|
51
|
-
export type SkeletonTextProps = NSSkeleton.Text.Props;
|
|
52
|
-
export type { NSSkeleton };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { NSSkeleton } from '../../Skeleton.type';
|
|
3
|
-
declare namespace NSSkeletonAreaChart {
|
|
4
|
-
type Props = NSSkeleton.Props & {
|
|
5
|
-
/** Controls the area curve interpolation style for the skeleton pattern */
|
|
6
|
-
type?: 'linear' | 'monotone';
|
|
7
|
-
};
|
|
8
|
-
type Component = Intergalactic.Component<'svg', Props>;
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated It will be removed in v18. */
|
|
11
|
-
export type AreaChartSkeletonProps = NSSkeletonAreaChart.Props;
|
|
12
|
-
export type { NSSkeletonAreaChart };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { NSSkeleton } from '../../Skeleton.type';
|
|
3
|
-
declare namespace NSSkeletonBarChart {
|
|
4
|
-
type Props = NSSkeleton.Props & {
|
|
5
|
-
/** Controls the orientation of the bar chart skeleton */
|
|
6
|
-
layout?: 'horizontal' | 'vertical';
|
|
7
|
-
};
|
|
8
|
-
type Component = Intergalactic.Component<'svg', Props>;
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated It will be removed in v18. */
|
|
11
|
-
export type BarChartSkeletonProps = NSSkeletonBarChart.Props;
|
|
12
|
-
export type { NSSkeletonBarChart };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { NSSkeleton } from '../../Skeleton.type';
|
|
3
|
-
declare namespace NSSkeletonDonutChart {
|
|
4
|
-
type Props = NSSkeleton.Props & {
|
|
5
|
-
/** Semi donut */
|
|
6
|
-
halfsize?: boolean;
|
|
7
|
-
};
|
|
8
|
-
type Component = Intergalactic.Component<'svg', Props>;
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated It will be removed in v18. */
|
|
11
|
-
export type DonutChartSkeletonProps = NSSkeletonDonutChart.Props;
|
|
12
|
-
export type { NSSkeletonDonutChart };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { NSSkeleton } from '../../Skeleton.type';
|
|
3
|
-
declare namespace NSSkeletonHistogramChart {
|
|
4
|
-
type Props = NSSkeleton.Props & {
|
|
5
|
-
/** Controls the orientation of the histogram chart skeleton */
|
|
6
|
-
layout?: 'horizontal' | 'vertical';
|
|
7
|
-
};
|
|
8
|
-
type Component = Intergalactic.Component<'svg', Props>;
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated It will be removed in v18. */
|
|
11
|
-
export type HistogramChartSkeletonProps = NSSkeletonHistogramChart.Props;
|
|
12
|
-
export type { NSSkeletonHistogramChart };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { NSSkeleton } from '../../Skeleton.type';
|
|
3
|
-
declare namespace NSSkeletonLineChart {
|
|
4
|
-
type Props = NSSkeleton.Props & {
|
|
5
|
-
/** Controls the line interpolation style for the skeleton pattern */
|
|
6
|
-
type?: 'linear' | 'monotone';
|
|
7
|
-
};
|
|
8
|
-
type Component = Intergalactic.Component<'svg', Props>;
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated It will be removed in v18. */
|
|
11
|
-
export type LineChartSkeletonProps = NSSkeletonLineChart.Props;
|
|
12
|
-
export type { NSSkeletonLineChart };
|