@visactor/vtable 1.9.2-alpha.1 → 1.9.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.d.ts CHANGED
@@ -19,7 +19,7 @@ import { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils
19
19
  export { getDataCellPath } from './tools/get-data-path';
20
20
  export * from './render/jsx';
21
21
  export { getTargetCell } from './event/util';
22
- export declare const version = "1.9.2-alpha.1";
22
+ export declare const version = "1.9.2-alpha.2";
23
23
  export { TYPES, core, ListTable, ListTableSimple, ListTableConstructorOptions, PivotTable, PivotTableSimple, PivotTableConstructorOptions, PivotChartConstructorOptions, PivotChart, GanttConstructorOptions, IHeaderTreeDefine, IDimension, IIndicator, ITitleDefine, ICornerDefine, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, themes, data, MousePointerCellEvent, getIcons, clearGlobal, register, DataStatistics, CustomLayout, updateCell, renderChart, graphicUtil, setCustomAlphabetCharSet, restoreMeasureText };
24
24
  declare function getIcons(): {
25
25
  [key: string]: TYPES.ColumnIconOption;
package/cjs/index.js CHANGED
@@ -169,7 +169,7 @@ Object.defineProperty(exports, "getTargetCell", {
169
169
  get: function() {
170
170
  return util_1.getTargetCell;
171
171
  }
172
- }), exports.version = "1.9.2-alpha.1", exports.getIcons = getIcons, exports.clearGlobal = clearGlobal,
172
+ }), exports.version = "1.9.2-alpha.2", exports.getIcons = getIcons, exports.clearGlobal = clearGlobal,
173
173
  TYPES.AggregationType, __exportStar(require("./components"), exports), __exportStar(require("./scenegraph/group-creater/cell-type"), exports);
174
174
 
175
175
  var TABLE_EVENT_TYPE_1 = require("./core/TABLE_EVENT_TYPE");
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,uCAA4D;AAyG1D,4FAzGO,qBAAW,OAyGP;AAxGb,IAAA,4BAAkB,GAAE,CAAC;AAErB,kDAAoC;AA6DlC,sBAAK;AA5DP,6CAA+B;AA6D7B,oBAAI;AA5DN,6CAA+B;AAuF7B,oBAAI;AAtFN,+CAAiC;AACjC,qDAAuC;AA0FrC,4BAAQ;AAzFV,iDAAmC;AAmFjC,wBAAM;AAlFR,yEAA2D;AA4FzD,wCAAc;AArEhB,mDAA4D;AAkC1D,0FAlCuB,4BAAS,OAkCvB;AAjCX,yDAAqD;AAkCnD,gGAlCO,kCAAe,OAkCP;AAhCjB,qDAA+D;AAkC7D,2FAlCwB,8BAAU,OAkCxB;AAjCZ,2DAAuD;AAkCrD,iGAlCO,oCAAgB,OAkCP;AAjClB,6CAA0C;AAoCxC,2FApCO,uBAAU,OAoCP;AAlCZ,8DAAgD;AA+D9C,oCAAY;AA7Dd,wEAAoE;AA8DlE,2FA9DO,wBAAU,OA8DP;AA7DZ,gGAAqF;AA8DnF,4FA9DO,iCAAW,OA8DP;AA7Db,kEAA+F;AAgE7F,mGAhEO,iCAAkB,OAgEP;AADlB,yGA/D2B,uCAAwB,OA+D3B;AA1D1B,uDAAwD;AAA/C,gHAAA,eAAe,OAAA;AACxB,+CAA6B;AAC7B,qCAA6C;AAApC,qGAAA,aAAa,OAAA;AAKT,QAAA,OAAO,GAAG,eAAe,CAAC;AAyDvC,SAAS,QAAQ;IAGf,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC;AACrB,CAAC;AAtBC,4BAAQ;AAwBV,SAAS,WAAW;IAClB,QAAQ,CAAC,QAAQ,EAAE,CAAC;AAGtB,CAAC;AA3BC,kCAAW;AA4Bb,KAAK,CAAC,eAAe,CAAC;AAEtB,+CAA6B;AAC7B,uEAAqD;AAErD,4DAA2D;AAAlD,oHAAA,gBAAgB,OAAA;AACzB,wFAA+G;AAAtG,gIAAA,sBAAsB,OAAA;AAAE,gIAAA,sBAAsB,OAAA","file":"index.js","sourcesContent":["/* eslint-disable sort-imports */\nimport { graphicUtil, registerForVrender } from './vrender';\nregisterForVrender();\n\nimport * as TYPES from './ts-types';\nimport * as core from './core';\nimport * as data from './data';\nimport * as icons from './icons';\nimport * as register from './register';\nimport * as themes from './themes';\nimport * as DataStatistics from './dataset/DataStatistics';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n ListTableConstructorOptions,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n GanttConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n TextAlignType,\n TextBaselineType\n} from './ts-types';\nimport { ListTableAll as ListTable } from './ListTable-all';\nimport { ListTableSimple } from './ListTable-simple';\n// import { PivotTable } from './PivotTable';\nimport { PivotTableAll as PivotTable } from './PivotTable-all';\nimport { PivotTableSimple } from './PivotTable-simple';\nimport { PivotChart } from './PivotChart';\nimport type { MousePointerCellEvent } from './ts-types/events';\nimport * as CustomLayout from './render/layout';\n\nimport { updateCell } from './scenegraph/group-creater/cell-helper';\nimport { renderChart } from './scenegraph/graphic/contributions/chart-render-helper';\nimport { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils/text-measure';\n\n// import { container, loadCanvasPicker } from '@src/vrender';\n// loadCanvasPicker(container);\n\nexport { getDataCellPath } from './tools/get-data-path';\nexport * from './render/jsx';\nexport { getTargetCell } from './event/util';\n\n// export * as VRender from './vrender';\n// import * as VRender from './vrender';\n\nexport const version = \"1.9.2-alpha.1\";\n/**\n * @namespace VTable\n */\nexport {\n /**\n * Types\n * @namespace VTable.TYPES\n */\n TYPES,\n core,\n ListTable,\n ListTableSimple,\n ListTableConstructorOptions,\n PivotTable,\n PivotTableSimple,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n PivotChart,\n GanttConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n themes,\n data,\n MousePointerCellEvent,\n getIcons,\n clearGlobal,\n //plugin registers\n register,\n /**\n * 暂不推荐使用\n */\n DataStatistics,\n CustomLayout,\n updateCell,\n renderChart,\n graphicUtil,\n setCustomAlphabetCharSet,\n restoreMeasureText\n // VRender // should use import {xxx} from '@visactor/vtable/es/vrender'\n};\n\n/** @private */\nfunction getIcons(): {\n [key: string]: TYPES.ColumnIconOption;\n} {\n return icons.get();\n}\n/** 清理内部的全局变量 如注册的icon theme等 以及共享的header column类实例 */\nfunction clearGlobal() {\n register.clearAll();\n // headers.type.clearGlobal();\n // columns.type.clearGlobal();\n}\nTYPES.AggregationType;\n\nexport * from './components';\nexport * from './scenegraph/group-creater/cell-type';\n\nexport { TABLE_EVENT_TYPE } from './core/TABLE_EVENT_TYPE';\nexport { PIVOT_CHART_EVENT_TYPE, PIVOT_TABLE_EVENT_TYPE } from './ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,uCAA4D;AAyG1D,4FAzGO,qBAAW,OAyGP;AAxGb,IAAA,4BAAkB,GAAE,CAAC;AAErB,kDAAoC;AA6DlC,sBAAK;AA5DP,6CAA+B;AA6D7B,oBAAI;AA5DN,6CAA+B;AAuF7B,oBAAI;AAtFN,+CAAiC;AACjC,qDAAuC;AA0FrC,4BAAQ;AAzFV,iDAAmC;AAmFjC,wBAAM;AAlFR,yEAA2D;AA4FzD,wCAAc;AArEhB,mDAA4D;AAkC1D,0FAlCuB,4BAAS,OAkCvB;AAjCX,yDAAqD;AAkCnD,gGAlCO,kCAAe,OAkCP;AAhCjB,qDAA+D;AAkC7D,2FAlCwB,8BAAU,OAkCxB;AAjCZ,2DAAuD;AAkCrD,iGAlCO,oCAAgB,OAkCP;AAjClB,6CAA0C;AAoCxC,2FApCO,uBAAU,OAoCP;AAlCZ,8DAAgD;AA+D9C,oCAAY;AA7Dd,wEAAoE;AA8DlE,2FA9DO,wBAAU,OA8DP;AA7DZ,gGAAqF;AA8DnF,4FA9DO,iCAAW,OA8DP;AA7Db,kEAA+F;AAgE7F,mGAhEO,iCAAkB,OAgEP;AADlB,yGA/D2B,uCAAwB,OA+D3B;AA1D1B,uDAAwD;AAA/C,gHAAA,eAAe,OAAA;AACxB,+CAA6B;AAC7B,qCAA6C;AAApC,qGAAA,aAAa,OAAA;AAKT,QAAA,OAAO,GAAG,eAAe,CAAC;AAyDvC,SAAS,QAAQ;IAGf,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC;AACrB,CAAC;AAtBC,4BAAQ;AAwBV,SAAS,WAAW;IAClB,QAAQ,CAAC,QAAQ,EAAE,CAAC;AAGtB,CAAC;AA3BC,kCAAW;AA4Bb,KAAK,CAAC,eAAe,CAAC;AAEtB,+CAA6B;AAC7B,uEAAqD;AAErD,4DAA2D;AAAlD,oHAAA,gBAAgB,OAAA;AACzB,wFAA+G;AAAtG,gIAAA,sBAAsB,OAAA;AAAE,gIAAA,sBAAsB,OAAA","file":"index.js","sourcesContent":["/* eslint-disable sort-imports */\nimport { graphicUtil, registerForVrender } from './vrender';\nregisterForVrender();\n\nimport * as TYPES from './ts-types';\nimport * as core from './core';\nimport * as data from './data';\nimport * as icons from './icons';\nimport * as register from './register';\nimport * as themes from './themes';\nimport * as DataStatistics from './dataset/DataStatistics';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n ListTableConstructorOptions,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n GanttConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n TextAlignType,\n TextBaselineType\n} from './ts-types';\nimport { ListTableAll as ListTable } from './ListTable-all';\nimport { ListTableSimple } from './ListTable-simple';\n// import { PivotTable } from './PivotTable';\nimport { PivotTableAll as PivotTable } from './PivotTable-all';\nimport { PivotTableSimple } from './PivotTable-simple';\nimport { PivotChart } from './PivotChart';\nimport type { MousePointerCellEvent } from './ts-types/events';\nimport * as CustomLayout from './render/layout';\n\nimport { updateCell } from './scenegraph/group-creater/cell-helper';\nimport { renderChart } from './scenegraph/graphic/contributions/chart-render-helper';\nimport { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils/text-measure';\n\n// import { container, loadCanvasPicker } from '@src/vrender';\n// loadCanvasPicker(container);\n\nexport { getDataCellPath } from './tools/get-data-path';\nexport * from './render/jsx';\nexport { getTargetCell } from './event/util';\n\n// export * as VRender from './vrender';\n// import * as VRender from './vrender';\n\nexport const version = \"1.9.2-alpha.2\";\n/**\n * @namespace VTable\n */\nexport {\n /**\n * Types\n * @namespace VTable.TYPES\n */\n TYPES,\n core,\n ListTable,\n ListTableSimple,\n ListTableConstructorOptions,\n PivotTable,\n PivotTableSimple,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n PivotChart,\n GanttConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n themes,\n data,\n MousePointerCellEvent,\n getIcons,\n clearGlobal,\n //plugin registers\n register,\n /**\n * 暂不推荐使用\n */\n DataStatistics,\n CustomLayout,\n updateCell,\n renderChart,\n graphicUtil,\n setCustomAlphabetCharSet,\n restoreMeasureText\n // VRender // should use import {xxx} from '@visactor/vtable/es/vrender'\n};\n\n/** @private */\nfunction getIcons(): {\n [key: string]: TYPES.ColumnIconOption;\n} {\n return icons.get();\n}\n/** 清理内部的全局变量 如注册的icon theme等 以及共享的header column类实例 */\nfunction clearGlobal() {\n register.clearAll();\n // headers.type.clearGlobal();\n // columns.type.clearGlobal();\n}\nTYPES.AggregationType;\n\nexport * from './components';\nexport * from './scenegraph/group-creater/cell-type';\n\nexport { TABLE_EVENT_TYPE } from './core/TABLE_EVENT_TYPE';\nexport { PIVOT_CHART_EVENT_TYPE, PIVOT_TABLE_EVENT_TYPE } from './ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE';\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAA0D;AAC1D,kCAAgC;AAChC,yDAAwH;AACxH,yDAqBgC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,SAAgB,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAEhB,IAAA,+BAAgB,GAAE,CAAC;IAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;QAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;KAC3B;SAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;QACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;KACxB;IACD,IAAA,0BAAW,GAAE,CAAC;IAGd,IAAA,6BAAc,GAAE,CAAC;IAEjB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,2BAAY,GAAE,CAAC;IAIf,IAAA,2BAAY,GAAE,CAAC;IAEf,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,iCAAkB,GAAE,CAAC;IACrB,IAAA,6BAAc,GAAE,CAAC;IACjB,IAAA,2BAAY,GAAE,CAAC;IACf,IAAA,uCAAwB,GAAE,CAAC;IAE3B,IAAA,+BAAU,GAAE,CAAC;IAEb,IAAA,uCAAwB,GAAE,CAAC;AAC7B,CAAC;AAnCD,gDAmCC;AAGD,uDAAqD;AAA5C,2GAAA,WAAW,OAAA;AACpB,uDAAsD;AAA7C,4GAAA,YAAY,OAAA;AAErB,yDAAuC;AACvC,yDAAuC;AACvC,+DAA6C","file":"vrender.js","sourcesContent":["import { loadPoptip } from '@visactor/vrender-components';\nimport '@visactor/vrender-core';\nimport { container, isBrowserEnv, isNodeEnv, preLoadAllModule, registerFlexLayoutPlugin } from '@visactor/vrender-core';\nimport {\n loadBrowserEnv,\n loadNodeEnv,\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\n// export const version = \"1.9.2-alpha.1\";\n\nlet registed = false;\nexport function registerForVrender() {\n if (registed) {\n return;\n }\n registed = true;\n // 注册内置组件\n preLoadAllModule();\n\n if (isBrowserEnv()) {\n loadBrowserEnv(container);\n } else if (isNodeEnv()) {\n loadNodeEnv(container);\n }\n registerArc();\n // registerArc3d();\n // registerArea();\n registerCircle();\n // registerGlyph();\n registerGroup();\n registerImage();\n registerLine();\n // registerPath();\n // registerPolygon();\n // registerPyramid3d();\n registerRect();\n // registerRect3d();\n registerRichtext();\n registerShadowRoot();\n registerSymbol();\n registerText();\n registerFlexLayoutPlugin();\n // registerWrapText();\n loadPoptip();\n\n registerFlexLayoutPlugin();\n}\n\nexport type { Direction, Timeline } from '@visactor/vrender-core';\nexport { GroupFadeIn } from '@visactor/vrender-core';\nexport { GroupFadeOut } from '@visactor/vrender-core';\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-components';\n"]}
1
+ {"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAA0D;AAC1D,kCAAgC;AAChC,yDAAwH;AACxH,yDAqBgC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,SAAgB,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAEhB,IAAA,+BAAgB,GAAE,CAAC;IAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;QAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;KAC3B;SAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;QACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;KACxB;IACD,IAAA,0BAAW,GAAE,CAAC;IAGd,IAAA,6BAAc,GAAE,CAAC;IAEjB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,2BAAY,GAAE,CAAC;IAIf,IAAA,2BAAY,GAAE,CAAC;IAEf,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,iCAAkB,GAAE,CAAC;IACrB,IAAA,6BAAc,GAAE,CAAC;IACjB,IAAA,2BAAY,GAAE,CAAC;IACf,IAAA,uCAAwB,GAAE,CAAC;IAE3B,IAAA,+BAAU,GAAE,CAAC;IAEb,IAAA,uCAAwB,GAAE,CAAC;AAC7B,CAAC;AAnCD,gDAmCC;AAGD,uDAAqD;AAA5C,2GAAA,WAAW,OAAA;AACpB,uDAAsD;AAA7C,4GAAA,YAAY,OAAA;AAErB,yDAAuC;AACvC,yDAAuC;AACvC,+DAA6C","file":"vrender.js","sourcesContent":["import { loadPoptip } from '@visactor/vrender-components';\nimport '@visactor/vrender-core';\nimport { container, isBrowserEnv, isNodeEnv, preLoadAllModule, registerFlexLayoutPlugin } from '@visactor/vrender-core';\nimport {\n loadBrowserEnv,\n loadNodeEnv,\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\n// export const version = \"1.9.2-alpha.2\";\n\nlet registed = false;\nexport function registerForVrender() {\n if (registed) {\n return;\n }\n registed = true;\n // 注册内置组件\n preLoadAllModule();\n\n if (isBrowserEnv()) {\n loadBrowserEnv(container);\n } else if (isNodeEnv()) {\n loadNodeEnv(container);\n }\n registerArc();\n // registerArc3d();\n // registerArea();\n registerCircle();\n // registerGlyph();\n registerGroup();\n registerImage();\n registerLine();\n // registerPath();\n // registerPolygon();\n // registerPyramid3d();\n registerRect();\n // registerRect3d();\n registerRichtext();\n registerShadowRoot();\n registerSymbol();\n registerText();\n registerFlexLayoutPlugin();\n // registerWrapText();\n loadPoptip();\n\n registerFlexLayoutPlugin();\n}\n\nexport type { Direction, Timeline } from '@visactor/vrender-core';\nexport { GroupFadeIn } from '@visactor/vrender-core';\nexport { GroupFadeOut } from '@visactor/vrender-core';\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-components';\n"]}
package/dist/vtable.js CHANGED
@@ -4448,14 +4448,8 @@
4448
4448
  return needTestLetter && (index = testLetter(desc, index)), index;
4449
4449
  }
4450
4450
  function testLetter(string, index) {
4451
- let negativeWrongMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;
4452
4451
  let i = index;
4453
- for (; regLetter.test(string[i - 1]) && regLetter.test(string[i]) || regPunctuation.test(string[i]);) if (i--, i <= 0) return negativeWrongMatch ? testLetter2(string, index) : index;
4454
- return i;
4455
- }
4456
- function testLetter2(string, index) {
4457
- let i = index;
4458
- for (; regLetter.test(string[i - 1]) && regLetter.test(string[i]) || regPunctuation.test(string[i]);) if (i++, i >= string.length) return i;
4452
+ for (; regLetter.test(string[i - 1]) && regLetter.test(string[i]) || regPunctuation.test(string[i]);) if (i--, i <= 0) return index;
4459
4453
  return i;
4460
4454
  }
4461
4455
  function measureTextCanvas(text, character) {
@@ -4553,7 +4547,7 @@
4553
4547
  width: length
4554
4548
  };
4555
4549
  }
4556
- clipText(text, options, width, wordBreak, keepAllBreak) {
4550
+ clipText(text, options, width, wordBreak) {
4557
4551
  if (0 === text.length) return {
4558
4552
  str: "",
4559
4553
  width: 0
@@ -4569,8 +4563,8 @@
4569
4563
  };
4570
4564
  const data = this._clipText(text, options, width, 0, text.length - 1, "end", !1);
4571
4565
  if (wordBreak && data.str !== text) {
4572
- let index = testLetter(text, data.str.length, keepAllBreak);
4573
- index !== data.str.length && (index > data.str.length && (data.wordBreaked = index, index = data.str.length), data.str = text.substring(0, index), data.width = this.measureTextWidth(data.str, options));
4566
+ const index = testLetter(text, data.str.length);
4567
+ index !== data.str.length && (data.str = text.substring(0, index), data.width = this.measureTextWidth(data.str, options));
4574
4568
  }
4575
4569
  return data;
4576
4570
  }
@@ -8650,7 +8644,7 @@
8650
8644
  const path = "function" == typeof graphic.pathProxy ? graphic.pathProxy(graphic.attribute) : graphic.pathProxy;
8651
8645
  return renderCommandList(path.commandList, context, x, y), context.setShadowBlendStyle && context.setShadowBlendStyle(graphic, graphic.attribute, themeAttributes), doStroke && (strokeCb ? strokeCb(context, graphic.attribute, themeAttributes) : sVisible && (context.setStrokeStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.stroke())), doFill && (fillCb ? fillCb(context, graphic.attribute, themeAttributes) : fVisible && (context.setCommonStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.fill())), !0;
8652
8646
  }
8653
- function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
8647
+ function intersect$2(x0, y0, x1, y1, x2, y2, x3, y3) {
8654
8648
  const x10 = x1 - x0,
8655
8649
  y10 = y1 - y0,
8656
8650
  x32 = x3 - x2,
@@ -8719,7 +8713,7 @@
8719
8713
  yire = innerRadius * sin(innerEndAngle);
8720
8714
  let xore, yore, xirs, yirs;
8721
8715
  if ((maxInnerCornerRadius > epsilon || maxOuterCornerRadius > epsilon) && (xore = outerRadius * cos(outerEndAngle), yore = outerRadius * sin(outerEndAngle), xirs = innerRadius * cos(innerStartAngle), yirs = innerRadius * sin(innerStartAngle), deltaAngle < pi)) {
8722
- const oc = intersect(xors, yors, xirs, yirs, xore, yore, xire, yire);
8716
+ const oc = intersect$2(xors, yors, xirs, yirs, xore, yore, xire, yire);
8723
8717
  if (oc) {
8724
8718
  const ax = xors - oc[0],
8725
8719
  ay = yors - oc[1],
@@ -9284,7 +9278,7 @@
9284
9278
  validCheck(attribute, theme, aabbBounds, graphic) {
9285
9279
  if (!graphic) return !0;
9286
9280
  if (null != attribute.forceBoundsHeight || null != attribute.forceBoundsWidth) return !0;
9287
- if (graphic.shadowRoot || graphic.isContainer) return !0;
9281
+ if (graphic.shadowRoot) return !0;
9288
9282
  const {
9289
9283
  visible = theme.visible
9290
9284
  } = attribute;
@@ -12553,22 +12547,20 @@
12553
12547
  });
12554
12548
  break;
12555
12549
  }
12556
- const clip = layoutObj.textMeasure.clipText(str, layoutObj.textOptions, maxLineWidth, "break-all" !== wordBreak, "keep-all" === wordBreak);
12557
- if ("" !== str && "" === clip.str || clip.wordBreaked) {
12550
+ const clip = layoutObj.textMeasure.clipText(str, layoutObj.textOptions, maxLineWidth, "break-word" === wordBreak);
12551
+ if ("" !== str && "" === clip.str) {
12558
12552
  if (ellipsis) {
12559
12553
  const clipEllipsis = layoutObj.textMeasure.clipTextWithSuffix(str, layoutObj.textOptions, maxLineWidth, ellipsis, !1, suffixPosition);
12560
12554
  clip.str = null !== (_c = clipEllipsis.str) && void 0 !== _c ? _c : "", clip.width = null !== (_d = clipEllipsis.width) && void 0 !== _d ? _d : 0;
12561
12555
  } else clip.str = "", clip.width = 0;
12562
12556
  needCut = !1;
12563
12557
  }
12564
- linesLayout.push({
12558
+ if (linesLayout.push({
12565
12559
  str: clip.str,
12566
12560
  width: clip.width
12567
- });
12568
- let cutLength = clip.str.length;
12569
- if (!clip.wordBreaked || "" !== str && "" === clip.str || (needCut = !0, cutLength = clip.wordBreaked), clip.str.length === str.length) ;else if (needCut) {
12570
- let newStr = str.substring(cutLength);
12571
- "keep-all" === wordBreak && (newStr = newStr.replace(/^\s+/g, "")), lines.splice(i + 1, 0, newStr);
12561
+ }), clip.str.length === str.length) ;else if (needCut) {
12562
+ const newStr = str.substring(clip.str.length);
12563
+ lines.splice(i + 1, 0, newStr);
12572
12564
  }
12573
12565
  }
12574
12566
  let maxWidth = 0;
@@ -21038,15 +21030,6 @@
21038
21030
  labelPoint = getVerticalCoord(point, getCircleVerticalVector(labelOffset, point, center, inside));
21039
21031
  return getCircleLabelPosition(labelPoint, getCircleVerticalVector(labelOffset || 1, labelPoint, center, inside));
21040
21032
  }
21041
- function textIntersect(textA, textB, sep) {
21042
- let a = textA.OBBBounds,
21043
- b = textB.OBBBounds;
21044
- return a && b && !a.empty() && !b.empty() ? a.intersects(b) : (a = textA.AABBBounds, b = textB.AABBBounds, sep > Math.max(b.x1 - a.x2, a.x1 - b.x2, b.y1 - a.y2, a.y1 - b.y2));
21045
- }
21046
- function hasOverlap(items, pad) {
21047
- for (let b, i = 1, n = items.length, a = items[0]; i < n; a = b, ++i) if (b = items[i], textIntersect(a, b, pad)) return !0;
21048
- return !1;
21049
- }
21050
21033
 
21051
21034
  const dispatchHoverState = (e, container, lastHover) => {
21052
21035
  const target = e.target;
@@ -21371,9 +21354,17 @@
21371
21354
  },
21372
21355
  greedy: function (items, sep) {
21373
21356
  let a;
21374
- return items.filter((b, i) => i && textIntersect(a, b, sep) ? b.setAttribute("opacity", 0) : (a = b, 1));
21357
+ return items.filter((b, i) => i && intersect$1(a, b, sep) ? b.setAttribute("opacity", 0) : (a = b, 1));
21375
21358
  }
21376
21359
  };
21360
+ function intersect$1(textA, textB, sep) {
21361
+ let a = textA.OBBBounds,
21362
+ b = textB.OBBBounds;
21363
+ return a && b && !a.empty() && !b.empty() ? a.intersects(b) : (a = textA.AABBBounds, b = textB.AABBBounds, sep > Math.max(b.x1 - a.x2, a.x1 - b.x2, b.y1 - a.y2, a.y1 - b.y2));
21364
+ }
21365
+ function hasOverlap$1(items, pad) {
21366
+ for (let b, i = 1, n = items.length, a = items[0]; i < n; a = b, ++i) if (intersect$1(a, b = items[i], pad)) return !0;
21367
+ }
21377
21368
  function hasBounds(item) {
21378
21369
  let bounds;
21379
21370
  return bounds = item.OBBBounds.empty() ? item.AABBBounds : item.OBBBounds, bounds.width() > 1 && bounds.height() > 1;
@@ -21381,20 +21372,6 @@
21381
21372
  function reset(items) {
21382
21373
  return items.forEach(item => item.setAttribute("opacity", 1)), items;
21383
21374
  }
21384
- function forceItemVisible$1(sourceItem, items, check, comparator) {
21385
- let inverse = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;
21386
- if (check && !sourceItem.attribute.opacity) {
21387
- const remainLength = items.length;
21388
- if (remainLength > 1) {
21389
- sourceItem.setAttribute("opacity", 1);
21390
- for (let i = 0; i < remainLength; i++) {
21391
- const item = inverse ? items[remainLength - 1 - i] : items[i];
21392
- if (!comparator(item)) break;
21393
- item.setAttribute("opacity", 0);
21394
- }
21395
- }
21396
- }
21397
- }
21398
21375
  function autoHide(labels, config) {
21399
21376
  if (isEmpty$1(labels)) return;
21400
21377
  const source = labels.filter(hasBounds);
@@ -21406,19 +21383,20 @@
21406
21383
  separation: sep = 0
21407
21384
  } = config,
21408
21385
  reduce = isFunction$3(method) ? method : methods$1[method] || methods$1.parity;
21409
- if (items.length >= 3 && hasOverlap(items, sep)) {
21386
+ if (items.length >= 3 && hasOverlap$1(items, sep)) {
21410
21387
  do {
21411
21388
  items = reduce(items, sep);
21412
- } while (items.length >= 3 && hasOverlap(items, sep));
21413
- const shouldCheck = function (length, visibility) {
21414
- let checkLength = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
21415
- return checkLength && length < 3 || visibility;
21416
- },
21417
- checkFirst = shouldCheck(items.length, config.firstVisible, !1);
21418
- let checkLast = shouldCheck(items.length, config.lastVisible);
21419
- const firstSourceItem = source[0],
21420
- lastSourceItem = last$1(source);
21421
- textIntersect(firstSourceItem, lastSourceItem, sep) && checkFirst && checkLast && (lastSourceItem.setAttribute("opacity", 0), checkLast = !1), forceItemVisible$1(firstSourceItem, items, checkFirst, item => textIntersect(item, firstSourceItem, sep)), forceItemVisible$1(lastSourceItem, items, checkLast, item => textIntersect(item, lastSourceItem, sep) || !(!checkFirst || item === firstSourceItem) && textIntersect(item, firstSourceItem, sep), !0);
21389
+ } while (items.length >= 3 && hasOverlap$1(items, sep));
21390
+ if (items.length < 3 || config.lastVisible) {
21391
+ const lastSourceItem = last$1(source);
21392
+ if (!lastSourceItem.attribute.opacity) {
21393
+ const remainLength = items.length;
21394
+ if (remainLength > 1) {
21395
+ lastSourceItem.setAttribute("opacity", 1);
21396
+ for (let i = remainLength - 1; i >= 0 && intersect$1(items[i], lastSourceItem, sep); i--) items[i].setAttribute("opacity", 0);
21397
+ }
21398
+ }
21399
+ }
21422
21400
  }
21423
21401
  source.forEach(item => {
21424
21402
  item.setAttribute("visible", !!item.attribute.opacity);
@@ -22025,7 +22003,6 @@
22025
22003
  autoHideMethod: autoHideMethod,
22026
22004
  autoHideSeparation: autoHideSeparation,
22027
22005
  lastVisible: lastVisible,
22028
- firstVisible: firstVisible,
22029
22006
  autoWrap: autoWrap$1,
22030
22007
  overflowLimitLength: overflowLimitLength
22031
22008
  } = label;
@@ -22059,8 +22036,7 @@
22059
22036
  orient: orient,
22060
22037
  method: autoHideMethod,
22061
22038
  separation: autoHideSeparation,
22062
- lastVisible: lastVisible,
22063
- firstVisible: firstVisible
22039
+ lastVisible: lastVisible
22064
22040
  });
22065
22041
  }
22066
22042
  }
@@ -22130,6 +22106,13 @@
22130
22106
  nextBounds = new AABBBounds$1(nextLabel).expand(gap / 2);
22131
22107
  return prevBounds.intersects(nextBounds);
22132
22108
  };
22109
+ function intersect(a, b, sep) {
22110
+ return sep > Math.max(b.x1 - a.x2, a.x1 - b.x2, b.y1 - a.y2, a.y1 - b.y2);
22111
+ }
22112
+ function hasOverlap(items, pad) {
22113
+ for (let b, i = 1, n = items.length, a = items[0]; i < n; a = b, ++i) if (b = items[i], intersect(a.AABBBounds, b.AABBBounds, pad)) return !0;
22114
+ return !1;
22115
+ }
22133
22116
  const MIN_TICK_GAP = 12;
22134
22117
  const calculateFlushPos = (basePosition, size, rangePosition, otherEnd) => rangePosition < basePosition ? Math.max(basePosition - size / 2, rangePosition) : rangePosition > basePosition ? Math.min(basePosition - size / 2, rangePosition - size) : rangePosition < otherEnd ? rangePosition : rangePosition - size;
22135
22118
  const getCartesianLabelBounds = (scale, domain, op) => {
@@ -22663,20 +22646,6 @@
22663
22646
  } else scaleTicks = getTicks(count);
22664
22647
  return scaleTicks;
22665
22648
  }
22666
- function forceItemVisible(sourceItem, items, check, comparator) {
22667
- let inverse = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;
22668
- if (check && !items.includes(sourceItem)) {
22669
- let remainLength = items.length;
22670
- if (remainLength > 1) {
22671
- inverse ? items.push(sourceItem) : items.unshift(sourceItem);
22672
- for (let i = 0; i < remainLength; i++) {
22673
- const index = inverse ? remainLength - 1 - i : i;
22674
- if (!comparator(items[index])) break;
22675
- items.splice(index, 1), i--, remainLength--;
22676
- }
22677
- }
22678
- }
22679
- }
22680
22649
  const continuousTicks = (scale, op) => {
22681
22650
  var _a, _b;
22682
22651
  if (!isContinuous(scale.type)) return convertDomainToTickData(scale.domain());
@@ -22716,8 +22685,7 @@
22716
22685
  customTicks: customTicks
22717
22686
  }));
22718
22687
  }
22719
- const domain = scale.domain();
22720
- if (op.labelFirstVisible && domain[0] !== scaleTicks[0] && !scaleTicks.includes(domain[0]) && scaleTicks.unshift(domain[0]), op.labelLastVisible && domain[domain.length - 1] !== scaleTicks[scaleTicks.length - 1] && !scaleTicks.includes(domain[domain.length - 1]) && scaleTicks.push(domain[domain.length - 1]), op.sampling && scaleTicks.length > 1 && ("cartesian" === op.coordinateType || "polar" === op.coordinateType && "radius" === op.axisOrientType)) {
22688
+ if (op.sampling && ("cartesian" === op.coordinateType || "polar" === op.coordinateType && "radius" === op.axisOrientType)) {
22721
22689
  const {
22722
22690
  labelGap = 4,
22723
22691
  labelFlush: labelFlush
@@ -22726,14 +22694,8 @@
22726
22694
  AABBBounds: bounds,
22727
22695
  value: scaleTicks[i]
22728
22696
  }));
22729
- const source = [...items],
22730
- firstSourceItem = source[0],
22731
- lastSourceItem = last$1(source),
22732
- samplingMethod = breakData && breakData() ? methods.greedy : methods.parity;
22697
+ const samplingMethod = breakData && breakData() ? methods.greedy : methods.parity;
22733
22698
  for (; items.length >= 3 && hasOverlap(items, labelGap);) items = samplingMethod(items, labelGap);
22734
- const checkFirst = op.labelFirstVisible;
22735
- let checkLast = op.labelLastVisible;
22736
- textIntersect(firstSourceItem, lastSourceItem, labelGap) && items.includes(lastSourceItem) && items.length > 1 && checkFirst && checkLast && (items.splice(items.indexOf(lastSourceItem), 1), checkLast = !1), forceItemVisible(firstSourceItem, items, checkFirst, item => textIntersect(item, firstSourceItem, labelGap)), forceItemVisible(lastSourceItem, items, checkLast, item => textIntersect(item, lastSourceItem, labelGap) || !(!checkFirst || item === firstSourceItem) && textIntersect(item, firstSourceItem, labelGap), !0);
22737
22699
  const ticks = items.map(item => item.value);
22738
22700
  ticks.length < 3 && labelFlush && (ticks.length > 1 && ticks.pop(), last$1(ticks) !== last$1(scaleTicks) && ticks.push(last$1(scaleTicks))), scaleTicks = ticks;
22739
22701
  }
@@ -22745,7 +22707,7 @@
22745
22707
  },
22746
22708
  greedy: function (items, sep) {
22747
22709
  let a;
22748
- return items.filter((b, i) => (!i || !textIntersect(a, b, sep)) && (a = b, !0));
22710
+ return items.filter((b, i) => (!i || !intersect(a.AABBBounds, b.AABBBounds, sep)) && (a = b, !0));
22749
22711
  }
22750
22712
  };
22751
22713
 
@@ -23507,8 +23469,8 @@
23507
23469
  this._autoEllipsis(autoEllipsisStrategy, layoutWidth, labelShape, valueShape), valueAttr.alignRight ? valueShape.setAttributes({
23508
23470
  textAlign: "right",
23509
23471
  x: this._itemWidthByUser - shapeSize / 2 - parsedPadding[1] - parsedPadding[3] - focusSpace - valueSpace
23510
- }) : valueShape.setAttribute("x", labelSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2));
23511
- } else valueShape.setAttribute("x", labelSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2));
23472
+ }) : valueShape.setAttribute("x", valueSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2));
23473
+ } else valueShape.setAttribute("x", valueSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2));
23512
23474
  focusStartX = valueSpace + (valueShape.AABBBounds.empty() ? 0 : valueShape.AABBBounds.x2), innerGroup.add(valueShape);
23513
23475
  } else this._itemWidthByUser ? (labelShape.setAttribute("maxLineWidth", this._itemWidthByUser - parsedPadding[1] - parsedPadding[3] - shapeSize - shapeSpace - focusSpace), focusStartX = labelSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2)) : focusStartX = labelSpace + (labelShape.AABBBounds.empty() ? 0 : labelShape.AABBBounds.x2);
23514
23476
  focusShape && (focusShape.setAttribute("x", focusStartX), innerGroup.add(focusShape));
@@ -23574,8 +23536,9 @@
23574
23536
  disableTriggerEvent: disableTriggerEvent
23575
23537
  }));
23576
23538
  }
23577
- _updatePositionOfPager(renderStartY, compWidth, compHeight) {
23539
+ _updatePositionOfPager(contentWidth, contentHeight, renderStartY, compWidth, compHeight) {
23578
23540
  const {
23541
+ maxHeight: maxHeight,
23579
23542
  pager: pager
23580
23543
  } = this.attribute,
23581
23544
  {
@@ -23586,14 +23549,14 @@
23586
23549
  if (this._pagerComponent.setTotal(totalPage), isHorizontal) {
23587
23550
  let y;
23588
23551
  y = "start" === position ? renderStartY : "end" === position ? renderStartY + compHeight - this._pagerComponent.AABBBounds.height() / 2 : renderStartY + compHeight / 2 - this._pagerComponent.AABBBounds.height() / 2, this._pagerComponent.setAttributes({
23589
- x: compWidth - this._pagerComponent.AABBBounds.width(),
23552
+ x: contentWidth,
23590
23553
  y: y
23591
23554
  });
23592
23555
  } else {
23593
23556
  let x;
23594
23557
  x = "start" === position ? 0 : "end" === position ? compWidth - this._pagerComponent.AABBBounds.width() : (compWidth - this._pagerComponent.AABBBounds.width()) / 2, this._pagerComponent.setAttributes({
23595
23558
  x: x,
23596
- y: compHeight - this._pagerComponent.AABBBounds.height()
23559
+ y: maxHeight - this._pagerComponent.AABBBounds.height()
23597
23560
  });
23598
23561
  }
23599
23562
  }
@@ -23622,10 +23585,11 @@
23622
23585
  const {
23623
23586
  value: value
23624
23587
  } = e.detail;
23625
- let newPage;
23626
- return 0 === value[0] ? newPage = 1 : 1 === value[1] ? newPage = this._itemContext.totalPage : (newPage = value[0] * this._itemContext.totalPage, pager.scrollByPosition ? newPage += 1 : newPage = Math.floor(newPage) + 1), newPage;
23588
+ let newPage = value[0] * this._itemContext.totalPage;
23589
+ return pager.scrollByPosition ? newPage += 1 : newPage = Math.floor(newPage) + 1, newPage;
23627
23590
  } : e => e.detail.current,
23628
23591
  onScroll = e => {
23592
+ e.preventDefault();
23629
23593
  const scrollComponent = this._pagerComponent,
23630
23594
  preScrollRange = scrollComponent.getScrollRange(),
23631
23595
  {
@@ -23654,7 +23618,7 @@
23654
23618
  if (this._itemContext.isScrollbar) {
23655
23619
  if (this._pagerComponent.addEventListener("scrollDrag", onPaging), this._pagerComponent.addEventListener("scrollUp", onPaging), this.attribute.pager.roamScroll) {
23656
23620
  const THROTTLE_TIME = 50;
23657
- this.addEventListener("wheel", e => e.nativeEvent.preventDefault()), this.addEventListener("wheel", throttle$1(onScroll, THROTTLE_TIME));
23621
+ this.addEventListener("wheel", throttle$1(onScroll, THROTTLE_TIME));
23658
23622
  }
23659
23623
  } else this._pagerComponent.addEventListener("toPrev", onPaging), this._pagerComponent.addEventListener("toNext", onPaging);
23660
23624
  }
@@ -23702,7 +23666,7 @@
23702
23666
  }), startX += spaceCol + width;
23703
23667
  }), this._itemContext.startX = startX, this._itemContext.startY = startY, this._itemContext.pages = pages;
23704
23668
  const total = Math.ceil(pages / maxRow);
23705
- this._itemContext.totalPage = total, this._updatePositionOfPager(renderStartY, compWidth, compHeight);
23669
+ this._itemContext.totalPage = total, this._updatePositionOfPager(contentWidth, contentHeight, renderStartY, compWidth, compHeight);
23706
23670
  } else {
23707
23671
  if (compWidth = this._itemMaxWidth * maxCol + (maxCol - 1) * spaceCol, compHeight = maxHeight, contentWidth = compWidth, comp = this._createPager(compStyle), this._pagerComponent = comp, this._innerView.add(comp), contentHeight = maxHeight - comp.AABBBounds.height() - pagerSpace - renderStartY, contentHeight <= 0) return this._innerView.removeChild(comp), !1;
23708
23672
  itemsContainer.getChildren().forEach((item, index) => {
@@ -23715,7 +23679,7 @@
23715
23679
  }), startY += spaceRow + height;
23716
23680
  });
23717
23681
  const total = Math.ceil(pages / maxCol);
23718
- this._itemContext.totalPage = total, this._updatePositionOfPager(renderStartY, compWidth, compHeight);
23682
+ this._itemContext.totalPage = total, this._updatePositionOfPager(contentWidth, contentHeight, renderStartY, compWidth, compHeight);
23719
23683
  }
23720
23684
  defaultCurrent > 1 && (isHorizontal ? itemsContainer.setAttribute("y", -(defaultCurrent - 1) * (compHeight + spaceRow)) : itemsContainer.setAttribute("x", -(defaultCurrent - 1) * (compWidth + spaceCol)));
23721
23685
  const clipGroup = graphicCreator.group({
@@ -23838,9 +23802,6 @@
23838
23802
  config.state[key] && (isFunction$3(config.state[key]) ? newConfig.state[key] = config.state[key](item, isSelected, index, items) : newConfig.state[key] = config.state[key]);
23839
23803
  })), newConfig;
23840
23804
  }
23841
- release() {
23842
- super.release(), this.removeAllEventListeners();
23843
- }
23844
23805
  }
23845
23806
  DiscreteLegend.defaultAttributes = {
23846
23807
  layout: "horizontal",
@@ -56543,7 +56504,7 @@
56543
56504
  return TABLE_EVENT_TYPE;
56544
56505
  }
56545
56506
  options;
56546
- version = "1.9.2-alpha.1";
56507
+ version = "1.9.2-alpha.2";
56547
56508
  pagination;
56548
56509
  id = `VTable${Date.now()}`;
56549
56510
  headerStyleCache;
@@ -66200,8 +66161,7 @@
66200
66161
  _cacheAttrs;
66201
66162
  constructor(titleOption, table) {
66202
66163
  this.table = table;
66203
- this._titleOption = titleOption;
66204
- this._titleOption.orient = titleOption.orient ?? 'top';
66164
+ this._titleOption = merge({ orient: 'top' }, titleOption);
66205
66165
  if (titleOption.visible !== false) {
66206
66166
  this._titleComponent = this._createOrUpdateTitleComponent(this._getTitleAttrs());
66207
66167
  }
@@ -76733,7 +76693,7 @@
76733
76693
  }
76734
76694
 
76735
76695
  registerForVrender();
76736
- const version = "1.9.2-alpha.1";
76696
+ const version = "1.9.2-alpha.2";
76737
76697
  function getIcons() {
76738
76698
  return get$2();
76739
76699
  }