@visactor/vrender-components 1.1.0-alpha.28 → 1.1.0-alpha.29

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.
@@ -24,4 +24,5 @@ function(AxisStateValue) {
24
24
  [AxisStateValue.selected]: {},
25
25
  [AxisStateValue.hover]: {},
26
26
  [AxisStateValue.hoverReverse]: {}
27
- }, exports.TopZIndex = 999;
27
+ }, exports.TopZIndex = 999;
28
+ //# sourceMappingURL=constant.js.map
package/cjs/axis/util.js CHANGED
@@ -104,5 +104,4 @@ exports.getAxisBreakSymbolAttrs = getAxisBreakSymbolAttrs, exports.getElMap = ge
104
104
  exports.getVerticalCoord = getVerticalCoord, exports.getCircleVerticalVector = getCircleVerticalVector,
105
105
  exports.angleLabelOrientAttribute = angleLabelOrientAttribute, exports.getPolarAngleLabelPosition = getPolarAngleLabelPosition,
106
106
  exports.getCirclePoints = getCirclePoints, exports.getPolygonPath = getPolygonPath,
107
- exports.textIntersect = textIntersect, exports.hasOverlap = hasOverlap;
108
- //# sourceMappingURL=util.js.map
107
+ exports.textIntersect = textIntersect, exports.hasOverlap = hasOverlap;
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.1.0-alpha.28";
1
+ export declare const version = "1.1.0-alpha.29";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/cjs/index.js CHANGED
@@ -17,7 +17,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), exports.version = void 0, exports.version = "1.1.0-alpha.28", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "1.1.0-alpha.29", __exportStar(require("./core/base"), exports),
21
21
  __exportStar(require("./core/type"), exports), __exportStar(require("./scrollbar"), exports),
22
22
  __exportStar(require("./tag"), exports), __exportStar(require("./poptip"), exports),
23
23
  __exportStar(require("./crosshair"), exports), __exportStar(require("./label"), exports),
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,8CAA4B;AAC5B,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.28\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,8CAA4B;AAC5B,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.29\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
@@ -16,12 +16,14 @@ function bindPoptip(container) {
16
16
  }
17
17
 
18
18
  function installPoptipToApp(app) {
19
+ if (!app) throw new Error("installPoptipToApp requires an app instance");
19
20
  (0, vrender_core_1.configureRuntimeApplicationForApp)(app), bindPoptip((0, vrender_core_1.getRuntimeInstallerBindingContext)()),
20
21
  (0, vrender_core_1.refreshRuntimeInstallerContributions)(), (0, vrender_core_1.installRuntimeGraphicRenderersToApp)(app);
21
22
  }
22
23
 
23
24
  function loadPoptip() {
24
- bindPoptip((0, vrender_core_1.getLegacyBindingContext)());
25
+ bindPoptip((0, vrender_core_1.getLegacyBindingContext)()), bindPoptip((0, vrender_core_1.getRuntimeInstallerBindingContext)()),
26
+ (0, vrender_core_1.refreshRuntimeInstallerContributions)();
25
27
  }
26
28
 
27
29
  exports.installPoptipToApp = installPoptipToApp, exports.loadPoptip = loadPoptip;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/poptip/module.ts"],"names":[],"mappings":";;;AAAA,yDASgC;AAChC,iDAA0D;AAC1D,mDAA0E;AAE1E,SAAS,UAAU,CAAC,SAAyF;IAC3G,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,uCAAwB,CAAC,EAAE;QAChD,SAAS,CAAC,IAAI,CAAC,uCAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;QACrE,SAAS,CAAC,IAAI,CAAC,+CAAgC,CAAC,CAAC,SAAS,CAAC,uCAAwB,CAAC,CAAC;KACtF;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,4BAAY,CAAC,EAAE;QACpC,SAAS,CAAC,IAAI,CAAC,4BAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,SAAS,CAAC,IAAI,CAAC,gCAAiB,CAAC,CAAC,SAAS,CAAC,4BAAY,CAAC,CAAC;KAC3D;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yCAAyB,CAAC,EAAE;QACjD,SAAS,CAAC,IAAI,CAAC,yCAAyB,CAAC,CAAC,MAAM,EAAE,CAAC;QACnD,SAAS,CAAC,IAAI,CAAC,gCAAiB,CAAC,CAAC,SAAS,CAAC,yCAAyB,CAAC,CAAC;KACxE;AACH,CAAC;AAED,SAAgB,kBAAkB,CAAC,GAAS;IAC1C,IAAA,gDAAiC,EAAC,GAAG,CAAC,CAAC;IACvC,UAAU,CAAC,IAAA,gDAAiC,GAAE,CAAC,CAAC;IAChD,IAAA,mDAAoC,GAAE,CAAC;IACvC,IAAA,kDAAmC,EAAC,GAAG,CAAC,CAAC;AAC3C,CAAC;AALD,gDAKC;AAED,SAAgB,UAAU;IACxB,UAAU,CAAC,IAAA,sCAAuB,GAAE,CAAC,CAAC;AACxC,CAAC;AAFD,gCAEC","file":"module.js","sourcesContent":["import {\n AutoEnablePlugins,\n InteractiveSubRenderContribution,\n configureRuntimeApplicationForApp,\n getLegacyBindingContext,\n getRuntimeInstallerBindingContext,\n installRuntimeGraphicRenderersToApp,\n refreshRuntimeInstallerContributions,\n type IApp\n} from '@visactor/vrender-core';\nimport { PopTipRenderContribution } from './contribution';\nimport { PopTipPlugin, PopTipForClipedTextPlugin } from './poptip-plugin';\n\nfunction bindPoptip(container: Pick<ReturnType<typeof getRuntimeInstallerBindingContext>, 'bind' | 'isBound'>) {\n if (!container.isBound(PopTipRenderContribution)) {\n container.bind(PopTipRenderContribution).toSelf().inSingletonScope();\n container.bind(InteractiveSubRenderContribution).toService(PopTipRenderContribution);\n }\n if (!container.isBound(PopTipPlugin)) {\n container.bind(PopTipPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipPlugin);\n }\n if (!container.isBound(PopTipForClipedTextPlugin)) {\n container.bind(PopTipForClipedTextPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipForClipedTextPlugin);\n }\n}\n\nexport function installPoptipToApp(app: IApp): void {\n configureRuntimeApplicationForApp(app);\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n installRuntimeGraphicRenderersToApp(app);\n}\n\nexport function loadPoptip() {\n bindPoptip(getLegacyBindingContext());\n}\n"]}
1
+ {"version":3,"sources":["../src/poptip/module.ts"],"names":[],"mappings":";;;AAAA,yDASgC;AAChC,iDAA0D;AAC1D,mDAA0E;AAE1E,SAAS,UAAU,CAAC,SAAyF;IAC3G,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,uCAAwB,CAAC,EAAE;QAChD,SAAS,CAAC,IAAI,CAAC,uCAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;QACrE,SAAS,CAAC,IAAI,CAAC,+CAAgC,CAAC,CAAC,SAAS,CAAC,uCAAwB,CAAC,CAAC;KACtF;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,4BAAY,CAAC,EAAE;QACpC,SAAS,CAAC,IAAI,CAAC,4BAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,SAAS,CAAC,IAAI,CAAC,gCAAiB,CAAC,CAAC,SAAS,CAAC,4BAAY,CAAC,CAAC;KAC3D;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yCAAyB,CAAC,EAAE;QACjD,SAAS,CAAC,IAAI,CAAC,yCAAyB,CAAC,CAAC,MAAM,EAAE,CAAC;QACnD,SAAS,CAAC,IAAI,CAAC,gCAAiB,CAAC,CAAC,SAAS,CAAC,yCAAyB,CAAC,CAAC;KACxE;AACH,CAAC;AAED,SAAgB,kBAAkB,CAAC,GAAS;IAC1C,IAAI,CAAC,GAAG,EAAE;QACR,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;KAChE;IAED,IAAA,gDAAiC,EAAC,GAAG,CAAC,CAAC;IACvC,UAAU,CAAC,IAAA,gDAAiC,GAAE,CAAC,CAAC;IAChD,IAAA,mDAAoC,GAAE,CAAC;IACvC,IAAA,kDAAmC,EAAC,GAAG,CAAC,CAAC;AAC3C,CAAC;AATD,gDASC;AAED,SAAgB,UAAU;IACxB,UAAU,CAAC,IAAA,sCAAuB,GAAE,CAAC,CAAC;IACtC,UAAU,CAAC,IAAA,gDAAiC,GAAE,CAAC,CAAC;IAChD,IAAA,mDAAoC,GAAE,CAAC;AACzC,CAAC;AAJD,gCAIC","file":"module.js","sourcesContent":["import {\n AutoEnablePlugins,\n InteractiveSubRenderContribution,\n configureRuntimeApplicationForApp,\n getLegacyBindingContext,\n getRuntimeInstallerBindingContext,\n installRuntimeGraphicRenderersToApp,\n refreshRuntimeInstallerContributions,\n type IApp\n} from '@visactor/vrender-core';\nimport { PopTipRenderContribution } from './contribution';\nimport { PopTipPlugin, PopTipForClipedTextPlugin } from './poptip-plugin';\n\nfunction bindPoptip(container: Pick<ReturnType<typeof getRuntimeInstallerBindingContext>, 'bind' | 'isBound'>) {\n if (!container.isBound(PopTipRenderContribution)) {\n container.bind(PopTipRenderContribution).toSelf().inSingletonScope();\n container.bind(InteractiveSubRenderContribution).toService(PopTipRenderContribution);\n }\n if (!container.isBound(PopTipPlugin)) {\n container.bind(PopTipPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipPlugin);\n }\n if (!container.isBound(PopTipForClipedTextPlugin)) {\n container.bind(PopTipForClipedTextPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipForClipedTextPlugin);\n }\n}\n\nexport function installPoptipToApp(app: IApp): void {\n if (!app) {\n throw new Error('installPoptipToApp requires an app instance');\n }\n\n configureRuntimeApplicationForApp(app);\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n installRuntimeGraphicRenderersToApp(app);\n}\n\nexport function loadPoptip() {\n bindPoptip(getLegacyBindingContext());\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n}\n"]}
package/dist/index.es.js CHANGED
@@ -17231,6 +17231,9 @@ function bindPoptip(container) {
17231
17231
  }
17232
17232
  }
17233
17233
  function installPoptipToApp(app) {
17234
+ if (!app) {
17235
+ throw new Error('installPoptipToApp requires an app instance');
17236
+ }
17234
17237
  configureRuntimeApplicationForApp(app);
17235
17238
  bindPoptip(getRuntimeInstallerBindingContext());
17236
17239
  refreshRuntimeInstallerContributions();
@@ -17238,6 +17241,8 @@ function installPoptipToApp(app) {
17238
17241
  }
17239
17242
  function loadPoptip() {
17240
17243
  bindPoptip(getLegacyBindingContext());
17244
+ bindPoptip(getRuntimeInstallerBindingContext());
17245
+ refreshRuntimeInstallerContributions();
17241
17246
  }
17242
17247
 
17243
17248
  class CrosshairBase extends AbstractComponent {
@@ -36419,6 +36424,6 @@ TableSeriesNumber.defaultAttributes = {
36419
36424
  select: true
36420
36425
  };
36421
36426
 
36422
- const version = "1.1.0-alpha.28";
36427
+ const version = "1.1.0-alpha.29";
36423
36428
 
36424
36429
  export { AXIS_ELEMENT_NAME, AbstractComponent, ArcInfo, ArcLabel, ArcSegment, AxisStateValue, BasePlayer, Brush, CheckBox, CircleAxis, CircleAxisGrid, CircleCrosshair, ColorContinuousLegend, ContinuousPlayer, DEFAULT_ITEM_SPACE_COL, DEFAULT_ITEM_SPACE_ROW, DEFAULT_LABEL_SPACE, DEFAULT_PAGER_SPACE, DEFAULT_SHAPE_SIZE, DEFAULT_SHAPE_SPACE, DEFAULT_STATES$1 as DEFAULT_STATES, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DirectionEnum, DiscreteLegend, DiscretePlayer, EmptyTip, GroupTransition, IDataZoomEvent, IDataZoomInteractiveEvent, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Indicator, LEGEND_ELEMENT_NAME, LabelBase, LegendEvent, LegendStateValue, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LinkPath, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Pager, PlayerEventEnum, PolygonCrosshair, PolygonSectorCrosshair, PopTip, Radio, RectCrosshair, RectLabel, SLIDER_ELEMENT_NAME, ScrollBar, SectorCrosshair, Segment, SeriesNumberCellStateValue, SeriesNumberEvent, SizeContinuousLegend, Slider, StoryLabelItem, Switch, SymbolLabel, TableSeriesNumber, Tag, Timeline, Title, Tooltip, TopZIndex, VTag, WeatherBox, alignTextInLine, angle, angleLabelOrientAttribute, angleTo, cartesianTicks, clampRadian, computeOffsetForlimit, continuousTicks, contrastAccessibilityChecker, convertDomainToTickData, createTextGraphicByType, deltaXYToAngle, fuzzyEqualNumber, getAxisBreakSymbolAttrs, getCircleLabelPosition, getCirclePoints, getCircleVerticalVector, getElMap, getHorizontalPath, getMarksByName, getNoneGroupMarksByName, getPolarAngleLabelPosition, getPolygonPath, getSizeHandlerPath, getTextAlignAttrOfVerticalDir, getTextType, getVerticalCoord, getVerticalPath, hasOverlap, htmlAttributeTransform, initTextMeasure, installPoptipToApp, installScrollbarToApp, isInRange, isPostiveXAxis, isRichText, isVisible, labelSmartInvert, length, limitShapeInBounds, linearDiscreteTicks, loadPoptip, loadScrollbar, measureTextSize, normalize, polarAngleAxisDiscreteTicks, polarTicks, reactAttributeTransform, registerArcDataLabel, registerLineDataLabel, registerMarkArcAreaAnimate, registerMarkArcLineAnimate, registerMarkAreaAnimate, registerMarkLineAnimate, registerMarkPointAnimate, registerRectDataLabel, registerSymbolDataLabel, removeRepeatPoint, richTextAttributeTransform, scale, setPoptipTheme, smartInvertStrategy, tan2AngleToAngle, textIntersect, ticks, traverseGroup, version };
@@ -26,4 +26,5 @@ export const DEFAULT_STATES = {
26
26
  [AxisStateValue.hoverReverse]: {}
27
27
  };
28
28
 
29
- export const TopZIndex = 999;
29
+ export const TopZIndex = 999;
30
+ //# sourceMappingURL=constant.js.map
package/es/axis/util.js CHANGED
@@ -98,5 +98,4 @@ export function hasOverlap(items, pad) {
98
98
  for (let b, i = 1, n = items.length, a = items[0]; i < n; a = b, ++i) if (b = items[i],
99
99
  textIntersect(a, b, pad)) return !0;
100
100
  return !1;
101
- }
102
- //# sourceMappingURL=util.js.map
101
+ }
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.1.0-alpha.28";
1
+ export declare const version = "1.1.0-alpha.29";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = "1.1.0-alpha.28";
1
+ export const version = "1.1.0-alpha.29";
2
2
 
3
3
  export * from "./core/base";
4
4
 
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.28\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.0-alpha.29\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
@@ -13,11 +13,13 @@ function bindPoptip(container) {
13
13
  }
14
14
 
15
15
  export function installPoptipToApp(app) {
16
+ if (!app) throw new Error("installPoptipToApp requires an app instance");
16
17
  configureRuntimeApplicationForApp(app), bindPoptip(getRuntimeInstallerBindingContext()),
17
18
  refreshRuntimeInstallerContributions(), installRuntimeGraphicRenderersToApp(app);
18
19
  }
19
20
 
20
21
  export function loadPoptip() {
21
- bindPoptip(getLegacyBindingContext());
22
+ bindPoptip(getLegacyBindingContext()), bindPoptip(getRuntimeInstallerBindingContext()),
23
+ refreshRuntimeInstallerContributions();
22
24
  }
23
25
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/poptip/module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,iCAAiC,EACjC,mCAAmC,EACnC,oCAAoC,EAErC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE1E,SAAS,UAAU,CAAC,SAAyF;IAC3G,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,wBAAwB,CAAC,EAAE;QAChD,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;QACrE,SAAS,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;KACtF;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;QACpC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;KAC3D;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE;QACjD,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,MAAM,EAAE,CAAC;QACnD,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;KACxE;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,GAAS;IAC1C,iCAAiC,CAAC,GAAG,CAAC,CAAC;IACvC,UAAU,CAAC,iCAAiC,EAAE,CAAC,CAAC;IAChD,oCAAoC,EAAE,CAAC;IACvC,mCAAmC,CAAC,GAAG,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,UAAU,CAAC,uBAAuB,EAAE,CAAC,CAAC;AACxC,CAAC","file":"module.js","sourcesContent":["import {\n AutoEnablePlugins,\n InteractiveSubRenderContribution,\n configureRuntimeApplicationForApp,\n getLegacyBindingContext,\n getRuntimeInstallerBindingContext,\n installRuntimeGraphicRenderersToApp,\n refreshRuntimeInstallerContributions,\n type IApp\n} from '@visactor/vrender-core';\nimport { PopTipRenderContribution } from './contribution';\nimport { PopTipPlugin, PopTipForClipedTextPlugin } from './poptip-plugin';\n\nfunction bindPoptip(container: Pick<ReturnType<typeof getRuntimeInstallerBindingContext>, 'bind' | 'isBound'>) {\n if (!container.isBound(PopTipRenderContribution)) {\n container.bind(PopTipRenderContribution).toSelf().inSingletonScope();\n container.bind(InteractiveSubRenderContribution).toService(PopTipRenderContribution);\n }\n if (!container.isBound(PopTipPlugin)) {\n container.bind(PopTipPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipPlugin);\n }\n if (!container.isBound(PopTipForClipedTextPlugin)) {\n container.bind(PopTipForClipedTextPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipForClipedTextPlugin);\n }\n}\n\nexport function installPoptipToApp(app: IApp): void {\n configureRuntimeApplicationForApp(app);\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n installRuntimeGraphicRenderersToApp(app);\n}\n\nexport function loadPoptip() {\n bindPoptip(getLegacyBindingContext());\n}\n"]}
1
+ {"version":3,"sources":["../src/poptip/module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,iCAAiC,EACjC,mCAAmC,EACnC,oCAAoC,EAErC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE1E,SAAS,UAAU,CAAC,SAAyF;IAC3G,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,wBAAwB,CAAC,EAAE;QAChD,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;QACrE,SAAS,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;KACtF;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;QACpC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;KAC3D;IACD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE;QACjD,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,MAAM,EAAE,CAAC;QACnD,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;KACxE;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,GAAS;IAC1C,IAAI,CAAC,GAAG,EAAE;QACR,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;KAChE;IAED,iCAAiC,CAAC,GAAG,CAAC,CAAC;IACvC,UAAU,CAAC,iCAAiC,EAAE,CAAC,CAAC;IAChD,oCAAoC,EAAE,CAAC;IACvC,mCAAmC,CAAC,GAAG,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,UAAU,CAAC,uBAAuB,EAAE,CAAC,CAAC;IACtC,UAAU,CAAC,iCAAiC,EAAE,CAAC,CAAC;IAChD,oCAAoC,EAAE,CAAC;AACzC,CAAC","file":"module.js","sourcesContent":["import {\n AutoEnablePlugins,\n InteractiveSubRenderContribution,\n configureRuntimeApplicationForApp,\n getLegacyBindingContext,\n getRuntimeInstallerBindingContext,\n installRuntimeGraphicRenderersToApp,\n refreshRuntimeInstallerContributions,\n type IApp\n} from '@visactor/vrender-core';\nimport { PopTipRenderContribution } from './contribution';\nimport { PopTipPlugin, PopTipForClipedTextPlugin } from './poptip-plugin';\n\nfunction bindPoptip(container: Pick<ReturnType<typeof getRuntimeInstallerBindingContext>, 'bind' | 'isBound'>) {\n if (!container.isBound(PopTipRenderContribution)) {\n container.bind(PopTipRenderContribution).toSelf().inSingletonScope();\n container.bind(InteractiveSubRenderContribution).toService(PopTipRenderContribution);\n }\n if (!container.isBound(PopTipPlugin)) {\n container.bind(PopTipPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipPlugin);\n }\n if (!container.isBound(PopTipForClipedTextPlugin)) {\n container.bind(PopTipForClipedTextPlugin).toSelf();\n container.bind(AutoEnablePlugins).toService(PopTipForClipedTextPlugin);\n }\n}\n\nexport function installPoptipToApp(app: IApp): void {\n if (!app) {\n throw new Error('installPoptipToApp requires an app instance');\n }\n\n configureRuntimeApplicationForApp(app);\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n installRuntimeGraphicRenderersToApp(app);\n}\n\nexport function loadPoptip() {\n bindPoptip(getLegacyBindingContext());\n bindPoptip(getRuntimeInstallerBindingContext());\n refreshRuntimeInstallerContributions();\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "1.1.0-alpha.28",
3
+ "version": "1.1.0-alpha.29",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -129,9 +129,9 @@
129
129
  "dependencies": {
130
130
  "@visactor/vutils": "~1.0.12",
131
131
  "@visactor/vscale": "~1.0.12",
132
- "@visactor/vrender-core": "1.1.0-alpha.28",
133
- "@visactor/vrender-kits": "1.1.0-alpha.28",
134
- "@visactor/vrender-animate": "1.1.0-alpha.28"
132
+ "@visactor/vrender-core": "1.1.0-alpha.29",
133
+ "@visactor/vrender-kits": "1.1.0-alpha.29",
134
+ "@visactor/vrender-animate": "1.1.0-alpha.29"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@rushstack/eslint-patch": "~1.1.4",
@@ -146,8 +146,8 @@
146
146
  "typescript": "4.9.5",
147
147
  "cross-env": "^7.0.3",
148
148
  "@internal/bundler": "0.0.1",
149
- "@internal/eslint-config": "0.0.1",
150
- "@internal/ts-config": "0.0.1"
149
+ "@internal/ts-config": "0.0.1",
150
+ "@internal/eslint-config": "0.0.1"
151
151
  },
152
152
  "keywords": [
153
153
  "VisActor",