ods-component-lib 1.21.2 → 1.21.3

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.
Files changed (376) hide show
  1. package/dist/components/antd/currencyInput/CurrencySelect.js +16 -11
  2. package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
  3. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.js +32 -43
  4. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.js.map +1 -1
  5. package/dist/components/devextreme/OdsDataGrid.Legacy.js +4 -4
  6. package/dist/components/devextreme/OdsRemoteDataGrid.js +1 -1
  7. package/dist/index.js +10 -10
  8. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
  9. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  10. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
  11. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
  12. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
  13. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
  14. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
  15. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +1 -1
  16. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
  17. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
  18. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.js +1 -1
  19. package/dist/node_modules/@ant-design/fast-color/es/FastColor.js +66 -45
  20. package/dist/node_modules/@ant-design/fast-color/es/FastColor.js.map +1 -1
  21. package/dist/node_modules/@ant-design/icons/es/icons/FrownOutlined.js +5 -8
  22. package/dist/node_modules/@ant-design/icons/es/icons/HeartOutlined.js +3 -6
  23. package/dist/node_modules/@ant-design/icons/es/icons/MehOutlined.js +12 -15
  24. package/dist/node_modules/@ant-design/icons/es/icons/SmileOutlined.js +8 -11
  25. package/dist/node_modules/@ant-design/icons/es/utils.js +2 -9
  26. package/dist/node_modules/@ant-design/icons/es/utils.js.map +1 -1
  27. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js +1 -9
  28. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js.map +1 -1
  29. package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
  30. package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
  31. package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
  32. package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
  33. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
  34. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
  35. package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
  36. package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
  37. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
  38. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
  39. package/dist/node_modules/@rc-component/collapse/es/Collapse.js +1 -1
  40. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
  41. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
  42. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
  43. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
  44. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
  45. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
  46. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
  47. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
  48. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
  49. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
  50. package/dist/node_modules/@rc-component/dropdown/es/Dropdown.js +2 -2
  51. package/dist/node_modules/@rc-component/form/es/Field.js +9 -9
  52. package/dist/node_modules/@rc-component/form/es/FieldContext.js +2 -3
  53. package/dist/node_modules/@rc-component/form/es/FieldContext.js.map +1 -1
  54. package/dist/node_modules/@rc-component/form/es/Form.js +78 -92
  55. package/dist/node_modules/@rc-component/form/es/Form.js.map +1 -1
  56. package/dist/node_modules/@rc-component/form/es/List.js +1 -1
  57. package/dist/node_modules/@rc-component/form/es/{useForm.js → hooks/useForm.js} +136 -143
  58. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -0
  59. package/dist/node_modules/@rc-component/form/es/hooks/useNotifyWatch.js +43 -0
  60. package/dist/node_modules/@rc-component/form/es/hooks/useNotifyWatch.js.map +1 -0
  61. package/dist/node_modules/@rc-component/form/es/{useWatch.js → hooks/useWatch.js} +7 -7
  62. package/dist/node_modules/@rc-component/form/es/hooks/useWatch.js.map +1 -0
  63. package/dist/node_modules/@rc-component/form/es/index.js +2 -2
  64. package/dist/node_modules/@rc-component/form/es/index.js.map +1 -1
  65. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
  66. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
  67. package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
  68. package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
  69. package/dist/node_modules/@rc-component/form/es/utils/validateUtil.js +1 -1
  70. package/dist/node_modules/@rc-component/form/es/utils/valueUtil.js.map +1 -1
  71. package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
  72. package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
  73. package/dist/node_modules/@rc-component/input-number/es/hooks/useCursor.js +1 -1
  74. package/dist/node_modules/@rc-component/menu/es/Menu.js +1 -1
  75. package/dist/node_modules/@rc-component/menu/es/MenuItem.js +1 -1
  76. package/dist/node_modules/@rc-component/menu/es/SubMenu/index.js +1 -1
  77. package/dist/node_modules/@rc-component/menu/es/hooks/useKeyRecords.js +1 -1
  78. package/dist/node_modules/@rc-component/menu/es/placements.js +0 -1
  79. package/dist/node_modules/@rc-component/menu/es/utils/warnUtil.js +1 -1
  80. package/dist/node_modules/@rc-component/pagination/es/Pagination.js +1 -1
  81. package/dist/node_modules/@rc-component/picker/es/PickerInput/RangePicker.js +1 -1
  82. package/dist/node_modules/@rc-component/picker/es/PickerInput/Selector/hooks/useClearIcon.js +1 -1
  83. package/dist/node_modules/@rc-component/picker/es/PickerInput/Selector/hooks/useInputProps.js +1 -1
  84. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/useCellRender.js +1 -1
  85. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/useFilledProps.js +1 -1
  86. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/usePresets.js +1 -1
  87. package/dist/node_modules/@rc-component/picker/es/PickerPanel/index.js +1 -1
  88. package/dist/node_modules/@rc-component/picker/es/hooks/useTimeInfo.js +1 -1
  89. package/dist/node_modules/@rc-component/portal/es/Portal.js +41 -35
  90. package/dist/node_modules/@rc-component/portal/es/Portal.js.map +1 -1
  91. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +48 -0
  92. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -0
  93. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
  94. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
  95. package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
  96. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
  97. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
  98. package/dist/node_modules/@rc-component/select/es/BaseSelect/index.js +141 -140
  99. package/dist/node_modules/@rc-component/select/es/BaseSelect/index.js.map +1 -1
  100. package/dist/node_modules/@rc-component/select/es/OptionList.js +92 -91
  101. package/dist/node_modules/@rc-component/select/es/OptionList.js.map +1 -1
  102. package/dist/node_modules/@rc-component/select/es/Select.js +5 -5
  103. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
  104. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
  105. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/SingleContent.js +41 -47
  106. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/SingleContent.js.map +1 -1
  107. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
  108. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
  109. package/dist/node_modules/@rc-component/select/es/hooks/useOpen.js +27 -26
  110. package/dist/node_modules/@rc-component/select/es/hooks/useOpen.js.map +1 -1
  111. package/dist/node_modules/@rc-component/select/es/utils/valueUtil.js +1 -1
  112. package/dist/node_modules/@rc-component/select/es/utils/warningPropsUtil.js +6 -6
  113. package/dist/node_modules/@rc-component/table/es/Cell/useCellRender.js +1 -1
  114. package/dist/node_modules/@rc-component/table/es/Table.js +1 -1
  115. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
  116. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
  117. package/dist/node_modules/@rc-component/table/es/VirtualTable/index.js +1 -1
  118. package/dist/node_modules/@rc-component/table/es/hooks/useColumns/index.js +1 -1
  119. package/dist/node_modules/@rc-component/table/es/hooks/useExpand.js +1 -1
  120. package/dist/node_modules/@rc-component/table/es/utils/legacyUtil.js +1 -1
  121. package/dist/node_modules/@rc-component/tabs/es/hooks/useAnimateConfig.js +1 -1
  122. package/dist/node_modules/@rc-component/tooltip/es/placements.js +0 -1
  123. package/dist/node_modules/@rc-component/tree/es/Tree.js +1 -1
  124. package/dist/node_modules/@rc-component/tree/es/util.js +1 -1
  125. package/dist/node_modules/@rc-component/tree/es/utils/conductUtil.js +1 -1
  126. package/dist/node_modules/@rc-component/tree/es/utils/treeUtil.js +1 -1
  127. package/dist/node_modules/@rc-component/tree-select/es/TreeSelect.js +1 -1
  128. package/dist/node_modules/@rc-component/tree-select/es/hooks/useDataEntities.js +1 -1
  129. package/dist/node_modules/@rc-component/tree-select/es/utils/legacyUtil.js +1 -1
  130. package/dist/node_modules/@rc-component/tree-select/es/utils/warningPropsUtil.js +1 -1
  131. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
  132. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  133. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
  134. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
  135. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +126 -123
  136. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
  137. package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
  138. package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  139. package/dist/node_modules/@rc-component/trigger/es/util.js +35 -34
  140. package/dist/node_modules/@rc-component/trigger/es/util.js.map +1 -1
  141. package/dist/node_modules/@rc-component/upload/es/attr-accept.js +1 -1
  142. package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
  143. package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
  144. package/dist/node_modules/@rc-component/util/es/KeyCode.js.map +1 -1
  145. package/dist/node_modules/@rc-component/util/es/hooks/useId.js.map +1 -1
  146. package/dist/node_modules/@rc-component/util/es/hooks/useState.js +6 -6
  147. package/dist/node_modules/@rc-component/util/es/hooks/useState.js.map +1 -1
  148. package/dist/node_modules/@rc-component/util/es/hooks/useSyncState.js.map +1 -1
  149. package/dist/node_modules/@rc-component/util/es/isEqual.js +1 -1
  150. package/dist/node_modules/@rc-component/util/es/utils/set.js +21 -21
  151. package/dist/node_modules/@rc-component/util/es/utils/set.js.map +1 -1
  152. package/dist/node_modules/@rc-component/virtual-list/es/hooks/useScrollTo.js +1 -1
  153. package/dist/node_modules/antd/es/_util/warning.js +1 -1
  154. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
  155. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  156. package/dist/node_modules/antd/es/_util/wave/index.js +1 -1
  157. package/dist/node_modules/antd/es/_util/wave/index.js.map +1 -1
  158. package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
  159. package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
  160. package/dist/node_modules/antd/es/alert/Alert.js +133 -128
  161. package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
  162. package/dist/node_modules/antd/es/badge/Badge.js +29 -28
  163. package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
  164. package/dist/node_modules/antd/es/badge/style/index.js +1 -1
  165. package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
  166. package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
  167. package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
  168. package/dist/node_modules/antd/es/button/style/compact.js +45 -36
  169. package/dist/node_modules/antd/es/button/style/compact.js.map +1 -1
  170. package/dist/node_modules/antd/es/button/style/variant.js +100 -90
  171. package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
  172. package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
  173. package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
  174. package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
  175. package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
  176. package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
  177. package/dist/node_modules/antd/es/card/style/index.js +23 -11
  178. package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
  179. package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
  180. package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
  181. package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
  182. package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
  183. package/dist/node_modules/antd/es/color-picker/color.js +9 -9
  184. package/dist/node_modules/antd/es/color-picker/color.js.map +1 -1
  185. package/dist/node_modules/antd/es/config-provider/index.js +76 -71
  186. package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
  187. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
  188. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
  189. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
  190. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
  191. package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
  192. package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
  193. package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
  194. package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
  195. package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
  196. package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
  197. package/dist/node_modules/antd/es/empty/empty.js +27 -32
  198. package/dist/node_modules/antd/es/empty/empty.js.map +1 -1
  199. package/dist/node_modules/antd/es/empty/simple.js +2 -2
  200. package/dist/node_modules/antd/es/empty/simple.js.map +1 -1
  201. package/dist/node_modules/antd/es/form/hooks/useForm.js +2 -2
  202. package/dist/node_modules/antd/es/form/index.js +1 -1
  203. package/dist/node_modules/antd/es/form/style/index.js +24 -24
  204. package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
  205. package/dist/node_modules/antd/es/grid/col.js +56 -54
  206. package/dist/node_modules/antd/es/grid/col.js.map +1 -1
  207. package/dist/node_modules/antd/es/grid/style/index.js +50 -50
  208. package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
  209. package/dist/node_modules/antd/es/input/TextArea.js +16 -15
  210. package/dist/node_modules/antd/es/input/TextArea.js.map +1 -1
  211. package/dist/node_modules/antd/es/input/style/index.js +1 -0
  212. package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
  213. package/dist/node_modules/antd/es/input-number/index.js +91 -91
  214. package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
  215. package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
  216. package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
  217. package/dist/node_modules/antd/es/layout/Sider.js +1 -2
  218. package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
  219. package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
  220. package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
  221. package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  222. package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
  223. package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  224. package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
  225. package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
  226. package/dist/node_modules/antd/es/menu/style/index.js +58 -58
  227. package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
  228. package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
  229. package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
  230. package/dist/node_modules/antd/es/message/index.js +1 -1
  231. package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
  232. package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  233. package/dist/node_modules/antd/es/modal/Modal.js +115 -109
  234. package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
  235. package/dist/node_modules/antd/es/modal/confirm.js +3 -3
  236. package/dist/node_modules/antd/es/modal/style/index.js +83 -80
  237. package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
  238. package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
  239. package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
  240. package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
  241. package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
  242. package/dist/node_modules/antd/es/pagination/style/index.js +100 -133
  243. package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
  244. package/dist/node_modules/antd/es/popover/index.js +77 -82
  245. package/dist/node_modules/antd/es/popover/index.js.map +1 -1
  246. package/dist/node_modules/antd/es/popover/style/index.js +65 -63
  247. package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
  248. package/dist/node_modules/antd/es/progress/progress.js +4 -4
  249. package/dist/node_modules/antd/es/radio/context.js +3 -3
  250. package/dist/node_modules/antd/es/radio/context.js.map +1 -1
  251. package/dist/node_modules/antd/es/radio/group.js +31 -29
  252. package/dist/node_modules/antd/es/radio/group.js.map +1 -1
  253. package/dist/node_modules/antd/es/radio/style/index.js +1 -1
  254. package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
  255. package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
  256. package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
  257. package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
  258. package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
  259. package/dist/node_modules/antd/es/select/style/select-input.js +113 -98
  260. package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
  261. package/dist/node_modules/antd/es/skeleton/Image.js +9 -9
  262. package/dist/node_modules/antd/es/skeleton/Image.js.map +1 -1
  263. package/dist/node_modules/antd/es/space/Item.js +2 -2
  264. package/dist/node_modules/antd/es/space/Item.js.map +1 -1
  265. package/dist/node_modules/antd/es/space/index.js +4 -4
  266. package/dist/node_modules/antd/es/space/index.js.map +1 -1
  267. package/dist/node_modules/antd/es/space/style/addon.js +47 -46
  268. package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
  269. package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
  270. package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
  271. package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
  272. package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
  273. package/dist/node_modules/antd/es/steps/index.js +108 -106
  274. package/dist/node_modules/antd/es/steps/index.js.map +1 -1
  275. package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
  276. package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
  277. package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
  278. package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
  279. package/dist/node_modules/antd/es/steps/style/index.js +41 -41
  280. package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
  281. package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
  282. package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
  283. package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
  284. package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
  285. package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
  286. package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
  287. package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
  288. package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
  289. package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
  290. package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
  291. package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
  292. package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
  293. package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
  294. package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
  295. package/dist/node_modules/antd/es/steps/style/small.js +21 -16
  296. package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
  297. package/dist/node_modules/antd/es/steps/style/status.js +187 -176
  298. package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
  299. package/dist/node_modules/antd/es/steps/style/util.js +18 -16
  300. package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
  301. package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
  302. package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
  303. package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
  304. package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
  305. package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
  306. package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
  307. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
  308. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
  309. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
  310. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
  311. package/dist/node_modules/antd/es/table/style/index.js +3 -3
  312. package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
  313. package/dist/node_modules/antd/es/table/style/radius.js +10 -0
  314. package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
  315. package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
  316. package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
  317. package/dist/node_modules/antd/es/tag/style/index.js +5 -5
  318. package/dist/node_modules/antd/es/tag/style/index.js.map +1 -1
  319. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
  320. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
  321. package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
  322. package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
  323. package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
  324. package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
  325. package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
  326. package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
  327. package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
  328. package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
  329. package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
  330. package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  331. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
  332. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
  333. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
  334. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
  335. package/dist/node_modules/antd/es/tooltip/index.js +52 -51
  336. package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
  337. package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
  338. package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
  339. package/dist/node_modules/antd/es/tooltip/util.js +13 -12
  340. package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
  341. package/dist/node_modules/antd/es/transfer/ListBody.js +16 -16
  342. package/dist/node_modules/antd/es/transfer/ListBody.js.map +1 -1
  343. package/dist/node_modules/antd/es/transfer/ListItem.js +43 -43
  344. package/dist/node_modules/antd/es/transfer/ListItem.js.map +1 -1
  345. package/dist/node_modules/antd/es/transfer/style/index.js +1 -1
  346. package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
  347. package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
  348. package/dist/node_modules/antd/es/typography/Base/index.js +43 -42
  349. package/dist/node_modules/antd/es/typography/Base/index.js.map +1 -1
  350. package/dist/node_modules/antd/es/typography/style/index.js +43 -43
  351. package/dist/node_modules/antd/es/typography/style/index.js.map +1 -1
  352. package/dist/node_modules/antd/es/typography/style/mixins.js +1 -1
  353. package/dist/node_modules/antd/es/typography/style/mixins.js.map +1 -1
  354. package/dist/node_modules/antd/es/version/version.js +1 -1
  355. package/dist/node_modules/antd/es/version/version.js.map +1 -1
  356. package/dist/node_modules/antd/es/watermark/context.js +5 -6
  357. package/dist/node_modules/antd/es/watermark/context.js.map +1 -1
  358. package/dist/node_modules/antd-style/node_modules/@ant-design/cssinjs/es/StyleContext.js +1 -2
  359. package/dist/node_modules/antd-style/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  360. package/dist/node_modules/exceljs/dist/exceljs.min.js +91 -508
  361. package/dist/node_modules/exceljs/dist/exceljs.min.js.map +1 -1
  362. package/dist/node_modules/html2canvas/dist/html2canvas.esm.js +5 -55
  363. package/dist/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -1
  364. package/dist/node_modules/jspdf/dist/jspdf.es.min.js +8 -53
  365. package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
  366. package/dist/node_modules/lodash/lodash.js +295 -278
  367. package/dist/node_modules/lodash/lodash.js.map +1 -1
  368. package/dist/node_modules/moment/dist/moment.js +2 -8
  369. package/dist/node_modules/moment/dist/moment.js.map +1 -1
  370. package/dist/node_modules/rc-util/es/isEqual.js +1 -1
  371. package/package.json +1 -1
  372. package/dist/node_modules/@rc-component/form/es/BatchUpdate.js +0 -21
  373. package/dist/node_modules/@rc-component/form/es/BatchUpdate.js.map +0 -1
  374. package/dist/node_modules/@rc-component/form/es/useForm.js.map +0 -1
  375. package/dist/node_modules/@rc-component/form/es/useWatch.js.map +0 -1
  376. package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
@@ -325,11 +325,7 @@ function Xe() {
325
325
  return i.style = this.style, this._comment && (i.comment = this._comment.model), i;
326
326
  }
327
327
  set model(i) {
328
- if (this._value.release(), this._value = l.create(i.type, this), this._value.model = i, i.comment) switch (i.comment.type) {
329
- case "note":
330
- this._comment = t.fromModel(i.comment);
331
- }
332
- i.style ? this.style = i.style : this.style = {};
328
+ this._value.release(), this._value = l.create(i.type, this), this._value.model = i, i.comment && i.comment.type === "note" && (this._comment = t.fromModel(i.comment)), i.style ? this.style = i.style : this.style = {};
333
329
  }
334
330
  }
335
331
  e.Types = o.ValueType;
@@ -1069,14 +1065,7 @@ function Xe() {
1069
1065
  }
1070
1066
  get model() {
1071
1067
  let r = null;
1072
- switch (typeof this.note) {
1073
- case "string":
1074
- r = { type: "note", note: { texts: [{ text: this.note }] } };
1075
- break;
1076
- default:
1077
- r = { type: "note", note: this.note };
1078
- }
1079
- return m.deepMerge({}, a.DEFAULT_CONFIGS, r);
1068
+ return typeof this.note === "string" ? r = { type: "note", note: { texts: [{ text: this.note }] } } : r = { type: "note", note: this.note }, m.deepMerge({}, a.DEFAULT_CONFIGS, r);
1080
1069
  }
1081
1070
  set model(r) {
1082
1071
  const { note: t } = r, { texts: e } = t;
@@ -2941,12 +2930,7 @@ function Xe() {
2941
2930
  t.openNode("definedName", { name: e.name, localSheetId: e.localSheetId }), t.writeText(e.ranges.join(",")), t.closeNode();
2942
2931
  }
2943
2932
  parseOpen(t) {
2944
- switch (t.name) {
2945
- case "definedName":
2946
- return this._parsedName = t.attributes.name, this._parsedLocalSheetId = t.attributes.localSheetId, this._parsedText = [], !0;
2947
- default:
2948
- return !1;
2949
- }
2933
+ return t.name === "definedName" ? (this._parsedName = t.attributes.name, this._parsedLocalSheetId = t.attributes.localSheetId, this._parsedText = [], !0) : !1;
2950
2934
  }
2951
2935
  parseText(t) {
2952
2936
  this._parsedText.push(t);
@@ -3062,25 +3046,13 @@ function Xe() {
3062
3046
  h.openXml(o.StdDocAttributes), h.openNode("workbook", u.WORKBOOK_ATTRIBUTES), this.map.fileVersion.render(h), this.map.workbookPr.render(h, w.properties), this.map.bookViews.render(h, w.views), this.map.sheets.render(h, w.sheets), this.map.definedNames.render(h, w.definedNames), this.map.calcPr.render(h, w.calcProperties), h.closeNode();
3063
3047
  }
3064
3048
  parseOpen(h) {
3065
- if (this.parser) return this.parser.parseOpen(h), !0;
3066
- switch (h.name) {
3067
- case "workbook":
3068
- return !0;
3069
- default:
3070
- return this.parser = this.map[h.name], this.parser && this.parser.parseOpen(h), !0;
3071
- }
3049
+ return this.parser ? (this.parser.parseOpen(h), !0) : (h.name === "workbook" || (this.parser = this.map[h.name], this.parser && this.parser.parseOpen(h)), !0);
3072
3050
  }
3073
3051
  parseText(h) {
3074
3052
  this.parser && this.parser.parseText(h);
3075
3053
  }
3076
3054
  parseClose(h) {
3077
- if (this.parser) return this.parser.parseClose(h) || (this.parser = void 0), !0;
3078
- switch (h) {
3079
- case "workbook":
3080
- return this.model = { sheets: this.map.sheets.model, properties: this.map.workbookPr.model || {}, views: this.map.bookViews.model, calcProperties: {} }, this.map.definedNames.model && (this.model.definedNames = this.map.definedNames.model), !1;
3081
- default:
3082
- return !0;
3083
- }
3055
+ return this.parser ? (this.parser.parseClose(h) || (this.parser = void 0), !0) : h === "workbook" ? (this.model = { sheets: this.map.sheets.model, properties: this.map.workbookPr.model || {}, views: this.map.bookViews.model, calcProperties: {} }, this.map.definedNames.model && (this.model.definedNames = this.map.definedNames.model), !1) : !0;
3084
3056
  }
3085
3057
  reconcile(h) {
3086
3058
  const w = (h.workbookRels || []).reduce((I, P) => (I[P.Id] = P, I), {}), _ = [];
@@ -3195,12 +3167,7 @@ function Xe() {
3195
3167
  (o === r[2] || this.tag === "x:SizeWithCells" && o === r[1]) && a.leafNode(this.tag);
3196
3168
  }
3197
3169
  parseOpen(a) {
3198
- switch (a.name) {
3199
- case this.tag:
3200
- return this.model = {}, this.model[this.tag] = !0, !0;
3201
- default:
3202
- return !1;
3203
- }
3170
+ return a.name === this.tag ? (this.model = {}, this.model[this.tag] = !0, !0) : !1;
3204
3171
  }
3205
3172
  parseText() {
3206
3173
  }
@@ -3221,12 +3188,7 @@ function Xe() {
3221
3188
  a.leafNode(this.tag, null, o);
3222
3189
  }
3223
3190
  parseOpen(a) {
3224
- switch (a.name) {
3225
- case this.tag:
3226
- return this.text = "", !0;
3227
- default:
3228
- return !1;
3229
- }
3191
+ return a.name === this.tag ? (this.text = "", !0) : !1;
3230
3192
  }
3231
3193
  parseText(a) {
3232
3194
  this.text = a;
@@ -3254,12 +3216,7 @@ function Xe() {
3254
3216
  a.leafNode("x:Anchor", null, r.join(", "));
3255
3217
  }
3256
3218
  parseOpen(a) {
3257
- switch (a.name) {
3258
- case this.tag:
3259
- return this.text = "", !0;
3260
- default:
3261
- return !1;
3262
- }
3219
+ return a.name === this.tag ? (this.text = "", !0) : !1;
3263
3220
  }
3264
3221
  parseText(a) {
3265
3222
  this.text = a;
@@ -3282,26 +3239,13 @@ function Xe() {
3282
3239
  e.openNode(this.tag, { ObjectType: "Note" }), this.map["x:MoveWithCells"].render(e, i, t), this.map["x:SizeWithCells"].render(e, i, t), this.map["x:Anchor"].render(e, l), this.map["x:Locked"].render(e, n.locked), e.leafNode("x:AutoFill", null, "False"), this.map["x:LockText"].render(e, n.lockText), e.leafNode("x:Row", null, l.refAddress.row - 1), e.leafNode("x:Column", null, l.refAddress.col - 1), e.closeNode();
3283
3240
  }
3284
3241
  parseOpen(e) {
3285
- switch (e.name) {
3286
- case this.tag:
3287
- this.reset(), this.model = { anchor: [], protection: {}, editAs: "" };
3288
- break;
3289
- default:
3290
- this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e);
3291
- }
3292
- return !0;
3242
+ return e.name === this.tag ? (this.reset(), this.model = { anchor: [], protection: {}, editAs: "" }) : (this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e)), !0;
3293
3243
  }
3294
3244
  parseText(e) {
3295
3245
  this.parser && this.parser.parseText(e);
3296
3246
  }
3297
3247
  parseClose(e) {
3298
- if (this.parser) return this.parser.parseClose(e) || (this.parser = void 0), !0;
3299
- switch (e) {
3300
- case this.tag:
3301
- return this.normalizeModel(), !1;
3302
- default:
3303
- return !0;
3304
- }
3248
+ return this.parser ? (this.parser.parseClose(e) || (this.parser = void 0), !0) : e === this.tag ? (this.normalizeModel(), !1) : !0;
3305
3249
  }
3306
3250
  normalizeModel() {
3307
3251
  const e = Object.assign({}, this.map["x:MoveWithCells"].model, this.map["x:SizeWithCells"].model), l = Object.keys(e).length;
@@ -3323,27 +3267,13 @@ function Xe() {
3323
3267
  }), e.closeNode();
3324
3268
  }
3325
3269
  parseOpen(e) {
3326
- if (this.parser) return this.parser.parseOpen(e), !0;
3327
- switch (e.name) {
3328
- case this.tag:
3329
- this.reset(), this.model = { comments: [] };
3330
- break;
3331
- default:
3332
- this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e);
3333
- }
3334
- return !0;
3270
+ return this.parser ? (this.parser.parseOpen(e), !0) : (e.name === this.tag ? (this.reset(), this.model = { comments: [] }) : (this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e)), !0);
3335
3271
  }
3336
3272
  parseText(e) {
3337
3273
  this.parser && this.parser.parseText(e);
3338
3274
  }
3339
3275
  parseClose(e) {
3340
- if (this.parser) return this.parser.parseClose(e) || (this.model.comments.push(this.parser.model), this.parser = void 0), !0;
3341
- switch (e) {
3342
- case this.tag:
3343
- return !1;
3344
- default:
3345
- return !0;
3346
- }
3276
+ return this.parser ? (this.parser.parseClose(e) || (this.model.comments.push(this.parser.model), this.parser = void 0), !0) : e !== this.tag;
3347
3277
  }
3348
3278
  reconcile(e, l) {
3349
3279
  e.anchors.forEach((n) => {
@@ -3365,27 +3295,13 @@ function Xe() {
3365
3295
  e.openNode("v:shape", r.V_SHAPE_ATTRIBUTES(l, n)), e.leafNode("v:fill", { color2: "infoBackground [80]" }), e.leafNode("v:shadow", { color: "none [81]", obscured: "t" }), e.leafNode("v:path", { "o:connecttype": "none" }), this.map["v:textbox"].render(e, l), this.map["x:ClientData"].render(e, l), e.closeNode();
3366
3296
  }
3367
3297
  parseOpen(e) {
3368
- if (this.parser) return this.parser.parseOpen(e), !0;
3369
- switch (e.name) {
3370
- case this.tag:
3371
- this.reset(), this.model = { margins: { insetmode: e.attributes["o:insetmode"] }, anchor: "", editAs: "", protection: {} };
3372
- break;
3373
- default:
3374
- this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e);
3375
- }
3376
- return !0;
3298
+ return this.parser ? (this.parser.parseOpen(e), !0) : (e.name === this.tag ? (this.reset(), this.model = { margins: { insetmode: e.attributes["o:insetmode"] }, anchor: "", editAs: "", protection: {} }) : (this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e)), !0);
3377
3299
  }
3378
3300
  parseText(e) {
3379
3301
  this.parser && this.parser.parseText(e);
3380
3302
  }
3381
3303
  parseClose(e) {
3382
- if (this.parser) return this.parser.parseClose(e) || (this.parser = void 0), !0;
3383
- switch (e) {
3384
- case this.tag:
3385
- return this.model.margins.inset = this.map["v:textbox"].model && this.map["v:textbox"].model.inset, this.model.protection = this.map["x:ClientData"].model && this.map["x:ClientData"].model.protection, this.model.anchor = this.map["x:ClientData"].model && this.map["x:ClientData"].model.anchor, this.model.editAs = this.map["x:ClientData"].model && this.map["x:ClientData"].model.editAs, !1;
3386
- default:
3387
- return !0;
3388
- }
3304
+ return this.parser ? (this.parser.parseClose(e) || (this.parser = void 0), !0) : e === this.tag ? (this.model.margins.inset = this.map["v:textbox"].model && this.map["v:textbox"].model.inset, this.model.protection = this.map["x:ClientData"].model && this.map["x:ClientData"].model.protection, this.model.anchor = this.map["x:ClientData"].model && this.map["x:ClientData"].model.anchor, this.model.editAs = this.map["x:ClientData"].model && this.map["x:ClientData"].model.editAs, !1) : !0;
3389
3305
  }
3390
3306
  }
3391
3307
  r.V_SHAPE_ATTRIBUTES = (t, e) => ({ id: "_x0000_s" + (1025 + e), type: "#_x0000_t202", style: "position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden", fillcolor: "infoBackground [80]", strokecolor: "none [81]", "o:insetmode": t.note.margins && t.note.margins.insetmode }), T.exports = r;
@@ -3410,22 +3326,12 @@ function Xe() {
3410
3326
  a.openNode("v:textbox", r), a.leafNode("div", { style: "text-align:left" }), a.closeNode();
3411
3327
  }
3412
3328
  parseOpen(a) {
3413
- switch (a.name) {
3414
- case this.tag:
3415
- return this.model = { inset: this.reverseConversionUnit(a.attributes.inset) }, !0;
3416
- default:
3417
- return !0;
3418
- }
3329
+ return a.name === this.tag && (this.model = { inset: this.reverseConversionUnit(a.attributes.inset) }), !0;
3419
3330
  }
3420
3331
  parseText() {
3421
3332
  }
3422
3333
  parseClose(a) {
3423
- switch (a) {
3424
- case this.tag:
3425
- return !1;
3426
- default:
3427
- return !0;
3428
- }
3334
+ return a !== this.tag;
3429
3335
  }
3430
3336
  };
3431
3337
  }, { "../base-xform": 32 }], 48: [function(s, T, S) {
@@ -3489,25 +3395,13 @@ function Xe() {
3489
3395
  n.openXml(m.StdDocAttributes), n.openNode("Properties", e.PROPERTY_ATTRIBUTES), n.leafNode("Application", void 0, "Microsoft Excel"), n.leafNode("DocSecurity", void 0, "0"), n.leafNode("ScaleCrop", void 0, "false"), this.map.HeadingPairs.render(n, i.worksheets), this.map.TitleOfParts.render(n, i.worksheets), this.map.Company.render(n, i.company || ""), this.map.Manager.render(n, i.manager), n.leafNode("LinksUpToDate", void 0, "false"), n.leafNode("SharedDoc", void 0, "false"), n.leafNode("HyperlinksChanged", void 0, "false"), n.leafNode("AppVersion", void 0, "16.0300"), n.closeNode();
3490
3396
  }
3491
3397
  parseOpen(n) {
3492
- if (this.parser) return this.parser.parseOpen(n), !0;
3493
- switch (n.name) {
3494
- case "Properties":
3495
- return !0;
3496
- default:
3497
- return this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0);
3498
- }
3398
+ return this.parser ? (this.parser.parseOpen(n), !0) : n.name === "Properties" ? !0 : (this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0));
3499
3399
  }
3500
3400
  parseText(n) {
3501
3401
  this.parser && this.parser.parseText(n);
3502
3402
  }
3503
3403
  parseClose(n) {
3504
- if (this.parser) return this.parser.parseClose(n) || (this.parser = void 0), !0;
3505
- switch (n) {
3506
- case "Properties":
3507
- return this.model = { worksheets: this.map.TitleOfParts.model, company: this.map.Company.model, manager: this.map.Manager.model }, !1;
3508
- default:
3509
- return !0;
3510
- }
3404
+ return this.parser ? (this.parser.parseClose(n) || (this.parser = void 0), !0) : n === "Properties" ? (this.model = { worksheets: this.map.TitleOfParts.model, company: this.map.Company.model, manager: this.map.Manager.model }, !1) : !0;
3511
3405
  }
3512
3406
  }
3513
3407
  e.DateFormat = function(l) {
@@ -3590,12 +3484,7 @@ function Xe() {
3590
3484
  a.leafNode("Relationship", o);
3591
3485
  }
3592
3486
  parseOpen(a) {
3593
- switch (a.name) {
3594
- case "Relationship":
3595
- return this.model = a.attributes, !0;
3596
- default:
3597
- return !1;
3598
- }
3487
+ return a.name === "Relationship" ? (this.model = a.attributes, !0) : !1;
3599
3488
  }
3600
3489
  parseText() {
3601
3490
  }
@@ -3629,12 +3518,9 @@ function Xe() {
3629
3518
  }
3630
3519
  parseClose(e) {
3631
3520
  if (this.parser) return this.parser.parseClose(e) || (this.model.push(this.parser.model), this.parser = void 0), !0;
3632
- switch (e) {
3633
- case "Relationships":
3634
- return !1;
3635
- default:
3636
- throw new Error("Unexpected xml node in parseClose: " + e);
3637
- }
3521
+ if (e === "Relationships")
3522
+ return !1;
3523
+ throw new Error("Unexpected xml node in parseClose: " + e);
3638
3524
  }
3639
3525
  }
3640
3526
  r.RELATIONSHIPS_ATTRIBUTES = { xmlns: "http://schemas.openxmlformats.org/package/2006/relationships" }, T.exports = r;
@@ -3642,15 +3528,7 @@ function Xe() {
3642
3528
  const m = s("../base-xform");
3643
3529
  T.exports = class extends m {
3644
3530
  parseOpen(a) {
3645
- if (this.parser) return this.parser.parseOpen(a), !0;
3646
- switch (a.name) {
3647
- case this.tag:
3648
- this.reset(), this.model = { range: { editAs: a.attributes.editAs || "oneCell" } };
3649
- break;
3650
- default:
3651
- this.parser = this.map[a.name], this.parser && this.parser.parseOpen(a);
3652
- }
3653
- return !0;
3531
+ return this.parser ? (this.parser.parseOpen(a), !0) : (a.name === this.tag ? (this.reset(), this.model = { range: { editAs: a.attributes.editAs || "oneCell" } }) : (this.parser = this.map[a.name], this.parser && this.parser.parseOpen(a)), !0);
3654
3532
  }
3655
3533
  parseText(a) {
3656
3534
  this.parser && this.parser.parseText(a);
@@ -3678,26 +3556,12 @@ function Xe() {
3678
3556
  o.openNode(this.tag), this.map["a:blip"].render(o, r), o.openNode("a:stretch"), o.leafNode("a:fillRect"), o.closeNode(), o.closeNode();
3679
3557
  }
3680
3558
  parseOpen(o) {
3681
- if (this.parser) return this.parser.parseOpen(o), !0;
3682
- switch (o.name) {
3683
- case this.tag:
3684
- this.reset();
3685
- break;
3686
- default:
3687
- this.parser = this.map[o.name], this.parser && this.parser.parseOpen(o);
3688
- }
3689
- return !0;
3559
+ return this.parser ? (this.parser.parseOpen(o), !0) : (o.name === this.tag ? this.reset() : (this.parser = this.map[o.name], this.parser && this.parser.parseOpen(o)), !0);
3690
3560
  }
3691
3561
  parseText() {
3692
3562
  }
3693
3563
  parseClose(o) {
3694
- if (this.parser) return this.parser.parseClose(o) || (this.parser = void 0), !0;
3695
- switch (o) {
3696
- case this.tag:
3697
- return this.model = this.map["a:blip"].model, !1;
3698
- default:
3699
- return !0;
3700
- }
3564
+ return this.parser ? (this.parser.parseClose(o) || (this.parser = void 0), !0) : o === this.tag ? (this.model = this.map["a:blip"].model, !1) : !0;
3701
3565
  }
3702
3566
  };
3703
3567
  }, { "../base-xform": 32, "./blip-xform": 58 }], 58: [function(s, T, S) {
@@ -3710,22 +3574,12 @@ function Xe() {
3710
3574
  a.leafNode(this.tag, { "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "r:embed": o.rId, cstate: "print" });
3711
3575
  }
3712
3576
  parseOpen(a) {
3713
- switch (a.name) {
3714
- case this.tag:
3715
- return this.model = { rId: a.attributes["r:embed"] }, !0;
3716
- default:
3717
- return !0;
3718
- }
3577
+ return a.name === this.tag && (this.model = { rId: a.attributes["r:embed"] }), !0;
3719
3578
  }
3720
3579
  parseText() {
3721
3580
  }
3722
3581
  parseClose(a) {
3723
- switch (a) {
3724
- case this.tag:
3725
- return !1;
3726
- default:
3727
- return !0;
3728
- }
3582
+ return a !== this.tag;
3729
3583
  }
3730
3584
  };
3731
3585
  }, { "../base-xform": 32 }], 59: [function(s, T, S) {
@@ -3747,12 +3601,7 @@ function Xe() {
3747
3601
  parseText() {
3748
3602
  }
3749
3603
  parseClose(a) {
3750
- switch (a) {
3751
- case this.tag:
3752
- return !1;
3753
- default:
3754
- return !0;
3755
- }
3604
+ return a !== this.tag;
3756
3605
  }
3757
3606
  };
3758
3607
  }, { "../base-xform": 32 }], 60: [function(s, T, S) {
@@ -3768,26 +3617,12 @@ function Xe() {
3768
3617
  r.openNode(this.tag, { id: t.index, name: "Picture " + t.index }), this.map["a:hlinkClick"].render(r, t), this.map["a:extLst"].render(r, t), r.closeNode();
3769
3618
  }
3770
3619
  parseOpen(r) {
3771
- if (this.parser) return this.parser.parseOpen(r), !0;
3772
- switch (r.name) {
3773
- case this.tag:
3774
- this.reset();
3775
- break;
3776
- default:
3777
- this.parser = this.map[r.name], this.parser && this.parser.parseOpen(r);
3778
- }
3779
- return !0;
3620
+ return this.parser ? (this.parser.parseOpen(r), !0) : (r.name === this.tag ? this.reset() : (this.parser = this.map[r.name], this.parser && this.parser.parseOpen(r)), !0);
3780
3621
  }
3781
3622
  parseText() {
3782
3623
  }
3783
3624
  parseClose(r) {
3784
- if (this.parser) return this.parser.parseClose(r) || (this.parser = void 0), !0;
3785
- switch (r) {
3786
- case this.tag:
3787
- return this.model = this.map["a:hlinkClick"].model, !1;
3788
- default:
3789
- return !0;
3790
- }
3625
+ return this.parser ? (this.parser.parseClose(r) || (this.parser = void 0), !0) : r === this.tag ? (this.model = this.map["a:hlinkClick"].model, !1) : !0;
3791
3626
  }
3792
3627
  };
3793
3628
  }, { "../base-xform": 32, "./ext-lst-xform": 63, "./hlink-click-xform": 65 }], 61: [function(s, T, S) {
@@ -3800,27 +3635,13 @@ function Xe() {
3800
3635
  o.openNode(this.tag), this.map["xdr:col"].render(o, r.nativeCol), this.map["xdr:colOff"].render(o, r.nativeColOff), this.map["xdr:row"].render(o, r.nativeRow), this.map["xdr:rowOff"].render(o, r.nativeRowOff), o.closeNode();
3801
3636
  }
3802
3637
  parseOpen(o) {
3803
- if (this.parser) return this.parser.parseOpen(o), !0;
3804
- switch (o.name) {
3805
- case this.tag:
3806
- this.reset();
3807
- break;
3808
- default:
3809
- this.parser = this.map[o.name], this.parser && this.parser.parseOpen(o);
3810
- }
3811
- return !0;
3638
+ return this.parser ? (this.parser.parseOpen(o), !0) : (o.name === this.tag ? this.reset() : (this.parser = this.map[o.name], this.parser && this.parser.parseOpen(o)), !0);
3812
3639
  }
3813
3640
  parseText(o) {
3814
3641
  this.parser && this.parser.parseText(o);
3815
3642
  }
3816
3643
  parseClose(o) {
3817
- if (this.parser) return this.parser.parseClose(o) || (this.parser = void 0), !0;
3818
- switch (o) {
3819
- case this.tag:
3820
- return this.model = { nativeCol: this.map["xdr:col"].model, nativeColOff: this.map["xdr:colOff"].model, nativeRow: this.map["xdr:row"].model, nativeRowOff: this.map["xdr:rowOff"].model }, !1;
3821
- default:
3822
- return !0;
3823
- }
3644
+ return this.parser ? (this.parser.parseClose(o) || (this.parser = void 0), !0) : o === this.tag ? (this.model = { nativeCol: this.map["xdr:col"].model, nativeColOff: this.map["xdr:colOff"].model, nativeRow: this.map["xdr:row"].model, nativeRowOff: this.map["xdr:rowOff"].model }, !1) : !0;
3824
3645
  }
3825
3646
  };
3826
3647
  }, { "../base-xform": 32, "../simple/integer-xform": 118 }], 62: [function(s, T, S) {
@@ -3845,27 +3666,13 @@ function Xe() {
3845
3666
  }), n.closeNode();
3846
3667
  }
3847
3668
  parseOpen(n) {
3848
- if (this.parser) return this.parser.parseOpen(n), !0;
3849
- switch (n.name) {
3850
- case this.tag:
3851
- this.reset(), this.model = { anchors: [] };
3852
- break;
3853
- default:
3854
- this.parser = this.map[n.name], this.parser && this.parser.parseOpen(n);
3855
- }
3856
- return !0;
3669
+ return this.parser ? (this.parser.parseOpen(n), !0) : (n.name === this.tag ? (this.reset(), this.model = { anchors: [] }) : (this.parser = this.map[n.name], this.parser && this.parser.parseOpen(n)), !0);
3857
3670
  }
3858
3671
  parseText(n) {
3859
3672
  this.parser && this.parser.parseText(n);
3860
3673
  }
3861
3674
  parseClose(n) {
3862
- if (this.parser) return this.parser.parseClose(n) || (this.model.anchors.push(this.parser.model), this.parser = void 0), !0;
3863
- switch (n) {
3864
- case this.tag:
3865
- return !1;
3866
- default:
3867
- return !0;
3868
- }
3675
+ return this.parser ? (this.parser.parseClose(n) || (this.model.anchors.push(this.parser.model), this.parser = void 0), !0) : n !== this.tag;
3869
3676
  }
3870
3677
  reconcile(n, i) {
3871
3678
  n.anchors.forEach((f) => {
@@ -3893,12 +3700,7 @@ function Xe() {
3893
3700
  parseText() {
3894
3701
  }
3895
3702
  parseClose(a) {
3896
- switch (a) {
3897
- case this.tag:
3898
- return !1;
3899
- default:
3900
- return !0;
3901
- }
3703
+ return a !== this.tag;
3902
3704
  }
3903
3705
  };
3904
3706
  }, { "../base-xform": 32 }], 64: [function(s, T, S) {
@@ -3931,12 +3733,7 @@ function Xe() {
3931
3733
  o.hyperlinks && o.hyperlinks.rId && a.leafNode(this.tag, { "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "r:id": o.hyperlinks.rId, tooltip: o.hyperlinks.tooltip });
3932
3734
  }
3933
3735
  parseOpen(a) {
3934
- switch (a.name) {
3935
- case this.tag:
3936
- return this.model = { hyperlinks: { rId: a.attributes["r:id"], tooltip: a.attributes.tooltip } }, !0;
3937
- default:
3938
- return !0;
3939
- }
3736
+ return a.name === this.tag && (this.model = { hyperlinks: { rId: a.attributes["r:id"], tooltip: a.attributes.tooltip } }), !0;
3940
3737
  }
3941
3738
  parseText() {
3942
3739
  }
@@ -3957,26 +3754,12 @@ function Xe() {
3957
3754
  r.openNode(this.tag), this.map["xdr:cNvPr"].render(r, t), this.map["xdr:cNvPicPr"].render(r, t), r.closeNode();
3958
3755
  }
3959
3756
  parseOpen(r) {
3960
- if (this.parser) return this.parser.parseOpen(r), !0;
3961
- switch (r.name) {
3962
- case this.tag:
3963
- this.reset();
3964
- break;
3965
- default:
3966
- this.parser = this.map[r.name], this.parser && this.parser.parseOpen(r);
3967
- }
3968
- return !0;
3757
+ return this.parser ? (this.parser.parseOpen(r), !0) : (r.name === this.tag ? this.reset() : (this.parser = this.map[r.name], this.parser && this.parser.parseOpen(r)), !0);
3969
3758
  }
3970
3759
  parseText() {
3971
3760
  }
3972
3761
  parseClose(r) {
3973
- if (this.parser) return this.parser.parseClose(r) || (this.parser = void 0), !0;
3974
- switch (r) {
3975
- case this.tag:
3976
- return this.model = this.map["xdr:cNvPr"].model, !1;
3977
- default:
3978
- return !0;
3979
- }
3762
+ return this.parser ? (this.parser.parseClose(r) || (this.parser = void 0), !0) : r === this.tag ? (this.model = this.map["xdr:cNvPr"].model, !1) : !0;
3980
3763
  }
3981
3764
  };
3982
3765
  }, { "../base-xform": 32, "./c-nv-pic-pr-xform": 59, "./c-nv-pr-xform": 60 }], 67: [function(s, T, S) {
@@ -3995,13 +3778,7 @@ function Xe() {
3995
3778
  e.openNode(this.tag, { editAs: l.range.editAs || "oneCell" }), this.map["xdr:from"].render(e, l.range.tl), this.map["xdr:ext"].render(e, l.range.ext), this.map["xdr:pic"].render(e, l.picture), this.map["xdr:clientData"].render(e, {}), e.closeNode();
3996
3779
  }
3997
3780
  parseClose(e) {
3998
- if (this.parser) return this.parser.parseClose(e) || (this.parser = void 0), !0;
3999
- switch (e) {
4000
- case this.tag:
4001
- return this.model.range.tl = this.map["xdr:from"].model, this.model.range.ext = this.map["xdr:ext"].model, this.model.picture = this.map["xdr:pic"].model, !1;
4002
- default:
4003
- return !0;
4004
- }
3781
+ return this.parser ? (this.parser.parseClose(e) || (this.parser = void 0), !0) : e === this.tag ? (this.model.range.tl = this.map["xdr:from"].model, this.model.range.ext = this.map["xdr:ext"].model, this.model.picture = this.map["xdr:pic"].model, !1) : !0;
4005
3782
  }
4006
3783
  reconcile(e, l) {
4007
3784
  e.medium = this.reconcilePicture(e.picture, l);
@@ -4023,26 +3800,12 @@ function Xe() {
4023
3800
  e.openNode(this.tag), this.map["xdr:nvPicPr"].render(e, l), this.map["xdr:blipFill"].render(e, l), this.map["xdr:spPr"].render(e, l), e.closeNode();
4024
3801
  }
4025
3802
  parseOpen(e) {
4026
- if (this.parser) return this.parser.parseOpen(e), !0;
4027
- switch (e.name) {
4028
- case this.tag:
4029
- this.reset();
4030
- break;
4031
- default:
4032
- this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e);
4033
- }
4034
- return !0;
3803
+ return this.parser ? (this.parser.parseOpen(e), !0) : (e.name === this.tag ? this.reset() : (this.parser = this.map[e.name], this.parser && this.parser.parseOpen(e)), !0);
4035
3804
  }
4036
3805
  parseText() {
4037
3806
  }
4038
3807
  parseClose(e) {
4039
- if (this.parser) return this.parser.parseClose(e) || (this.mergeModel(this.parser.model), this.parser = void 0), !0;
4040
- switch (e) {
4041
- case this.tag:
4042
- return !1;
4043
- default:
4044
- return !0;
4045
- }
3808
+ return this.parser ? (this.parser.parseClose(e) || (this.mergeModel(this.parser.model), this.parser = void 0), !0) : e !== this.tag;
4046
3809
  }
4047
3810
  };
4048
3811
  }, { "../base-xform": 32, "../static-xform": 120, "./blip-fill-xform": 57, "./nv-pic-pr-xform": 66, "./sp-pr": 69 }], 69: [function(s, T, S) {
@@ -4063,13 +3826,7 @@ function Xe() {
4063
3826
  t.openNode(this.tag, { editAs: e.range.editAs || "oneCell" }), this.map["xdr:from"].render(t, e.range.tl), this.map["xdr:to"].render(t, e.range.br), this.map["xdr:pic"].render(t, e.picture), this.map["xdr:clientData"].render(t, {}), t.closeNode();
4064
3827
  }
4065
3828
  parseClose(t) {
4066
- if (this.parser) return this.parser.parseClose(t) || (this.parser = void 0), !0;
4067
- switch (t) {
4068
- case this.tag:
4069
- return this.model.range.tl = this.map["xdr:from"].model, this.model.range.br = this.map["xdr:to"].model, this.model.picture = this.map["xdr:pic"].model, !1;
4070
- default:
4071
- return !0;
4072
- }
3829
+ return this.parser ? (this.parser.parseClose(t) || (this.parser = void 0), !0) : t === this.tag ? (this.model.range.tl = this.map["xdr:from"].model, this.model.range.br = this.map["xdr:to"].model, this.model.picture = this.map["xdr:pic"].model, !1) : !0;
4073
3830
  }
4074
3831
  reconcile(t, e) {
4075
3832
  t.medium = this.reconcilePicture(t.picture, e);
@@ -4097,13 +3854,7 @@ function Xe() {
4097
3854
  } else this.empty && a.leafNode(this.tag);
4098
3855
  }
4099
3856
  parseOpen(a) {
4100
- if (this.parser) return this.parser.parseOpen(a), !0;
4101
- switch (a.name) {
4102
- case this.tag:
4103
- return this.model = [], !0;
4104
- default:
4105
- return !!this.childXform.parseOpen(a) && (this.parser = this.childXform, !0);
4106
- }
3857
+ return this.parser ? (this.parser.parseOpen(a), !0) : a.name === this.tag ? (this.model = [], !0) : !!this.childXform.parseOpen(a) && (this.parser = this.childXform, !0);
4107
3858
  }
4108
3859
  parseText(a) {
4109
3860
  this.parser && this.parser.parseText(a);
@@ -4165,12 +3916,7 @@ function Xe() {
4165
3916
  }
4166
3917
  prepare(l, n) {
4167
3918
  const i = n.styles.addStyleModel(l.style || {}, (function(f) {
4168
- switch (f.type) {
4169
- case r.ValueType.Formula:
4170
- return e(f.result);
4171
- default:
4172
- return f.type;
4173
- }
3919
+ return f.type === r.ValueType.Formula ? e(f.result) : f.type;
4174
3920
  })(l));
4175
3921
  switch (i && (l.styleId = i), l.comment && n.comments.push({ ...l.comment, ref: l.address }), l.type) {
4176
3922
  case r.ValueType.String:
@@ -4420,10 +4166,7 @@ function Xe() {
4420
4166
  return { type: o.attributes.type };
4421
4167
  }
4422
4168
  onParserClose(o, r) {
4423
- switch (o) {
4424
- case "xm:f":
4425
- this.model.value = r.model ? parseFloat(r.model) : 0;
4426
- }
4169
+ o === "xm:f" && (this.model.value = r.model ? parseFloat(r.model) : 0);
4427
4170
  }
4428
4171
  };
4429
4172
  }, { "../../composite-xform": 48, "./f-ext-xform": 80 }], 77: [function(s, T, S) {
@@ -4506,13 +4249,7 @@ function Xe() {
4506
4249
  }
4507
4250
  onParserClose(t, e) {
4508
4251
  const [, l] = t.split(":");
4509
- switch (l) {
4510
- case "cfvo":
4511
- this.model.cfvo.push(e.model);
4512
- break;
4513
- default:
4514
- this.model[l] = e.model;
4515
- }
4252
+ l === "cfvo" ? this.model.cfvo.push(e.model) : this.model[l] = e.model;
4516
4253
  }
4517
4254
  };
4518
4255
  }, { "../../base-xform": 32, "../../composite-xform": 48, "../../style/color-xform": 128, "./cfvo-ext-xform": 76 }], 80: [function(s, T, S) {
@@ -4823,13 +4560,7 @@ function Xe() {
4823
4560
  });
4824
4561
  }
4825
4562
  parseOpen(o) {
4826
- if (this.parser) return this.parser.parseOpen(o), !0;
4827
- switch (o.name) {
4828
- case "conditionalFormatting":
4829
- return this.parser = this.cfXform, this.parser.parseOpen(o), !0;
4830
- default:
4831
- return !1;
4832
- }
4563
+ return this.parser ? (this.parser.parseOpen(o), !0) : o.name === "conditionalFormatting" ? (this.parser = this.cfXform, this.parser.parseOpen(o), !0) : !1;
4833
4564
  }
4834
4565
  parseText(o) {
4835
4566
  this.parser && this.parser.parseText(o);
@@ -5128,12 +4859,7 @@ function Xe() {
5128
4859
  o && a.leafNode(this.tag, { "r:id": o.rId });
5129
4860
  }
5130
4861
  parseOpen(a) {
5131
- switch (a.name) {
5132
- case this.tag:
5133
- return this.model = { rId: a.attributes["r:id"] }, !0;
5134
- default:
5135
- return !1;
5136
- }
4862
+ return a.name === this.tag ? (this.model = { rId: a.attributes["r:id"] }, !0) : !1;
5137
4863
  }
5138
4864
  parseText() {
5139
4865
  }
@@ -5378,12 +5104,7 @@ function Xe() {
5378
5104
  }
5379
5105
  }
5380
5106
  parseOpen(o) {
5381
- switch (o.name) {
5382
- case this.tag:
5383
- return this.model = { left: parseFloat(o.attributes.left || 0.7), right: parseFloat(o.attributes.right || 0.7), top: parseFloat(o.attributes.top || 0.75), bottom: parseFloat(o.attributes.bottom || 0.75), header: parseFloat(o.attributes.header || 0.3), footer: parseFloat(o.attributes.footer || 0.3) }, !0;
5384
- default:
5385
- return !1;
5386
- }
5107
+ return o.name === this.tag ? (this.model = { left: parseFloat(o.attributes.left || 0.7), right: parseFloat(o.attributes.right || 0.7), top: parseFloat(o.attributes.top || 0.75), bottom: parseFloat(o.attributes.bottom || 0.75), header: parseFloat(o.attributes.header || 0.3), footer: parseFloat(o.attributes.footer || 0.3) }, !0) : !1;
5387
5108
  }
5388
5109
  parseText() {
5389
5110
  }
@@ -5415,12 +5136,8 @@ function Xe() {
5415
5136
  return l ? "1" : void 0;
5416
5137
  }
5417
5138
  function r(l) {
5418
- switch (l) {
5419
- case "overThenDown":
5420
- return l;
5421
- default:
5422
- return;
5423
- }
5139
+ if (l === "overThenDown")
5140
+ return l;
5424
5141
  }
5425
5142
  function t(l) {
5426
5143
  switch (l) {
@@ -5452,12 +5169,9 @@ function Xe() {
5452
5169
  }
5453
5170
  }
5454
5171
  parseOpen(l) {
5455
- switch (l.name) {
5456
- case this.tag:
5457
- return this.model = { paperSize: (n = l.attributes.paperSize, n !== void 0 ? parseInt(n, 10) : void 0), orientation: l.attributes.orientation || "portrait", horizontalDpi: parseInt(l.attributes.horizontalDpi || "4294967295", 10), verticalDpi: parseInt(l.attributes.verticalDpi || "4294967295", 10), pageOrder: l.attributes.pageOrder || "downThenOver", blackAndWhite: l.attributes.blackAndWhite === "1", draft: l.attributes.draft === "1", cellComments: l.attributes.cellComments || "None", errors: l.attributes.errors || "displayed", scale: parseInt(l.attributes.scale || "100", 10), fitToWidth: parseInt(l.attributes.fitToWidth || "1", 10), fitToHeight: parseInt(l.attributes.fitToHeight || "1", 10), firstPageNumber: parseInt(l.attributes.firstPageNumber || "1", 10), useFirstPageNumber: l.attributes.useFirstPageNumber === "1", usePrinterDefaults: l.attributes.usePrinterDefaults === "1", copies: parseInt(l.attributes.copies || "1", 10) }, !0;
5458
- default:
5459
- return !1;
5460
- }
5172
+ if (l.name === this.tag)
5173
+ return this.model = { paperSize: (n = l.attributes.paperSize, n !== void 0 ? parseInt(n, 10) : void 0), orientation: l.attributes.orientation || "portrait", horizontalDpi: parseInt(l.attributes.horizontalDpi || "4294967295", 10), verticalDpi: parseInt(l.attributes.verticalDpi || "4294967295", 10), pageOrder: l.attributes.pageOrder || "downThenOver", blackAndWhite: l.attributes.blackAndWhite === "1", draft: l.attributes.draft === "1", cellComments: l.attributes.cellComments || "None", errors: l.attributes.errors || "displayed", scale: parseInt(l.attributes.scale || "100", 10), fitToWidth: parseInt(l.attributes.fitToWidth || "1", 10), fitToHeight: parseInt(l.attributes.fitToHeight || "1", 10), firstPageNumber: parseInt(l.attributes.firstPageNumber || "1", 10), useFirstPageNumber: l.attributes.useFirstPageNumber === "1", usePrinterDefaults: l.attributes.usePrinterDefaults === "1", copies: parseInt(l.attributes.copies || "1", 10) }, !0;
5174
+ return !1;
5461
5175
  var n;
5462
5176
  }
5463
5177
  parseText() {
@@ -5476,12 +5190,7 @@ function Xe() {
5476
5190
  o && a.leafNode(this.tag, { "r:id": o.rId });
5477
5191
  }
5478
5192
  parseOpen(a) {
5479
- switch (a.name) {
5480
- case this.tag:
5481
- return this.model = { rId: a.attributes["r:id"] }, !0;
5482
- default:
5483
- return !1;
5484
- }
5193
+ return a.name === this.tag ? (this.model = { rId: a.attributes["r:id"] }, !0) : !1;
5485
5194
  }
5486
5195
  parseText() {
5487
5196
  }
@@ -5505,12 +5214,7 @@ function Xe() {
5505
5214
  }
5506
5215
  }
5507
5216
  parseOpen(r) {
5508
- switch (r.name) {
5509
- case this.tag:
5510
- return this.model = { showRowColHeaders: r.attributes.headings === "1", showGridLines: r.attributes.gridLines === "1", horizontalCentered: r.attributes.horizontalCentered === "1", verticalCentered: r.attributes.verticalCentered === "1" }, !0;
5511
- default:
5512
- return !1;
5513
- }
5217
+ return r.name === this.tag ? (this.model = { showRowColHeaders: r.attributes.headings === "1", showGridLines: r.attributes.gridLines === "1", horizontalCentered: r.attributes.horizontalCentered === "1", verticalCentered: r.attributes.verticalCentered === "1" }, !0) : !1;
5514
5218
  }
5515
5219
  parseText() {
5516
5220
  }
@@ -5654,12 +5358,7 @@ function Xe() {
5654
5358
  }
5655
5359
  }
5656
5360
  parseOpen(t) {
5657
- switch (t.name) {
5658
- case this.tag:
5659
- return this.model = { sheet: r(t.attributes.sheet, "1"), objects: t.attributes.objects !== "1" && void 0, scenarios: t.attributes.scenarios !== "1" && void 0, selectLockedCells: t.attributes.selectLockedCells !== "1" && void 0, selectUnlockedCells: t.attributes.selectUnlockedCells !== "1" && void 0, formatCells: r(t.attributes.formatCells, "0"), formatColumns: r(t.attributes.formatColumns, "0"), formatRows: r(t.attributes.formatRows, "0"), insertColumns: r(t.attributes.insertColumns, "0"), insertRows: r(t.attributes.insertRows, "0"), insertHyperlinks: r(t.attributes.insertHyperlinks, "0"), deleteColumns: r(t.attributes.deleteColumns, "0"), deleteRows: r(t.attributes.deleteRows, "0"), sort: r(t.attributes.sort, "0"), autoFilter: r(t.attributes.autoFilter, "0"), pivotTables: r(t.attributes.pivotTables, "0") }, t.attributes.algorithmName && (this.model.algorithmName = t.attributes.algorithmName, this.model.hashValue = t.attributes.hashValue, this.model.saltValue = t.attributes.saltValue, this.model.spinCount = parseInt(t.attributes.spinCount, 10)), !0;
5660
- default:
5661
- return !1;
5662
- }
5361
+ return t.name === this.tag ? (this.model = { sheet: r(t.attributes.sheet, "1"), objects: t.attributes.objects !== "1" && void 0, scenarios: t.attributes.scenarios !== "1" && void 0, selectLockedCells: t.attributes.selectLockedCells !== "1" && void 0, selectUnlockedCells: t.attributes.selectUnlockedCells !== "1" && void 0, formatCells: r(t.attributes.formatCells, "0"), formatColumns: r(t.attributes.formatColumns, "0"), formatRows: r(t.attributes.formatRows, "0"), insertColumns: r(t.attributes.insertColumns, "0"), insertRows: r(t.attributes.insertRows, "0"), insertHyperlinks: r(t.attributes.insertHyperlinks, "0"), deleteColumns: r(t.attributes.deleteColumns, "0"), deleteRows: r(t.attributes.deleteRows, "0"), sort: r(t.attributes.sort, "0"), autoFilter: r(t.attributes.autoFilter, "0"), pivotTables: r(t.attributes.pivotTables, "0") }, t.attributes.algorithmName && (this.model.algorithmName = t.attributes.algorithmName, this.model.hashValue = t.attributes.hashValue, this.model.saltValue = t.attributes.saltValue, this.model.spinCount = parseInt(t.attributes.spinCount, 10)), !0) : !1;
5663
5362
  }
5664
5363
  parseText() {
5665
5364
  }
@@ -5718,12 +5417,7 @@ function Xe() {
5718
5417
  }
5719
5418
  parseClose(r) {
5720
5419
  let t, e;
5721
- switch (r) {
5722
- case "sheetView":
5723
- return this.sheetView && this.pane ? (t = this.model = { workbookViewId: this.sheetView.workbookViewId, rightToLeft: this.sheetView.rightToLeft, state: o[this.pane.state] || "split", xSplit: this.pane.xSplit, ySplit: this.pane.ySplit, topLeftCell: this.pane.topLeftCell, showRuler: this.sheetView.showRuler, showRowColHeaders: this.sheetView.showRowColHeaders, showGridLines: this.sheetView.showGridLines, zoomScale: this.sheetView.zoomScale, zoomScaleNormal: this.sheetView.zoomScaleNormal }, this.model.state === "split" && (t.activePane = this.pane.activePane), e = this.selections[this.pane.activePane], e && e.activeCell && (t.activeCell = e.activeCell), this.sheetView.style && (t.style = this.sheetView.style)) : (t = this.model = { workbookViewId: this.sheetView.workbookViewId, rightToLeft: this.sheetView.rightToLeft, state: "normal", showRuler: this.sheetView.showRuler, showRowColHeaders: this.sheetView.showRowColHeaders, showGridLines: this.sheetView.showGridLines, zoomScale: this.sheetView.zoomScale, zoomScaleNormal: this.sheetView.zoomScaleNormal }, e = this.selections.topLeft, e && e.activeCell && (t.activeCell = e.activeCell), this.sheetView.style && (t.style = this.sheetView.style)), !1;
5724
- default:
5725
- return !0;
5726
- }
5420
+ return r === "sheetView" ? (this.sheetView && this.pane ? (t = this.model = { workbookViewId: this.sheetView.workbookViewId, rightToLeft: this.sheetView.rightToLeft, state: o[this.pane.state] || "split", xSplit: this.pane.xSplit, ySplit: this.pane.ySplit, topLeftCell: this.pane.topLeftCell, showRuler: this.sheetView.showRuler, showRowColHeaders: this.sheetView.showRowColHeaders, showGridLines: this.sheetView.showGridLines, zoomScale: this.sheetView.zoomScale, zoomScaleNormal: this.sheetView.zoomScaleNormal }, this.model.state === "split" && (t.activePane = this.pane.activePane), e = this.selections[this.pane.activePane], e && e.activeCell && (t.activeCell = e.activeCell), this.sheetView.style && (t.style = this.sheetView.style)) : (t = this.model = { workbookViewId: this.sheetView.workbookViewId, rightToLeft: this.sheetView.rightToLeft, state: "normal", showRuler: this.sheetView.showRuler, showRowColHeaders: this.sheetView.showRowColHeaders, showGridLines: this.sheetView.showGridLines, zoomScale: this.sheetView.zoomScale, zoomScaleNormal: this.sheetView.zoomScaleNormal }, e = this.selections.topLeft, e && e.activeCell && (t.activeCell = e.activeCell), this.sheetView.style && (t.style = this.sheetView.style)), !1) : !0;
5727
5421
  }
5728
5422
  reconcile() {
5729
5423
  }
@@ -5738,12 +5432,7 @@ function Xe() {
5738
5432
  o && a.leafNode(this.tag, { "r:id": o.rId });
5739
5433
  }
5740
5434
  parseOpen(a) {
5741
- switch (a.name) {
5742
- case this.tag:
5743
- return this.model = { rId: a.attributes["r:id"] }, !0;
5744
- default:
5745
- return !1;
5746
- }
5435
+ return a.name === this.tag ? (this.model = { rId: a.attributes["r:id"] }, !0) : !1;
5747
5436
  }
5748
5437
  parseText() {
5749
5438
  }
@@ -5841,16 +5530,13 @@ function Xe() {
5841
5530
  }
5842
5531
  parseClose(k) {
5843
5532
  if (this.parser) return this.parser.parseClose(k) || (this.parser = void 0), !0;
5844
- switch (k) {
5845
- case "worksheet": {
5846
- const R = this.map.sheetFormatPr.model || {};
5847
- this.map.sheetPr.model && this.map.sheetPr.model.tabColor && (R.tabColor = this.map.sheetPr.model.tabColor), this.map.sheetPr.model && this.map.sheetPr.model.outlineProperties && (R.outlineProperties = this.map.sheetPr.model.outlineProperties);
5848
- const O = { fitToPage: this.map.sheetPr.model && this.map.sheetPr.model.pageSetup && this.map.sheetPr.model.pageSetup.fitToPage || !1, margins: this.map.pageMargins.model }, z = Object.assign(O, this.map.pageSetup.model, this.map.printOptions.model), $ = b(this.map.conditionalFormatting.model, this.map.extLst.model && this.map.extLst.model["x14:conditionalFormattings"]);
5849
- return this.model = { dimensions: this.map.dimension.model, cols: this.map.cols.model, rows: this.map.sheetData.model, mergeCells: this.map.mergeCells.model, hyperlinks: this.map.hyperlinks.model, dataValidations: this.map.dataValidations.model, properties: R, views: this.map.sheetViews.model, pageSetup: z, headerFooter: this.map.headerFooter.model, background: this.map.picture.model, drawing: this.map.drawing.model, tables: this.map.tableParts.model, conditionalFormattings: $ }, this.map.autoFilter.model && (this.model.autoFilter = this.map.autoFilter.model), this.map.sheetProtection.model && (this.model.sheetProtection = this.map.sheetProtection.model), !1;
5850
- }
5851
- default:
5852
- return !0;
5853
- }
5533
+ if (k === "worksheet") {
5534
+ const R = this.map.sheetFormatPr.model || {};
5535
+ this.map.sheetPr.model && this.map.sheetPr.model.tabColor && (R.tabColor = this.map.sheetPr.model.tabColor), this.map.sheetPr.model && this.map.sheetPr.model.outlineProperties && (R.outlineProperties = this.map.sheetPr.model.outlineProperties);
5536
+ const O = { fitToPage: this.map.sheetPr.model && this.map.sheetPr.model.pageSetup && this.map.sheetPr.model.pageSetup.fitToPage || !1, margins: this.map.pageMargins.model }, z = Object.assign(O, this.map.pageSetup.model, this.map.printOptions.model), $ = b(this.map.conditionalFormatting.model, this.map.extLst.model && this.map.extLst.model["x14:conditionalFormattings"]);
5537
+ return this.model = { dimensions: this.map.dimension.model, cols: this.map.cols.model, rows: this.map.sheetData.model, mergeCells: this.map.mergeCells.model, hyperlinks: this.map.hyperlinks.model, dataValidations: this.map.dataValidations.model, properties: R, views: this.map.sheetViews.model, pageSetup: z, headerFooter: this.map.headerFooter.model, background: this.map.picture.model, drawing: this.map.drawing.model, tables: this.map.tableParts.model, conditionalFormattings: $ }, this.map.autoFilter.model && (this.model.autoFilter = this.map.autoFilter.model), this.map.sheetProtection.model && (this.model.sheetProtection = this.map.sheetProtection.model), !1;
5538
+ } else
5539
+ return !0;
5854
5540
  }
5855
5541
  reconcile(k, R) {
5856
5542
  const O = (k.relationships || []).reduce(($, W) => {
@@ -5994,12 +5680,7 @@ function Xe() {
5994
5680
  parseText() {
5995
5681
  }
5996
5682
  parseClose(o) {
5997
- switch (o) {
5998
- case this._model.tag:
5999
- return !1;
6000
- default:
6001
- return !0;
6002
- }
5683
+ return o !== this._model.tag;
6003
5684
  }
6004
5685
  };
6005
5686
  }, { "../../utils/xml-stream": 28, "./base-xform": 32 }], 121: [function(s, T, S) {
@@ -6043,12 +5724,7 @@ function Xe() {
6043
5724
  }
6044
5725
  return !0;
6045
5726
  }
6046
- switch (r) {
6047
- case this.tag:
6048
- return !1;
6049
- default:
6050
- return !0;
6051
- }
5727
+ return r !== this.tag;
6052
5728
  }
6053
5729
  };
6054
5730
  }, { "../base-xform": 32, "./rich-text-xform": 122, "./text-xform": 125 }], 122: [function(s, T, S) {
@@ -6136,12 +5812,7 @@ function Xe() {
6136
5812
  }
6137
5813
  return !0;
6138
5814
  }
6139
- switch (t) {
6140
- case this.tag:
6141
- return !1;
6142
- default:
6143
- return !0;
6144
- }
5815
+ return t !== this.tag;
6145
5816
  }
6146
5817
  };
6147
5818
  }, { "../base-xform": 32, "./phonetic-text-xform": 121, "./rich-text-xform": 122, "./text-xform": 125 }], 124: [function(s, T, S) {
@@ -6200,12 +5871,9 @@ function Xe() {
6200
5871
  }
6201
5872
  parseClose(r) {
6202
5873
  if (this.parser) return this.parser.parseClose(r) || (this.model.values.push(this.parser.model), this.model.count++, this.parser = void 0), !0;
6203
- switch (r) {
6204
- case "sst":
6205
- return !1;
6206
- default:
6207
- throw new Error("Unexpected xml node in parseClose: " + r);
6208
- }
5874
+ if (r === "sst")
5875
+ return !1;
5876
+ throw new Error("Unexpected xml node in parseClose: " + r);
6209
5877
  }
6210
5878
  };
6211
5879
  }, { "../../../utils/xml-stream": 28, "../base-xform": 32, "./shared-string-xform": 123 }], 125: [function(s, T, S) {
@@ -6221,12 +5889,7 @@ function Xe() {
6221
5889
  return this._text.join("").replace(/_x([0-9A-F]{4})_/g, (a, o) => String.fromCharCode(parseInt(o, 16)));
6222
5890
  }
6223
5891
  parseOpen(a) {
6224
- switch (a.name) {
6225
- case "t":
6226
- return this._text = [], !0;
6227
- default:
6228
- return !1;
6229
- }
5892
+ return a.name === "t" ? (this._text = [], !0) : !1;
6230
5893
  }
6231
5894
  parseText(a) {
6232
5895
  this._text.push(a);
@@ -6241,12 +5904,7 @@ function Xe() {
6241
5904
  }, verticalValues: ["top", "middle", "bottom", "distributed", "justify"].reduce((e, l) => (e[l] = !0, e), {}), vertical(e) {
6242
5905
  return e === "middle" ? "center" : this.verticalValues[e] ? e : void 0;
6243
5906
  }, wrapText: (e) => !!e || void 0, shrinkToFit: (e) => !!e || void 0, textRotation(e) {
6244
- switch (e) {
6245
- case "vertical":
6246
- return e;
6247
- default:
6248
- return (e = a.validInt(e)) >= -90 && e <= 90 ? e : void 0;
6249
- }
5907
+ return e === "vertical" || (e = a.validInt(e)) >= -90 && e <= 90 ? e : void 0;
6250
5908
  }, indent: (e) => (e = a.validInt(e), Math.max(0, e)), readingOrder(e) {
6251
5909
  switch (e) {
6252
5910
  case "ltr":
@@ -6345,13 +6003,7 @@ function Xe() {
6345
6003
  t.openNode("border"), e.diagonal && e.diagonal.style && (e.diagonal.up && t.addAttribute("diagonalUp", "1"), e.diagonal.down && t.addAttribute("diagonalDown", "1")), n(e.left, this.map.left), n(e.right, this.map.right), n(e.top, this.map.top), n(e.bottom, this.map.bottom), n(e.diagonal, this.map.diagonal), t.closeNode();
6346
6004
  }
6347
6005
  parseOpen(t) {
6348
- if (this.parser) return this.parser.parseOpen(t), !0;
6349
- switch (t.name) {
6350
- case "border":
6351
- return this.reset(), this.diagonalUp = a.parseBoolean(t.attributes.diagonalUp), this.diagonalDown = a.parseBoolean(t.attributes.diagonalDown), !0;
6352
- default:
6353
- return this.parser = this.map[t.name], !!this.parser && (this.parser.parseOpen(t), !0);
6354
- }
6006
+ return this.parser ? (this.parser.parseOpen(t), !0) : t.name === "border" ? (this.reset(), this.diagonalUp = a.parseBoolean(t.attributes.diagonalUp), this.diagonalDown = a.parseBoolean(t.attributes.diagonalDown), !0) : (this.parser = this.map[t.name], !!this.parser && (this.parser.parseOpen(t), !0));
6355
6007
  }
6356
6008
  parseText(t) {
6357
6009
  this.parser && this.parser.parseText(t);
@@ -6405,13 +6057,7 @@ function Xe() {
6405
6057
  i.fill && this.map.fill.render(n, i.fill), i.alignment && this.map.alignment.render(n, i.alignment), i.border && this.map.border.render(n, i.border), i.protection && this.map.protection.render(n, i.protection), n.closeNode();
6406
6058
  }
6407
6059
  parseOpen(n) {
6408
- if (this.parser) return this.parser.parseOpen(n), !0;
6409
- switch (n.name) {
6410
- case this.tag:
6411
- return this.reset(), !0;
6412
- default:
6413
- return this.parser = this.map[n.name], this.parser && this.parser.parseOpen(n), !0;
6414
- }
6060
+ return this.parser ? (this.parser.parseOpen(n), !0) : n.name === this.tag ? (this.reset(), !0) : (this.parser = this.map[n.name], this.parser && this.parser.parseOpen(n), !0);
6415
6061
  }
6416
6062
  parseText(n) {
6417
6063
  this.parser && this.parser.parseText(n);
@@ -6463,13 +6109,7 @@ function Xe() {
6463
6109
  n.openNode("patternFill"), n.addAttribute("patternType", i.pattern), i.fgColor && this.map.fgColor.render(n, i.fgColor), i.bgColor && this.map.bgColor.render(n, i.bgColor), n.closeNode();
6464
6110
  }
6465
6111
  parseOpen(n) {
6466
- if (this.parser) return this.parser.parseOpen(n), !0;
6467
- switch (n.name) {
6468
- case "patternFill":
6469
- return this.model = { type: "pattern", pattern: n.attributes.patternType }, !0;
6470
- default:
6471
- return this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0);
6472
- }
6112
+ return this.parser ? (this.parser.parseOpen(n), !0) : n.name === "patternFill" ? (this.model = { type: "pattern", pattern: n.attributes.patternType }, !0) : (this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0));
6473
6113
  }
6474
6114
  parseText(n) {
6475
6115
  this.parser && this.parser.parseText(n);
@@ -6542,13 +6182,7 @@ function Xe() {
6542
6182
  n.closeNode(), n.commit();
6543
6183
  }
6544
6184
  parseOpen(n) {
6545
- if (this.parser) return this.parser.parseOpen(n), !0;
6546
- switch (n.name) {
6547
- case "fill":
6548
- return this.model = {}, !0;
6549
- default:
6550
- return this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0);
6551
- }
6185
+ return this.parser ? (this.parser.parseOpen(n), !0) : n.name === "fill" ? (this.model = {}, !0) : (this.parser = this.map[n.name], !!this.parser && (this.parser.parseOpen(n), !0));
6552
6186
  }
6553
6187
  parseText(n) {
6554
6188
  this.parser && this.parser.parseText(n);
@@ -6577,14 +6211,7 @@ function Xe() {
6577
6211
  }), f.closeNode();
6578
6212
  }
6579
6213
  parseOpen(f) {
6580
- if (this.parser) return this.parser.parseOpen(f), !0;
6581
- if (this.map[f.name]) return this.parser = this.map[f.name].xform, this.parser.parseOpen(f);
6582
- switch (f.name) {
6583
- case this.options.tagName:
6584
- return this.model = {}, !0;
6585
- default:
6586
- return !1;
6587
- }
6214
+ return this.parser ? (this.parser.parseOpen(f), !0) : this.map[f.name] ? (this.parser = this.map[f.name].xform, this.parser.parseOpen(f)) : f.name === this.options.tagName ? (this.model = {}, !0) : !1;
6588
6215
  }
6589
6216
  parseText(f) {
6590
6217
  this.parser && this.parser.parseText(f);
@@ -6594,12 +6221,7 @@ function Xe() {
6594
6221
  const c = this.map[f];
6595
6222
  return this.parser.model && (this.model[c.prop] = this.parser.model), this.parser = void 0, !0;
6596
6223
  }
6597
- switch (f) {
6598
- case this.options.tagName:
6599
- return !1;
6600
- default:
6601
- return !0;
6602
- }
6224
+ return f !== this.options.tagName;
6603
6225
  }
6604
6226
  }
6605
6227
  n.OPTIONS = { tagName: "font", fontNameTag: "name" }, T.exports = n;
@@ -6621,12 +6243,7 @@ function Xe() {
6621
6243
  l.leafNode("numFmt", { numFmtId: n.id, formatCode: n.formatCode });
6622
6244
  }
6623
6245
  parseOpen(l) {
6624
- switch (l.name) {
6625
- case "numFmt":
6626
- return this.model = { id: parseInt(l.attributes.numFmtId, 10), formatCode: l.attributes.formatCode.replace(/[\\](.)/g, "$1") }, !0;
6627
- default:
6628
- return !1;
6629
- }
6246
+ return l.name === "numFmt" ? (this.model = { id: parseInt(l.attributes.numFmtId, 10), formatCode: l.attributes.formatCode.replace(/[\\](.)/g, "$1") }, !0) : !1;
6630
6247
  }
6631
6248
  parseText() {
6632
6249
  }
@@ -6721,13 +6338,7 @@ function Xe() {
6721
6338
  }), h.closeNode()) : (this.map.numFmts.render(h, w.numFmts), this.map.fonts.render(h, w.fonts), this.map.fills.render(h, w.fills), this.map.borders.render(h, w.borders), this.map.cellStyleXfs.render(h, [{ numFmtId: 0, fontId: 0, fillId: 0, borderId: 0, xfId: 0 }]), this.map.cellXfs.render(h, w.styles)), u.STATIC_XFORMS.cellStyles.render(h), this.map.dxfs.render(h, w.dxfs), u.STATIC_XFORMS.tableStyles.render(h), u.STATIC_XFORMS.extLst.render(h), h.closeNode();
6722
6339
  }
6723
6340
  parseOpen(h) {
6724
- if (this.parser) return this.parser.parseOpen(h), !0;
6725
- switch (h.name) {
6726
- case "styleSheet":
6727
- return this.initIndex(), !0;
6728
- default:
6729
- return this.parser = this.map[h.name], this.parser && this.parser.parseOpen(h), !0;
6730
- }
6341
+ return this.parser ? (this.parser.parseOpen(h), !0) : h.name === "styleSheet" ? (this.initIndex(), !0) : (this.parser = this.map[h.name], this.parser && this.parser.parseOpen(h), !0);
6731
6342
  }
6732
6343
  parseText(h) {
6733
6344
  this.parser && this.parser.parseText(h);
@@ -6827,12 +6438,7 @@ function Xe() {
6827
6438
  return d.autodrain(), Promise.resolve();
6828
6439
  }
6829
6440
  addStyleModel(d, h) {
6830
- switch (h) {
6831
- case m.ValueType.Date:
6832
- return this.dateStyleId;
6833
- default:
6834
- return 0;
6835
- }
6441
+ return h === m.ValueType.Date ? this.dateStyleId : 0;
6836
6442
  }
6837
6443
  get dateStyleId() {
6838
6444
  if (!this._dateStyleId) {
@@ -6905,12 +6511,9 @@ function Xe() {
6905
6511
  }
6906
6512
  parseClose(o) {
6907
6513
  if (this.parser) return this.parser.parseClose(o) || (this.model.columns.push(this.parser.model), this.parser = void 0), !0;
6908
- switch (o) {
6909
- case this.tag:
6910
- return !1;
6911
- default:
6912
- throw new Error("Unexpected xml node in parseClose: " + o);
6913
- }
6514
+ if (o === this.tag)
6515
+ return !1;
6516
+ throw new Error("Unexpected xml node in parseClose: " + o);
6914
6517
  }
6915
6518
  };
6916
6519
  }, { "../base-xform": 32, "./filter-column-xform": 139 }], 138: [function(s, T, S) {
@@ -6960,13 +6563,7 @@ function Xe() {
6960
6563
  parseText() {
6961
6564
  }
6962
6565
  parseClose(t) {
6963
- if (this.parser) return this.parser.parseClose(t) || (this.parser = void 0), !0;
6964
- switch (t) {
6965
- case this.tag:
6966
- return this.model.customFilters = this.map.customFilters.model, !1;
6967
- default:
6968
- return !0;
6969
- }
6566
+ return this.parser ? (this.parser.parseClose(t) || (this.parser = void 0), !0) : t === this.tag ? (this.model.customFilters = this.map.customFilters.model, !1) : !0;
6970
6567
  }
6971
6568
  };
6972
6569
  }, { "../base-xform": 32, "../list-xform": 71, "./custom-filter-xform": 138, "./filter-xform": 140 }], 140: [function(s, T, S) {
@@ -7052,28 +6649,15 @@ function Xe() {
7052
6649
  parseOpen(i) {
7053
6650
  if (this.parser) return this.parser.parseOpen(i), !0;
7054
6651
  const { name: f, attributes: c } = i;
7055
- switch (f) {
7056
- case this.tag:
7057
- this.reset(), this.model = { name: c.name, displayName: c.displayName || c.name, tableRef: c.ref, totalsRow: c.totalsRowCount === "1", headerRow: c.headerRowCount === "1" };
7058
- break;
7059
- default:
7060
- this.parser = this.map[i.name], this.parser && this.parser.parseOpen(i);
7061
- }
7062
- return !0;
6652
+ return f === this.tag ? (this.reset(), this.model = { name: c.name, displayName: c.displayName || c.name, tableRef: c.ref, totalsRow: c.totalsRowCount === "1", headerRow: c.headerRowCount === "1" }) : (this.parser = this.map[i.name], this.parser && this.parser.parseOpen(i)), !0;
7063
6653
  }
7064
6654
  parseText(i) {
7065
6655
  this.parser && this.parser.parseText(i);
7066
6656
  }
7067
6657
  parseClose(i) {
7068
- if (this.parser) return this.parser.parseClose(i) || (this.parser = void 0), !0;
7069
- switch (i) {
7070
- case this.tag:
7071
- return this.model.columns = this.map.tableColumns.model, this.map.autoFilter.model && (this.model.autoFilterRef = this.map.autoFilter.model.autoFilterRef, this.map.autoFilter.model.columns.forEach((f, c) => {
7072
- this.model.columns[c].filterButton = f.filterButton;
7073
- })), this.model.style = this.map.tableStyleInfo.model, !1;
7074
- default:
7075
- return !0;
7076
- }
6658
+ return this.parser ? (this.parser.parseClose(i) || (this.parser = void 0), !0) : i === this.tag ? (this.model.columns = this.map.tableColumns.model, this.map.autoFilter.model && (this.model.autoFilterRef = this.map.autoFilter.model.autoFilterRef, this.map.autoFilter.model.columns.forEach((f, c) => {
6659
+ this.model.columns[c].filterButton = f.filterButton;
6660
+ })), this.model.style = this.map.tableStyleInfo.model, !1) : !0;
7077
6661
  }
7078
6662
  reconcile(i, f) {
7079
6663
  i.columns.forEach((c) => {
@@ -17733,7 +17317,6 @@ function Xe() {
17733
17317
  break t;
17734
17318
  case 31:
17735
17319
  return -4;
17736
- case 32:
17737
17320
  default:
17738
17321
  return A;
17739
17322
  }