ods-component-lib 1.22.1 → 1.22.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.
- package/README.md +54 -41
- package/dist/_virtual/es.array.index-of.js +3 -0
- package/dist/_virtual/es.array.index-of.js.map +1 -0
- package/dist/_virtual/es.array.index-of2.js +5 -0
- package/dist/_virtual/es.array.index-of2.js.map +1 -0
- package/dist/_virtual/es.array.iterator.js +3 -0
- package/dist/_virtual/es.array.iterator.js.map +1 -0
- package/dist/_virtual/es.array.reduce.js +3 -0
- package/dist/_virtual/es.array.reduce.js.map +1 -0
- package/dist/_virtual/es.array.reduce2.js +5 -0
- package/dist/_virtual/es.array.reduce2.js.map +1 -0
- package/dist/_virtual/es.array.reverse.js +3 -0
- package/dist/_virtual/es.array.reverse.js.map +1 -0
- package/dist/_virtual/es.array.reverse2.js +5 -0
- package/dist/_virtual/es.array.reverse2.js.map +1 -0
- package/dist/_virtual/es.promise.all.js +5 -0
- package/dist/_virtual/es.promise.all.js.map +1 -0
- package/dist/_virtual/es.promise.catch.js +5 -0
- package/dist/_virtual/es.promise.catch.js.map +1 -0
- package/dist/_virtual/es.promise.constructor.js +5 -0
- package/dist/_virtual/es.promise.constructor.js.map +1 -0
- package/dist/_virtual/es.promise.js +3 -0
- package/dist/_virtual/es.promise.js.map +1 -0
- package/dist/_virtual/es.promise.race.js +5 -0
- package/dist/_virtual/es.promise.race.js.map +1 -0
- package/dist/_virtual/es.promise.reject.js +5 -0
- package/dist/_virtual/es.promise.reject.js.map +1 -0
- package/dist/_virtual/es.promise.resolve.js +5 -0
- package/dist/_virtual/es.promise.resolve.js.map +1 -0
- package/dist/_virtual/es.promise2.js +5 -0
- package/dist/_virtual/es.promise2.js.map +1 -0
- package/dist/_virtual/es.regexp.exec.js +5 -0
- package/dist/_virtual/es.regexp.exec.js.map +1 -0
- package/dist/_virtual/es.regexp.to-string.js +3 -0
- package/dist/_virtual/es.regexp.to-string.js.map +1 -0
- package/dist/_virtual/es.regexp.to-string2.js +5 -0
- package/dist/_virtual/es.regexp.to-string2.js.map +1 -0
- package/dist/_virtual/es.string.ends-with.js +3 -0
- package/dist/_virtual/es.string.ends-with.js.map +1 -0
- package/dist/_virtual/es.string.ends-with2.js +5 -0
- package/dist/_virtual/es.string.ends-with2.js.map +1 -0
- package/dist/_virtual/es.string.includes.js +3 -0
- package/dist/_virtual/es.string.includes.js.map +1 -0
- package/dist/_virtual/es.string.includes2.js +5 -0
- package/dist/_virtual/es.string.includes2.js.map +1 -0
- package/dist/_virtual/es.string.match.js +3 -0
- package/dist/_virtual/es.string.match.js.map +1 -0
- package/dist/_virtual/es.string.match2.js +5 -0
- package/dist/_virtual/es.string.match2.js.map +1 -0
- package/dist/_virtual/es.string.replace.js +3 -0
- package/dist/_virtual/es.string.replace.js.map +1 -0
- package/dist/_virtual/es.string.replace2.js +5 -0
- package/dist/_virtual/es.string.replace2.js.map +1 -0
- package/dist/_virtual/es.string.split.js +3 -0
- package/dist/_virtual/es.string.split.js.map +1 -0
- package/dist/_virtual/es.string.split2.js +5 -0
- package/dist/_virtual/es.string.split2.js.map +1 -0
- package/dist/_virtual/es.string.starts-with.js +3 -0
- package/dist/_virtual/es.string.starts-with.js.map +1 -0
- package/dist/_virtual/es.string.starts-with2.js +5 -0
- package/dist/_virtual/es.string.starts-with2.js.map +1 -0
- package/dist/_virtual/es.string.trim.js +3 -0
- package/dist/_virtual/es.string.trim.js.map +1 -0
- package/dist/_virtual/es.string.trim2.js +5 -0
- package/dist/_virtual/es.string.trim2.js.map +1 -0
- package/dist/_virtual/index5.js +2 -3
- package/dist/_virtual/index5.js.map +1 -1
- package/dist/_virtual/index6.js +3 -2
- package/dist/_virtual/index6.js.map +1 -1
- package/dist/_virtual/make-built-in.js +5 -0
- package/dist/_virtual/make-built-in.js.map +1 -0
- package/dist/_virtual/new-promise-capability.js +5 -0
- package/dist/_virtual/new-promise-capability.js.map +1 -0
- package/dist/_virtual/object-define-properties.js +5 -0
- package/dist/_virtual/object-define-properties.js.map +1 -0
- package/dist/_virtual/object-define-property.js +5 -0
- package/dist/_virtual/object-define-property.js.map +1 -0
- package/dist/_virtual/object-get-own-property-descriptor.js +5 -0
- package/dist/_virtual/object-get-own-property-descriptor.js.map +1 -0
- package/dist/_virtual/object-get-own-property-names.js +5 -0
- package/dist/_virtual/object-get-own-property-names.js.map +1 -0
- package/dist/_virtual/object-get-own-property-symbols.js +5 -0
- package/dist/_virtual/object-get-own-property-symbols.js.map +1 -0
- package/dist/_virtual/object-property-is-enumerable.js +5 -0
- package/dist/_virtual/object-property-is-enumerable.js.map +1 -0
- package/dist/_virtual/shared-store.js +5 -0
- package/dist/_virtual/shared-store.js.map +1 -0
- package/dist/_virtual/web.dom-collections.iterator.js +3 -0
- package/dist/_virtual/web.dom-collections.iterator.js.map +1 -0
- package/dist/_virtual/web.dom-collections.iterator2.js +5 -0
- package/dist/_virtual/web.dom-collections.iterator2.js.map +1 -0
- package/dist/components/antd/currencyInput/CurrencySelect.js +15 -14
- package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
- package/dist/components/devextreme/DataGrid/OdsDataGrid/index.js +8 -9
- package/dist/components/devextreme/DataGrid/OdsDataGrid/index.js.map +1 -1
- package/dist/components/devextreme/DataGrid/OdsDataGridV2/index.js +21 -0
- package/dist/components/devextreme/DataGrid/OdsDataGridV2/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +46 -44
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
- package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
- package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
- package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
- package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
- package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
- package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/hooks/useForm.js +115 -100
- package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
- package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
- package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
- package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
- package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +42 -22
- package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
- package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
- package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
- package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
- package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
- package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
- package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
- package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
- package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
- package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +27 -27
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
- package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
- package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
- package/dist/node_modules/@rc-component/util/es/ref.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
- package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
- package/dist/node_modules/antd/es/alert/Alert.js +133 -128
- package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
- package/dist/node_modules/antd/es/badge/Badge.js +29 -28
- package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
- package/dist/node_modules/antd/es/badge/style/index.js +1 -1
- package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
- package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
- package/dist/node_modules/antd/es/button/style/variant.js +132 -132
- package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
- package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
- package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
- package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
- package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
- package/dist/node_modules/antd/es/card/style/index.js +15 -7
- package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
- package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
- package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
- package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/index.js +76 -71
- package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
- package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
- package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
- package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
- package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
- package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
- package/dist/node_modules/antd/es/form/style/index.js +24 -24
- package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/grid/col.js +56 -54
- package/dist/node_modules/antd/es/grid/col.js.map +1 -1
- package/dist/node_modules/antd/es/grid/style/index.js +50 -50
- package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/input/style/index.js +1 -0
- package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/input-number/index.js +91 -91
- package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
- package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
- package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
- package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
- package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
- package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
- package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/index.js +58 -58
- package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
- package/dist/node_modules/antd/es/modal/Modal.js +115 -109
- package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
- package/dist/node_modules/antd/es/modal/style/index.js +83 -80
- package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
- package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
- package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/style/index.js +98 -132
- package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/popover/index.js +77 -82
- package/dist/node_modules/antd/es/popover/index.js.map +1 -1
- package/dist/node_modules/antd/es/popover/style/index.js +65 -63
- package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/radio/context.js +3 -3
- package/dist/node_modules/antd/es/radio/context.js.map +1 -1
- package/dist/node_modules/antd/es/radio/group.js +31 -29
- package/dist/node_modules/antd/es/radio/group.js.map +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
- package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/select-input.js +104 -98
- package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
- package/dist/node_modules/antd/es/space/Item.js +2 -2
- package/dist/node_modules/antd/es/space/Item.js.map +1 -1
- package/dist/node_modules/antd/es/space/index.js +4 -4
- package/dist/node_modules/antd/es/space/index.js.map +1 -1
- package/dist/node_modules/antd/es/space/style/addon.js +47 -46
- package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
- package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
- package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
- package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/index.js +108 -106
- package/dist/node_modules/antd/es/steps/index.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
- package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
- package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/index.js +41 -41
- package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
- package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
- package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
- package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
- package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
- package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
- package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
- package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/small.js +21 -16
- package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/status.js +187 -176
- package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/util.js +18 -16
- package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
- package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
- package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
- package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
- package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
- package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
- package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
- package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/index.js +3 -3
- package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/radius.js +10 -0
- package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
- package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
- package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
- package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
- package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
- package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
- package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/index.js +50 -50
- package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
- package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/util.js +13 -12
- package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
- package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
- package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
- package/dist/node_modules/antd/es/version/version.js +1 -1
- package/dist/node_modules/antd/es/version/version.js.map +1 -1
- package/dist/node_modules/canvg/lib/index.es.js +100 -86
- package/dist/node_modules/canvg/lib/index.es.js.map +1 -1
- package/dist/node_modules/compute-scroll-into-view/dist/index.js +17 -17
- package/dist/node_modules/compute-scroll-into-view/dist/index.js.map +1 -1
- package/dist/node_modules/core-js/internals/a-callable.js +16 -0
- package/dist/node_modules/core-js/internals/a-callable.js.map +1 -0
- package/dist/node_modules/core-js/internals/a-constructor.js +16 -0
- package/dist/node_modules/core-js/internals/a-constructor.js.map +1 -0
- package/dist/node_modules/core-js/internals/a-possible-prototype.js +15 -0
- package/dist/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
- package/dist/node_modules/core-js/internals/add-to-unscopables.js +19 -0
- package/dist/node_modules/core-js/internals/add-to-unscopables.js.map +1 -0
- package/dist/node_modules/core-js/internals/advance-string-index.js +14 -0
- package/dist/node_modules/core-js/internals/advance-string-index.js.map +1 -0
- package/dist/node_modules/core-js/internals/an-instance.js +15 -0
- package/dist/node_modules/core-js/internals/an-instance.js.map +1 -0
- package/dist/node_modules/core-js/internals/an-object.js +15 -0
- package/dist/node_modules/core-js/internals/an-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/array-includes.js +33 -0
- package/dist/node_modules/core-js/internals/array-includes.js.map +1 -0
- package/dist/node_modules/core-js/internals/array-method-is-strict.js +19 -0
- package/dist/node_modules/core-js/internals/array-method-is-strict.js.map +1 -0
- package/dist/node_modules/core-js/internals/array-reduce.js +38 -0
- package/dist/node_modules/core-js/internals/array-reduce.js.map +1 -0
- package/dist/node_modules/core-js/internals/array-slice.js +12 -0
- package/dist/node_modules/core-js/internals/array-slice.js.map +1 -0
- package/dist/node_modules/core-js/internals/check-correctness-of-iteration.js +47 -0
- package/dist/node_modules/core-js/internals/check-correctness-of-iteration.js.map +1 -0
- package/dist/node_modules/core-js/internals/classof-raw.js +14 -0
- package/dist/node_modules/core-js/internals/classof-raw.js.map +1 -0
- package/dist/node_modules/core-js/internals/classof.js +25 -0
- package/dist/node_modules/core-js/internals/classof.js.map +1 -0
- package/dist/node_modules/core-js/internals/copy-constructor-properties.js +20 -0
- package/dist/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -0
- package/dist/node_modules/core-js/internals/correct-is-regexp-logic.js +23 -0
- package/dist/node_modules/core-js/internals/correct-is-regexp-logic.js.map +1 -0
- package/dist/node_modules/core-js/internals/correct-prototype-getter.js +16 -0
- package/dist/node_modules/core-js/internals/correct-prototype-getter.js.map +1 -0
- package/dist/node_modules/core-js/internals/create-iter-result-object.js +10 -0
- package/dist/node_modules/core-js/internals/create-iter-result-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/create-non-enumerable-property.js +18 -0
- package/dist/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -0
- package/dist/node_modules/core-js/internals/create-property-descriptor.js +15 -0
- package/dist/node_modules/core-js/internals/create-property-descriptor.js.map +1 -0
- package/dist/node_modules/core-js/internals/define-built-in-accessor.js +15 -0
- package/dist/node_modules/core-js/internals/define-built-in-accessor.js.map +1 -0
- package/dist/node_modules/core-js/internals/define-built-in.js +33 -0
- package/dist/node_modules/core-js/internals/define-built-in.js.map +1 -0
- package/dist/node_modules/core-js/internals/define-global-property.js +19 -0
- package/dist/node_modules/core-js/internals/define-global-property.js.map +1 -0
- package/dist/node_modules/core-js/internals/descriptors.js +16 -0
- package/dist/node_modules/core-js/internals/descriptors.js.map +1 -0
- package/dist/node_modules/core-js/internals/document-create-element.js +15 -0
- package/dist/node_modules/core-js/internals/document-create-element.js.map +1 -0
- package/dist/node_modules/core-js/internals/dom-iterables.js +40 -0
- package/dist/node_modules/core-js/internals/dom-iterables.js.map +1 -0
- package/dist/node_modules/core-js/internals/dom-token-list-prototype.js +12 -0
- package/dist/node_modules/core-js/internals/dom-token-list-prototype.js.map +1 -0
- package/dist/node_modules/core-js/internals/enum-bug-keys.js +16 -0
- package/dist/node_modules/core-js/internals/enum-bug-keys.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-is-ios-pebble.js +12 -0
- package/dist/node_modules/core-js/internals/environment-is-ios-pebble.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-is-ios.js +12 -0
- package/dist/node_modules/core-js/internals/environment-is-ios.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-is-node.js +12 -0
- package/dist/node_modules/core-js/internals/environment-is-node.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-is-webos-webkit.js +12 -0
- package/dist/node_modules/core-js/internals/environment-is-webos-webkit.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-user-agent.js +12 -0
- package/dist/node_modules/core-js/internals/environment-user-agent.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment-v8-version.js +13 -0
- package/dist/node_modules/core-js/internals/environment-v8-version.js.map +1 -0
- package/dist/node_modules/core-js/internals/environment.js +18 -0
- package/dist/node_modules/core-js/internals/environment.js.map +1 -0
- package/dist/node_modules/core-js/internals/export.js +27 -0
- package/dist/node_modules/core-js/internals/export.js.map +1 -0
- package/dist/node_modules/core-js/internals/fails.js +14 -0
- package/dist/node_modules/core-js/internals/fails.js.map +1 -0
- package/dist/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +44 -0
- package/dist/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-apply.js +14 -0
- package/dist/node_modules/core-js/internals/function-apply.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-bind-context.js +18 -0
- package/dist/node_modules/core-js/internals/function-bind-context.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-bind-native.js +16 -0
- package/dist/node_modules/core-js/internals/function-bind-native.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-call.js +14 -0
- package/dist/node_modules/core-js/internals/function-call.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-name.js +18 -0
- package/dist/node_modules/core-js/internals/function-name.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this-accessor.js +18 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this-clause.js +15 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this-clause.js.map +1 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this.js +16 -0
- package/dist/node_modules/core-js/internals/function-uncurry-this.js.map +1 -0
- package/dist/node_modules/core-js/internals/get-built-in.js +17 -0
- package/dist/node_modules/core-js/internals/get-built-in.js.map +1 -0
- package/dist/node_modules/core-js/internals/get-iterator-method.js +18 -0
- package/dist/node_modules/core-js/internals/get-iterator-method.js.map +1 -0
- package/dist/node_modules/core-js/internals/get-iterator.js +20 -0
- package/dist/node_modules/core-js/internals/get-iterator.js.map +1 -0
- package/dist/node_modules/core-js/internals/get-method.js +16 -0
- package/dist/node_modules/core-js/internals/get-method.js.map +1 -0
- package/dist/node_modules/core-js/internals/get-substitution.js +40 -0
- package/dist/node_modules/core-js/internals/get-substitution.js.map +1 -0
- package/dist/node_modules/core-js/internals/global-this.js +19 -0
- package/dist/node_modules/core-js/internals/global-this.js.map +1 -0
- package/dist/node_modules/core-js/internals/has-own-property.js +15 -0
- package/dist/node_modules/core-js/internals/has-own-property.js.map +1 -0
- package/dist/node_modules/core-js/internals/hidden-keys.js +8 -0
- package/dist/node_modules/core-js/internals/hidden-keys.js.map +1 -0
- package/dist/node_modules/core-js/internals/host-report-errors.js +13 -0
- package/dist/node_modules/core-js/internals/host-report-errors.js.map +1 -0
- package/dist/node_modules/core-js/internals/html.js +12 -0
- package/dist/node_modules/core-js/internals/html.js.map +1 -0
- package/dist/node_modules/core-js/internals/ie8-dom-define.js +20 -0
- package/dist/node_modules/core-js/internals/ie8-dom-define.js.map +1 -0
- package/dist/node_modules/core-js/internals/indexed-object.js +18 -0
- package/dist/node_modules/core-js/internals/indexed-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/inspect-source.js +16 -0
- package/dist/node_modules/core-js/internals/inspect-source.js.map +1 -0
- package/dist/node_modules/core-js/internals/internal-state.js +55 -0
- package/dist/node_modules/core-js/internals/internal-state.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-array-iterator-method.js +15 -0
- package/dist/node_modules/core-js/internals/is-array-iterator-method.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-array.js +14 -0
- package/dist/node_modules/core-js/internals/is-array.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-callable.js +15 -0
- package/dist/node_modules/core-js/internals/is-callable.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-constructor.js +43 -0
- package/dist/node_modules/core-js/internals/is-constructor.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-forced.js +18 -0
- package/dist/node_modules/core-js/internals/is-forced.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-null-or-undefined.js +10 -0
- package/dist/node_modules/core-js/internals/is-null-or-undefined.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-object.js +14 -0
- package/dist/node_modules/core-js/internals/is-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-possible-prototype.js +14 -0
- package/dist/node_modules/core-js/internals/is-possible-prototype.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-pure.js +8 -0
- package/dist/node_modules/core-js/internals/is-pure.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-regexp.js +17 -0
- package/dist/node_modules/core-js/internals/is-regexp.js.map +1 -0
- package/dist/node_modules/core-js/internals/is-symbol.js +20 -0
- package/dist/node_modules/core-js/internals/is-symbol.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterate.js +51 -0
- package/dist/node_modules/core-js/internals/iterate.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterator-close.js +29 -0
- package/dist/node_modules/core-js/internals/iterator-close.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterator-create-constructor.js +21 -0
- package/dist/node_modules/core-js/internals/iterator-create-constructor.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterator-define.js +61 -0
- package/dist/node_modules/core-js/internals/iterator-define.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterators-core.js +29 -0
- package/dist/node_modules/core-js/internals/iterators-core.js.map +1 -0
- package/dist/node_modules/core-js/internals/iterators.js +8 -0
- package/dist/node_modules/core-js/internals/iterators.js.map +1 -0
- package/dist/node_modules/core-js/internals/length-of-array-like.js +14 -0
- package/dist/node_modules/core-js/internals/length-of-array-like.js.map +1 -0
- package/dist/node_modules/core-js/internals/make-built-in.js +33 -0
- package/dist/node_modules/core-js/internals/make-built-in.js.map +1 -0
- package/dist/node_modules/core-js/internals/math-trunc.js +14 -0
- package/dist/node_modules/core-js/internals/math-trunc.js.map +1 -0
- package/dist/node_modules/core-js/internals/microtask.js +42 -0
- package/dist/node_modules/core-js/internals/microtask.js.map +1 -0
- package/dist/node_modules/core-js/internals/new-promise-capability.js +21 -0
- package/dist/node_modules/core-js/internals/new-promise-capability.js.map +1 -0
- package/dist/node_modules/core-js/internals/not-a-regexp.js +16 -0
- package/dist/node_modules/core-js/internals/not-a-regexp.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-create.js +39 -0
- package/dist/node_modules/core-js/internals/object-create.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-define-properties.js +22 -0
- package/dist/node_modules/core-js/internals/object-define-properties.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-define-property.js +34 -0
- package/dist/node_modules/core-js/internals/object-define-property.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-descriptor.js +26 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-names.js +16 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-symbols.js +9 -0
- package/dist/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-get-prototype-of.js +21 -0
- package/dist/node_modules/core-js/internals/object-get-prototype-of.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-is-prototype-of.js +12 -0
- package/dist/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-keys-internal.js +21 -0
- package/dist/node_modules/core-js/internals/object-keys-internal.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-keys.js +15 -0
- package/dist/node_modules/core-js/internals/object-keys.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-property-is-enumerable.js +15 -0
- package/dist/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -0
- package/dist/node_modules/core-js/internals/object-set-prototype-of.js +24 -0
- package/dist/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
- package/dist/node_modules/core-js/internals/ordinary-to-primitive.js +18 -0
- package/dist/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -0
- package/dist/node_modules/core-js/internals/own-keys.js +19 -0
- package/dist/node_modules/core-js/internals/own-keys.js.map +1 -0
- package/dist/node_modules/core-js/internals/path.js +12 -0
- package/dist/node_modules/core-js/internals/path.js.map +1 -0
- package/dist/node_modules/core-js/internals/perform.js +14 -0
- package/dist/node_modules/core-js/internals/perform.js.map +1 -0
- package/dist/node_modules/core-js/internals/promise-constructor-detection.js +39 -0
- package/dist/node_modules/core-js/internals/promise-constructor-detection.js.map +1 -0
- package/dist/node_modules/core-js/internals/promise-native-constructor.js +12 -0
- package/dist/node_modules/core-js/internals/promise-native-constructor.js.map +1 -0
- package/dist/node_modules/core-js/internals/promise-resolve.js +18 -0
- package/dist/node_modules/core-js/internals/promise-resolve.js.map +1 -0
- package/dist/node_modules/core-js/internals/promise-statics-incorrect-iteration.js +17 -0
- package/dist/node_modules/core-js/internals/promise-statics-incorrect-iteration.js.map +1 -0
- package/dist/node_modules/core-js/internals/queue.js +25 -0
- package/dist/node_modules/core-js/internals/queue.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-exec-abstract.js +24 -0
- package/dist/node_modules/core-js/internals/regexp-exec-abstract.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-exec.js +37 -0
- package/dist/node_modules/core-js/internals/regexp-exec.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-flags-detection.js +35 -0
- package/dist/node_modules/core-js/internals/regexp-flags-detection.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-flags.js +15 -0
- package/dist/node_modules/core-js/internals/regexp-flags.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-get-flags.js +20 -0
- package/dist/node_modules/core-js/internals/regexp-get-flags.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-sticky-helpers.js +25 -0
- package/dist/node_modules/core-js/internals/regexp-sticky-helpers.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-unsupported-dot-all.js +17 -0
- package/dist/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +1 -0
- package/dist/node_modules/core-js/internals/regexp-unsupported-ncg.js +16 -0
- package/dist/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +1 -0
- package/dist/node_modules/core-js/internals/require-object-coercible.js +15 -0
- package/dist/node_modules/core-js/internals/require-object-coercible.js.map +1 -0
- package/dist/node_modules/core-js/internals/safe-get-built-in.js +17 -0
- package/dist/node_modules/core-js/internals/safe-get-built-in.js.map +1 -0
- package/dist/node_modules/core-js/internals/set-species.js +23 -0
- package/dist/node_modules/core-js/internals/set-species.js.map +1 -0
- package/dist/node_modules/core-js/internals/set-to-string-tag.js +16 -0
- package/dist/node_modules/core-js/internals/set-to-string-tag.js.map +1 -0
- package/dist/node_modules/core-js/internals/shared-key.js +15 -0
- package/dist/node_modules/core-js/internals/shared-key.js.map +1 -0
- package/dist/node_modules/core-js/internals/shared-store.js +21 -0
- package/dist/node_modules/core-js/internals/shared-store.js.map +1 -0
- package/dist/node_modules/core-js/internals/shared.js +14 -0
- package/dist/node_modules/core-js/internals/shared.js.map +1 -0
- package/dist/node_modules/core-js/internals/species-constructor.js +18 -0
- package/dist/node_modules/core-js/internals/species-constructor.js.map +1 -0
- package/dist/node_modules/core-js/internals/string-multibyte.js +27 -0
- package/dist/node_modules/core-js/internals/string-multibyte.js.map +1 -0
- package/dist/node_modules/core-js/internals/string-trim-forced.js +18 -0
- package/dist/node_modules/core-js/internals/string-trim-forced.js.map +1 -0
- package/dist/node_modules/core-js/internals/string-trim.js +30 -0
- package/dist/node_modules/core-js/internals/string-trim.js.map +1 -0
- package/dist/node_modules/core-js/internals/symbol-constructor-detection.js +18 -0
- package/dist/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -0
- package/dist/node_modules/core-js/internals/task.js +61 -0
- package/dist/node_modules/core-js/internals/task.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-absolute-index.js +15 -0
- package/dist/node_modules/core-js/internals/to-absolute-index.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-indexed-object.js +15 -0
- package/dist/node_modules/core-js/internals/to-indexed-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-integer-or-infinity.js +15 -0
- package/dist/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-length.js +15 -0
- package/dist/node_modules/core-js/internals/to-length.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-object.js +14 -0
- package/dist/node_modules/core-js/internals/to-object.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-primitive.js +25 -0
- package/dist/node_modules/core-js/internals/to-primitive.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-property-key.js +16 -0
- package/dist/node_modules/core-js/internals/to-property-key.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-string-tag-support.js +12 -0
- package/dist/node_modules/core-js/internals/to-string-tag-support.js.map +1 -0
- package/dist/node_modules/core-js/internals/to-string.js +15 -0
- package/dist/node_modules/core-js/internals/to-string.js.map +1 -0
- package/dist/node_modules/core-js/internals/try-to-string.js +17 -0
- package/dist/node_modules/core-js/internals/try-to-string.js.map +1 -0
- package/dist/node_modules/core-js/internals/uid.js +14 -0
- package/dist/node_modules/core-js/internals/uid.js.map +1 -0
- package/dist/node_modules/core-js/internals/use-symbol-as-uid.js +12 -0
- package/dist/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -0
- package/dist/node_modules/core-js/internals/v8-prototype-define-bug.js +19 -0
- package/dist/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -0
- package/dist/node_modules/core-js/internals/validate-arguments-length.js +14 -0
- package/dist/node_modules/core-js/internals/validate-arguments-length.js.map +1 -0
- package/dist/node_modules/core-js/internals/weak-map-basic-detection.js +13 -0
- package/dist/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -0
- package/dist/node_modules/core-js/internals/well-known-symbol.js +19 -0
- package/dist/node_modules/core-js/internals/well-known-symbol.js.map +1 -0
- package/dist/node_modules/core-js/internals/whitespaces.js +9 -0
- package/dist/node_modules/core-js/internals/whitespaces.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.array.index-of.js +21 -0
- package/dist/node_modules/core-js/modules/es.array.index-of.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.array.iterator.js +47 -0
- package/dist/node_modules/core-js/modules/es.array.iterator.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.array.reduce.js +22 -0
- package/dist/node_modules/core-js/modules/es.array.reduce.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.array.reverse.js +19 -0
- package/dist/node_modules/core-js/modules/es.array.reverse.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.all.js +32 -0
- package/dist/node_modules/core-js/modules/es.promise.all.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.catch.js +27 -0
- package/dist/node_modules/core-js/modules/es.promise.catch.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.constructor.js +143 -0
- package/dist/node_modules/core-js/modules/es.promise.constructor.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.js +15 -0
- package/dist/node_modules/core-js/modules/es.promise.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.race.js +29 -0
- package/dist/node_modules/core-js/modules/es.promise.race.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.reject.js +20 -0
- package/dist/node_modules/core-js/modules/es.promise.reject.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.promise.resolve.js +22 -0
- package/dist/node_modules/core-js/modules/es.promise.resolve.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.regexp.exec.js +16 -0
- package/dist/node_modules/core-js/modules/es.regexp.exec.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.regexp.to-string.js +23 -0
- package/dist/node_modules/core-js/modules/es.regexp.to-string.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.ends-with.js +31 -0
- package/dist/node_modules/core-js/modules/es.string.ends-with.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.includes.js +26 -0
- package/dist/node_modules/core-js/modules/es.string.includes.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.match.js +48 -0
- package/dist/node_modules/core-js/modules/es.string.match.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.replace.js +81 -0
- package/dist/node_modules/core-js/modules/es.string.replace.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.split.js +75 -0
- package/dist/node_modules/core-js/modules/es.string.split.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.starts-with.js +31 -0
- package/dist/node_modules/core-js/modules/es.string.starts-with.js.map +1 -0
- package/dist/node_modules/core-js/modules/es.string.trim.js +19 -0
- package/dist/node_modules/core-js/modules/es.string.trim.js.map +1 -0
- package/dist/node_modules/core-js/modules/web.dom-collections.iterator.js +37 -0
- package/dist/node_modules/core-js/modules/web.dom-collections.iterator.js.map +1 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +217 -223
- package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
- package/dist/node_modules/fflate/esm/browser.js +295 -335
- package/dist/node_modules/fflate/esm/browser.js.map +1 -1
- package/dist/node_modules/jspdf/dist/jspdf.es.min.js +1771 -1781
- package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
- package/dist/node_modules/raf/index.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +6 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/ods-component-lib.css +1 -0
- package/package.json +2 -1
- package/dist/components/antd/change/OdsChange.module.css +0 -1
- package/dist/components/devextreme/DataGrid/styles/OdsDataGrid.css +0 -1
- package/dist/components/devextreme/DxDataGrid.module.css +0 -1
- package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.module.css +0 -1
- package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.module.css +0 -1
- package/dist/components/devextreme/OdsInlineEditDataGrid/styles.module.css +0 -1
- package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.module.css +0 -1
- package/dist/components/devextreme/OdsServerSideDatagrid/OdsServerSideDatagrid.module.css +0 -1
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.module.css +0 -1
- package/dist/components/devextreme/Transfer.module.css +0 -1
- package/dist/components/filter/styles.module.css +0 -1
- package/dist/components/filter/stylesPlus.module.css +0 -1
- package/dist/components/helpers/toolbarSearchBox/ToolbarSearchBox.module.css +0 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
- package/dist/node_modules/react-phone-input-2/lib/style.css +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalTable.js","sources":["../../../../../node_modules/antd/es/table/InternalTable.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { INTERNAL_HOOKS } from '@rc-component/table';\nimport { convertChildrenToColumns } from \"@rc-component/table/es/hooks/useColumns\";\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic, useProxyImperativeHandle } from '../_util/hooks';\nimport scrollTo from '../_util/scrollTo';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { ConfigContext, useComponentConfig } from '../config-provider/context';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { useToken } from '../theme/internal';\nimport renderExpandIcon from './ExpandIcon';\nimport useContainerWidth from './hooks/useContainerWidth';\nimport useFilter, { getFilterData } from './hooks/useFilter';\nimport useLazyKVMap from './hooks/useLazyKVMap';\nimport usePagination, { DEFAULT_PAGE_SIZE, getPaginationParam } from './hooks/usePagination';\nimport useSelection from './hooks/useSelection';\nimport useSorter, { getSortData } from './hooks/useSorter';\nimport useTitleColumns from './hooks/useTitleColumns';\nimport RcTable from './RcTable';\nimport RcVirtualTable from './RcTable/VirtualTable';\nimport useStyle from './style';\nconst EMPTY_LIST = [];\nconst InternalTable = (props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n classNames,\n styles,\n size: customizeSize,\n bordered,\n dropdownPrefixCls: customizeDropdownPrefixCls,\n dataSource,\n pagination,\n rowSelection,\n rowKey: customizeRowKey,\n rowClassName,\n columns,\n children,\n childrenColumnName: legacyChildrenColumnName,\n onChange,\n getPopupContainer,\n loading,\n expandIcon,\n expandable,\n expandedRowRender,\n expandIconColumnIndex,\n indentSize,\n scroll,\n sortDirections,\n locale,\n showSorterTooltip = {\n target: 'full-header'\n },\n virtual\n } = props;\n const warning = devUseWarning('Table');\n const baseColumns = React.useMemo(() => columns || convertChildrenToColumns(children), [columns, children]);\n const needResponsive = React.useMemo(() => baseColumns.some(col => col.responsive), [baseColumns]);\n const screens = useBreakpoint(needResponsive);\n const mergedColumns = React.useMemo(() => {\n const matched = new Set(Object.keys(screens).filter(m => screens[m]));\n return baseColumns.filter(c => !c.responsive || c.responsive.some(r => matched.has(r)));\n }, [baseColumns, screens]);\n const tableProps = omit(props, ['className', 'style', 'columns']);\n const {\n locale: contextLocale = defaultLocale,\n table\n } = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n renderEmpty,\n getPopupContainer: getContextPopupContainer,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('table');\n const mergedSize = useSize(customizeSize);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n bordered\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n }, {\n pagination: {\n _default: 'root'\n },\n header: {\n _default: 'wrapper'\n },\n body: {\n _default: 'wrapper'\n }\n });\n const tableLocale = {\n ...contextLocale.Table,\n ...locale\n };\n const [globalLocale] = useLocale('global', defaultLocale.global);\n const rawData = dataSource || EMPTY_LIST;\n const prefixCls = getPrefixCls('table', customizePrefixCls);\n const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);\n const [, token] = useToken();\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const mergedExpandable = {\n childrenColumnName: legacyChildrenColumnName,\n expandIconColumnIndex,\n ...expandable,\n expandIcon: expandable?.expandIcon ?? table?.expandable?.expandIcon\n };\n const {\n childrenColumnName = 'children'\n } = mergedExpandable;\n const expandType = React.useMemo(() => {\n if (rawData.some(item => item?.[childrenColumnName])) {\n return 'nest';\n }\n if (expandedRowRender || expandable?.expandedRowRender) {\n return 'row';\n }\n return null;\n }, [childrenColumnName, rawData]);\n const internalRefs = {\n body: React.useRef(null)\n };\n // ============================ Width =============================\n const getContainerWidth = useContainerWidth(prefixCls);\n // ============================= Refs =============================\n const rootRef = React.useRef(null);\n const tblRef = React.useRef(null);\n useProxyImperativeHandle(ref, () => ({\n ...tblRef.current,\n nativeElement: rootRef.current\n }));\n // ============================ RowKey ============================\n const rowKey = customizeRowKey || table?.rowKey || 'key';\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof rowKey === 'function' && rowKey.length > 1), 'usage', '`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.') : void 0;\n }\n const getRowKey = React.useMemo(() => {\n if (typeof rowKey === 'function') {\n return rowKey;\n }\n return record => record?.[rowKey];\n }, [rowKey]);\n const [getRecordByKey] = useLazyKVMap(rawData, childrenColumnName, getRowKey);\n // ============================ Events =============================\n const changeEventInfo = {};\n const triggerOnChange = (info, action, reset = false) => {\n const changeInfo = {\n ...changeEventInfo,\n ...info\n };\n if (reset) {\n changeEventInfo.resetPagination?.();\n // Reset event param\n if (changeInfo.pagination?.current) {\n changeInfo.pagination.current = 1;\n }\n // Trigger pagination events\n if (pagination) {\n pagination.onChange?.(1, changeInfo.pagination?.pageSize);\n }\n }\n if (scroll && scroll.scrollToFirstRowOnChange !== false && internalRefs.body.current) {\n scrollTo(0, {\n getContainer: () => internalRefs.body.current\n });\n }\n onChange?.(changeInfo.pagination, changeInfo.filters, changeInfo.sorter, {\n currentDataSource: getFilterData(getSortData(rawData, changeInfo.sorterStates, childrenColumnName), changeInfo.filterStates, childrenColumnName),\n action\n });\n };\n /**\n * Controlled state in `columns` is not a good idea that makes too many code (1000+ line?) to read\n * state out and then put it back to title render. Move these code into `hooks` but still too\n * complex. We should provides Table props like `sorter` & `filter` to handle control in next big\n * version.\n */\n // ============================ Sorter =============================\n const onSorterChange = (sorter, sorterStates) => {\n triggerOnChange({\n sorter,\n sorterStates\n }, 'sort', false);\n };\n const [transformSorterColumns, sortStates, sorterTitleProps, getSorters] = useSorter({\n prefixCls,\n mergedColumns,\n onSorterChange,\n sortDirections: sortDirections || ['ascend', 'descend'],\n tableLocale,\n showSorterTooltip,\n globalLocale\n });\n const sortedData = React.useMemo(() => getSortData(rawData, sortStates, childrenColumnName), [childrenColumnName, rawData, sortStates]);\n changeEventInfo.sorter = getSorters();\n changeEventInfo.sorterStates = sortStates;\n // ============================ Filter ============================\n const onFilterChange = (filters, filterStates) => {\n triggerOnChange({\n filters,\n filterStates\n }, 'filter', true);\n };\n const [transformFilterColumns, filterStates, filters] = useFilter({\n prefixCls,\n locale: tableLocale,\n dropdownPrefixCls,\n mergedColumns,\n onFilterChange,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n rootClassName: clsx(rootClassName, rootCls)\n });\n const mergedData = getFilterData(sortedData, filterStates, childrenColumnName);\n changeEventInfo.filters = filters;\n changeEventInfo.filterStates = filterStates;\n // ============================ Column ============================\n const columnTitleProps = React.useMemo(() => {\n const mergedFilters = {};\n Object.keys(filters).forEach(filterKey => {\n if (filters[filterKey] !== null) {\n mergedFilters[filterKey] = filters[filterKey];\n }\n });\n return {\n ...sorterTitleProps,\n filters: mergedFilters\n };\n }, [sorterTitleProps, filters]);\n const [transformTitleColumns] = useTitleColumns(columnTitleProps);\n // ========================== Pagination ==========================\n const onPaginationChange = (current, pageSize) => {\n triggerOnChange({\n pagination: {\n ...changeEventInfo.pagination,\n current,\n pageSize\n }\n }, 'paginate');\n };\n const [mergedPagination, resetPagination] = usePagination(mergedData.length, onPaginationChange, pagination);\n changeEventInfo.pagination = pagination === false ? {} : getPaginationParam(mergedPagination, pagination);\n changeEventInfo.resetPagination = resetPagination;\n // ============================= Data =============================\n const pageData = React.useMemo(() => {\n if (pagination === false || !mergedPagination.pageSize) {\n return mergedData;\n }\n const {\n current = 1,\n total,\n pageSize = DEFAULT_PAGE_SIZE\n } = mergedPagination;\n process.env.NODE_ENV !== \"production\" ? warning(current > 0, 'usage', '`current` should be positive number.') : void 0;\n // Dynamic table data\n if (mergedData.length < total) {\n if (mergedData.length > pageSize) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'usage', '`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.') : void 0;\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }\n return mergedData;\n }\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }, [!!pagination, mergedData, mergedPagination?.current, mergedPagination?.pageSize, mergedPagination?.total]);\n // ========================== Selections ==========================\n const [transformSelectionColumns, selectedKeySet] = useSelection({\n prefixCls,\n data: mergedData,\n pageData,\n getRowKey,\n getRecordByKey,\n expandType,\n childrenColumnName,\n locale: tableLocale,\n getPopupContainer: getPopupContainer || getContextPopupContainer\n }, rowSelection);\n const internalRowClassName = (record, index, indent) => {\n const resolvedRowClassName = typeof rowClassName === 'function' ? rowClassName(record, index, indent) : rowClassName;\n return clsx({\n [`${prefixCls}-row-selected`]: selectedKeySet.has(getRowKey(record, index))\n }, resolvedRowClassName);\n };\n // ========================== Expandable ==========================\n // Pass origin render status into `@rc-component/table`, this can be removed when refactor with `@rc-component/table`\n mergedExpandable.__PARENT_RENDER_ICON__ = mergedExpandable.expandIcon;\n // Customize expandable icon\n mergedExpandable.expandIcon = mergedExpandable.expandIcon || expandIcon || renderExpandIcon(tableLocale);\n // Adjust expand icon index, no overwrite expandIconColumnIndex if set.\n if (expandType === 'nest' && mergedExpandable.expandIconColumnIndex === undefined) {\n mergedExpandable.expandIconColumnIndex = rowSelection ? 1 : 0;\n } else if (mergedExpandable.expandIconColumnIndex > 0 && rowSelection) {\n mergedExpandable.expandIconColumnIndex -= 1;\n }\n // Indent size\n if (typeof mergedExpandable.indentSize !== 'number') {\n mergedExpandable.indentSize = typeof indentSize === 'number' ? indentSize : 15;\n }\n // ============================ Render ============================\n const transformColumns = React.useCallback(innerColumns => transformTitleColumns(transformSelectionColumns(transformFilterColumns(transformSorterColumns(innerColumns)))), [transformSorterColumns, transformFilterColumns, transformSelectionColumns]);\n let topPaginationNode;\n let bottomPaginationNode;\n if (pagination !== false && mergedPagination?.total) {\n let paginationSize;\n if (mergedPagination.size) {\n paginationSize = mergedPagination.size;\n } else {\n paginationSize = mergedSize === 'small' || mergedSize === 'middle' ? 'small' : undefined;\n }\n const renderPagination = (placement = 'end') => (/*#__PURE__*/React.createElement(Pagination, {\n ...mergedPagination,\n classNames: mergedClassNames.pagination,\n styles: mergedStyles.pagination,\n className: clsx(`${prefixCls}-pagination ${prefixCls}-pagination-${placement}`, mergedPagination.className),\n size: paginationSize\n }));\n const {\n placement,\n position\n } = mergedPagination;\n const mergedPlacement = placement ?? position;\n const normalizePlacement = pos => {\n const lowerPos = pos.toLowerCase();\n if (lowerPos.includes('center')) {\n return 'center';\n }\n return lowerPos.includes('left') || lowerPos.includes('start') ? 'start' : 'end';\n };\n if (Array.isArray(mergedPlacement)) {\n const [topPos, bottomPos] = ['top', 'bottom'].map(dir => mergedPlacement.find(p => p.includes(dir)));\n const isDisable = mergedPlacement.every(p => `${p}` === 'none');\n if (!topPos && !bottomPos && !isDisable) {\n bottomPaginationNode = renderPagination();\n }\n if (topPos) {\n topPaginationNode = renderPagination(normalizePlacement(topPos));\n }\n if (bottomPos) {\n bottomPaginationNode = renderPagination(normalizePlacement(bottomPos));\n }\n } else {\n bottomPaginationNode = renderPagination();\n }\n if (process.env.NODE_ENV !== 'production') {\n warning.deprecated(!position, 'pagination.position', 'pagination.placement');\n }\n }\n // >>>>>>>>> Spinning\n const spinProps = React.useMemo(() => {\n if (typeof loading === 'boolean') {\n return {\n spinning: loading\n };\n } else if (typeof loading === 'object' && loading !== null) {\n return {\n spinning: true,\n ...loading\n };\n } else {\n return undefined;\n }\n }, [loading]);\n const wrappercls = clsx(cssVarCls, rootCls, `${prefixCls}-wrapper`, contextClassName, {\n [`${prefixCls}-wrapper-rtl`]: direction === 'rtl'\n }, className, rootClassName, mergedClassNames.root, hashId);\n const mergedStyle = {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n };\n // ========== empty ==========\n const mergedEmptyNode = React.useMemo(() => {\n // When dataSource is null/undefined (detected by reference equality with EMPTY_LIST),\n // and the table is in a loading state, we only show the loading spinner without the empty placeholder.\n // For empty arrays (datasource={[]}), both loading and empty states would normally be shown.\n // discussion https://github.com/ant-design/ant-design/issues/54601#issuecomment-3158091383\n if (spinProps?.spinning && rawData === EMPTY_LIST) {\n return null;\n }\n if (typeof locale?.emptyText !== 'undefined') {\n return locale.emptyText;\n }\n return renderEmpty?.('Table') || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Table\"\n });\n }, [spinProps?.spinning, rawData, locale?.emptyText, renderEmpty]);\n // ========================== Render ==========================\n const TableComponent = virtual ? RcVirtualTable : RcTable;\n // >>> Virtual Table props. We set height here since it will affect height collection\n const virtualProps = {};\n const listItemHeight = React.useMemo(() => {\n const {\n fontSize,\n lineHeight,\n lineWidth,\n padding,\n paddingXS,\n paddingSM\n } = token;\n const fontHeight = Math.floor(fontSize * lineHeight);\n switch (mergedSize) {\n case 'middle':\n return paddingSM * 2 + fontHeight + lineWidth;\n case 'small':\n return paddingXS * 2 + fontHeight + lineWidth;\n default:\n return padding * 2 + fontHeight + lineWidth;\n }\n }, [token, mergedSize]);\n if (virtual) {\n virtualProps.listItemHeight = listItemHeight;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: rootRef,\n className: wrappercls,\n style: mergedStyle\n }, /*#__PURE__*/React.createElement(Spin, {\n spinning: false,\n ...spinProps\n }, topPaginationNode, /*#__PURE__*/React.createElement(TableComponent, {\n ...virtualProps,\n ...tableProps,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ref: tblRef,\n columns: mergedColumns,\n direction: direction,\n expandable: mergedExpandable,\n prefixCls: prefixCls,\n className: clsx({\n [`${prefixCls}-middle`]: mergedSize === 'middle',\n [`${prefixCls}-small`]: mergedSize === 'small',\n [`${prefixCls}-bordered`]: bordered,\n [`${prefixCls}-empty`]: rawData.length === 0\n }, cssVarCls, rootCls, hashId),\n data: pageData,\n rowKey: getRowKey,\n rowClassName: internalRowClassName,\n emptyText: mergedEmptyNode,\n // Internal\n internalHooks: INTERNAL_HOOKS,\n internalRefs: internalRefs,\n transformColumns: transformColumns,\n getContainerWidth: getContainerWidth,\n measureRowRender: measureRow => (/*#__PURE__*/React.createElement(ConfigProvider, {\n getPopupContainer: node => node\n }, measureRow))\n }), bottomPaginationNode));\n};\nexport default /*#__PURE__*/React.forwardRef(InternalTable);"],"names":["EMPTY_LIST","InternalTable","props","ref","customizePrefixCls","className","rootClassName","style","classNames","styles","customizeSize","bordered","customizeDropdownPrefixCls","dataSource","pagination","rowSelection","customizeRowKey","rowClassName","columns","children","legacyChildrenColumnName","onChange","getPopupContainer","loading","expandIcon","expandable","expandedRowRender","expandIconColumnIndex","indentSize","scroll","sortDirections","locale","showSorterTooltip","virtual","warning","devUseWarning","baseColumns","React","convertChildrenToColumns","needResponsive","col","screens","useBreakpoint","mergedColumns","matched","m","c","r","tableProps","omit","contextLocale","defaultLocale","table","ConfigContext","getPrefixCls","direction","renderEmpty","getContextPopupContainer","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","mergedSize","useSize","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","tableLocale","globalLocale","useLocale","rawData","prefixCls","dropdownPrefixCls","token","useToken","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","mergedExpandable","childrenColumnName","expandType","item","internalRefs","getContainerWidth","useContainerWidth","rootRef","tblRef","useProxyImperativeHandle","rowKey","process","getRowKey","record","getRecordByKey","useLazyKVMap","changeEventInfo","triggerOnChange","info","action","reset","changeInfo","scrollTo","getFilterData","getSortData","onSorterChange","sorter","sorterStates","transformSorterColumns","sortStates","sorterTitleProps","getSorters","useSorter","sortedData","onFilterChange","filters","filterStates","transformFilterColumns","useFilter","clsx","mergedData","columnTitleProps","mergedFilters","filterKey","transformTitleColumns","useTitleColumns","onPaginationChange","current","pageSize","mergedPagination","resetPagination","usePagination","getPaginationParam","pageData","total","DEFAULT_PAGE_SIZE","transformSelectionColumns","selectedKeySet","useSelection","internalRowClassName","index","indent","resolvedRowClassName","renderExpandIcon","transformColumns","innerColumns","topPaginationNode","bottomPaginationNode","paginationSize","renderPagination","placement","Pagination","position","mergedPlacement","normalizePlacement","pos","lowerPos","topPos","bottomPos","dir","p","isDisable","spinProps","wrappercls","mergedStyle","mergedEmptyNode","DefaultRenderEmpty","TableComponent","RcVirtualTable","RcTable","virtualProps","listItemHeight","fontSize","lineHeight","lineWidth","padding","paddingXS","paddingSM","fontHeight","Spin","INTERNAL_HOOKS","measureRow","ConfigProvider","node","InternalTable$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,MAAMA,KAAa,CAAA,GACbC,KAAgB,CAACC,GAAOC,OAAQ;AAC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,IAAM;AAAA,IACxC,UAAU;AAAA,IACV,GAAGjB;AAAA,EACP,GAAKhB,IAAgC,gBAAA/G,EAAM,cAAcoI,IAAgB;AAAA,IACrE,GAAGG;AAAA,IACH,GAAG5H;AAAA,IACH,YAAYkB;AAAA,IACZ,QAAQC;AAAA,IACR,KAAKuB;AAAA,IACL,SAAS/C;AAAA,IACT,WAAWY;AAAA,IACX,YAAY2B;AAAA,IACZ,WAAWT;AAAA,IACX,WAAWgD,EAAK;AAAA,MACd,CAAC,GAAGhD,CAAS,SAAS,GAAGV,MAAe;AAAA,MACxC,CAAC,GAAGU,CAAS,QAAQ,GAAGV,MAAe;AAAA,MACvC,CAAC,GAAGU,CAAS,WAAW,GAAG9D;AAAA,MAC3B,CAAC,GAAG8D,CAAS,QAAQ,GAAGD,EAAQ,WAAW;AAAA,IACjD,GAAOQ,IAAWH,GAASE,EAAM;AAAA,IAC7B,MAAMwD;AAAA,IACN,QAAQzC;AAAA,IACR,cAAc+C;AAAA,IACd,WAAW0B;AAAA;AAAA,IAEX,eAAee;AAAA,IACf,cAAchG;AAAA,IACd,kBAAkB4D;AAAA,IAClB,mBAAmB3D;AAAA,IACnB,kBAAkB,CAAAgG,MAA4B,gBAAAlJ,EAAM,cAAcmJ,IAAgB;AAAA,MAChF,mBAAmB,CAAAC,MAAQA;AAAA,IACjC,GAAOF,CAAU;AAAA,EACjB,CAAG,GAAGlC,CAAoB,CAAC;AAC3B,GACAqC,KAA4B,gBAAArJ,EAAM,WAAWpC,EAAa;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"InternalTable.js","sources":["../../../../../node_modules/antd/es/table/InternalTable.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { INTERNAL_HOOKS } from '@rc-component/table';\nimport { convertChildrenToColumns } from \"@rc-component/table/es/hooks/useColumns\";\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic, useProxyImperativeHandle } from '../_util/hooks';\nimport scrollTo from '../_util/scrollTo';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { ConfigContext, useComponentConfig } from '../config-provider/context';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { useToken } from '../theme/internal';\nimport renderExpandIcon from './ExpandIcon';\nimport useContainerWidth from './hooks/useContainerWidth';\nimport useFilter, { getFilterData } from './hooks/useFilter';\nimport useLazyKVMap from './hooks/useLazyKVMap';\nimport usePagination, { DEFAULT_PAGE_SIZE, getPaginationParam } from './hooks/usePagination';\nimport useSelection from './hooks/useSelection';\nimport useSorter, { getSortData } from './hooks/useSorter';\nimport useTitleColumns from './hooks/useTitleColumns';\nimport RcTable from './RcTable';\nimport RcVirtualTable from './RcTable/VirtualTable';\nimport useStyle from './style';\nimport TableMeasureRowContext from './TableMeasureRowContext';\nconst EMPTY_LIST = [];\nconst InternalTable = (props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n classNames,\n styles,\n size: customizeSize,\n bordered,\n dropdownPrefixCls: customizeDropdownPrefixCls,\n dataSource,\n pagination,\n rowSelection,\n rowKey: customizeRowKey,\n rowClassName,\n columns,\n children,\n childrenColumnName: legacyChildrenColumnName,\n onChange,\n getPopupContainer,\n loading,\n expandIcon,\n expandable,\n expandedRowRender,\n expandIconColumnIndex,\n indentSize,\n scroll,\n sortDirections,\n locale,\n showSorterTooltip = {\n target: 'full-header'\n },\n virtual\n } = props;\n const warning = devUseWarning('Table');\n const baseColumns = React.useMemo(() => columns || convertChildrenToColumns(children), [columns, children]);\n const needResponsive = React.useMemo(() => baseColumns.some(col => col.responsive), [baseColumns]);\n const screens = useBreakpoint(needResponsive);\n const mergedColumns = React.useMemo(() => {\n const matched = new Set(Object.keys(screens).filter(m => screens[m]));\n return baseColumns.filter(c => !c.responsive || c.responsive.some(r => matched.has(r)));\n }, [baseColumns, screens]);\n const tableProps = omit(props, ['className', 'style', 'columns']);\n const {\n locale: contextLocale = defaultLocale,\n table\n } = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n renderEmpty,\n getPopupContainer: getContextPopupContainer,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('table');\n const mergedSize = useSize(customizeSize);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n bordered\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n }, {\n pagination: {\n _default: 'root'\n },\n header: {\n _default: 'wrapper'\n },\n body: {\n _default: 'wrapper'\n }\n });\n const tableLocale = {\n ...contextLocale.Table,\n ...locale\n };\n const [globalLocale] = useLocale('global', defaultLocale.global);\n const rawData = dataSource || EMPTY_LIST;\n const prefixCls = getPrefixCls('table', customizePrefixCls);\n const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);\n const [, token] = useToken();\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const mergedExpandable = {\n childrenColumnName: legacyChildrenColumnName,\n expandIconColumnIndex,\n ...expandable,\n expandIcon: expandable?.expandIcon ?? table?.expandable?.expandIcon\n };\n const {\n childrenColumnName = 'children'\n } = mergedExpandable;\n const expandType = React.useMemo(() => {\n if (rawData.some(item => item?.[childrenColumnName])) {\n return 'nest';\n }\n if (expandedRowRender || expandable?.expandedRowRender) {\n return 'row';\n }\n return null;\n }, [childrenColumnName, rawData]);\n const internalRefs = {\n body: React.useRef(null)\n };\n // ============================ Width =============================\n const getContainerWidth = useContainerWidth(prefixCls);\n // ============================= Refs =============================\n const rootRef = React.useRef(null);\n const tblRef = React.useRef(null);\n useProxyImperativeHandle(ref, () => ({\n ...tblRef.current,\n nativeElement: rootRef.current\n }));\n // ============================ RowKey ============================\n const rowKey = customizeRowKey || table?.rowKey || 'key';\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof rowKey === 'function' && rowKey.length > 1), 'usage', '`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.') : void 0;\n }\n const getRowKey = React.useMemo(() => {\n if (typeof rowKey === 'function') {\n return rowKey;\n }\n return record => record?.[rowKey];\n }, [rowKey]);\n const [getRecordByKey] = useLazyKVMap(rawData, childrenColumnName, getRowKey);\n // ============================ Events =============================\n const changeEventInfo = {};\n const triggerOnChange = (info, action, reset = false) => {\n const changeInfo = {\n ...changeEventInfo,\n ...info\n };\n if (reset) {\n changeEventInfo.resetPagination?.();\n // Reset event param\n if (changeInfo.pagination?.current) {\n changeInfo.pagination.current = 1;\n }\n // Trigger pagination events\n if (pagination) {\n pagination.onChange?.(1, changeInfo.pagination?.pageSize);\n }\n }\n if (scroll && scroll.scrollToFirstRowOnChange !== false && internalRefs.body.current) {\n scrollTo(0, {\n getContainer: () => internalRefs.body.current\n });\n }\n onChange?.(changeInfo.pagination, changeInfo.filters, changeInfo.sorter, {\n currentDataSource: getFilterData(getSortData(rawData, changeInfo.sorterStates, childrenColumnName), changeInfo.filterStates, childrenColumnName),\n action\n });\n };\n /**\n * Controlled state in `columns` is not a good idea that makes too many code (1000+ line?) to read\n * state out and then put it back to title render. Move these code into `hooks` but still too\n * complex. We should provides Table props like `sorter` & `filter` to handle control in next big\n * version.\n */\n // ============================ Sorter =============================\n const onSorterChange = (sorter, sorterStates) => {\n triggerOnChange({\n sorter,\n sorterStates\n }, 'sort', false);\n };\n const [transformSorterColumns, sortStates, sorterTitleProps, getSorters] = useSorter({\n prefixCls,\n mergedColumns,\n onSorterChange,\n sortDirections: sortDirections || ['ascend', 'descend'],\n tableLocale,\n showSorterTooltip,\n globalLocale\n });\n const sortedData = React.useMemo(() => getSortData(rawData, sortStates, childrenColumnName), [childrenColumnName, rawData, sortStates]);\n changeEventInfo.sorter = getSorters();\n changeEventInfo.sorterStates = sortStates;\n // ============================ Filter ============================\n const onFilterChange = (filters, filterStates) => {\n triggerOnChange({\n filters,\n filterStates\n }, 'filter', true);\n };\n const [transformFilterColumns, filterStates, filters] = useFilter({\n prefixCls,\n locale: tableLocale,\n dropdownPrefixCls,\n mergedColumns,\n onFilterChange,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n rootClassName: clsx(rootClassName, rootCls)\n });\n const mergedData = getFilterData(sortedData, filterStates, childrenColumnName);\n changeEventInfo.filters = filters;\n changeEventInfo.filterStates = filterStates;\n // ============================ Column ============================\n const columnTitleProps = React.useMemo(() => {\n const mergedFilters = {};\n Object.keys(filters).forEach(filterKey => {\n if (filters[filterKey] !== null) {\n mergedFilters[filterKey] = filters[filterKey];\n }\n });\n return {\n ...sorterTitleProps,\n filters: mergedFilters\n };\n }, [sorterTitleProps, filters]);\n const [transformTitleColumns] = useTitleColumns(columnTitleProps);\n // ========================== Pagination ==========================\n const onPaginationChange = (current, pageSize) => {\n triggerOnChange({\n pagination: {\n ...changeEventInfo.pagination,\n current,\n pageSize\n }\n }, 'paginate');\n };\n const [mergedPagination, resetPagination] = usePagination(mergedData.length, onPaginationChange, pagination);\n changeEventInfo.pagination = pagination === false ? {} : getPaginationParam(mergedPagination, pagination);\n changeEventInfo.resetPagination = resetPagination;\n // ============================= Data =============================\n const pageData = React.useMemo(() => {\n if (pagination === false || !mergedPagination.pageSize) {\n return mergedData;\n }\n const {\n current = 1,\n total,\n pageSize = DEFAULT_PAGE_SIZE\n } = mergedPagination;\n process.env.NODE_ENV !== \"production\" ? warning(current > 0, 'usage', '`current` should be positive number.') : void 0;\n // Dynamic table data\n if (mergedData.length < total) {\n if (mergedData.length > pageSize) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'usage', '`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.') : void 0;\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }\n return mergedData;\n }\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }, [!!pagination, mergedData, mergedPagination?.current, mergedPagination?.pageSize, mergedPagination?.total]);\n // ========================== Selections ==========================\n const [transformSelectionColumns, selectedKeySet] = useSelection({\n prefixCls,\n data: mergedData,\n pageData,\n getRowKey,\n getRecordByKey,\n expandType,\n childrenColumnName,\n locale: tableLocale,\n getPopupContainer: getPopupContainer || getContextPopupContainer\n }, rowSelection);\n const internalRowClassName = (record, index, indent) => {\n const resolvedRowClassName = typeof rowClassName === 'function' ? rowClassName(record, index, indent) : rowClassName;\n return clsx({\n [`${prefixCls}-row-selected`]: selectedKeySet.has(getRowKey(record, index))\n }, resolvedRowClassName);\n };\n // ========================== Expandable ==========================\n // Pass origin render status into `@rc-component/table`, this can be removed when refactor with `@rc-component/table`\n mergedExpandable.__PARENT_RENDER_ICON__ = mergedExpandable.expandIcon;\n // Customize expandable icon\n mergedExpandable.expandIcon = mergedExpandable.expandIcon || expandIcon || renderExpandIcon(tableLocale);\n // Adjust expand icon index, no overwrite expandIconColumnIndex if set.\n if (expandType === 'nest' && mergedExpandable.expandIconColumnIndex === undefined) {\n mergedExpandable.expandIconColumnIndex = rowSelection ? 1 : 0;\n } else if (mergedExpandable.expandIconColumnIndex > 0 && rowSelection) {\n mergedExpandable.expandIconColumnIndex -= 1;\n }\n // Indent size\n if (typeof mergedExpandable.indentSize !== 'number') {\n mergedExpandable.indentSize = typeof indentSize === 'number' ? indentSize : 15;\n }\n // ============================ Render ============================\n const transformColumns = React.useCallback(innerColumns => transformTitleColumns(transformSelectionColumns(transformFilterColumns(transformSorterColumns(innerColumns)))), [transformSorterColumns, transformFilterColumns, transformSelectionColumns]);\n let topPaginationNode;\n let bottomPaginationNode;\n if (pagination !== false && mergedPagination?.total) {\n let paginationSize;\n if (mergedPagination.size) {\n paginationSize = mergedPagination.size;\n } else {\n paginationSize = mergedSize === 'small' || mergedSize === 'middle' ? 'small' : undefined;\n }\n const renderPagination = (placement = 'end') => (/*#__PURE__*/React.createElement(Pagination, {\n ...mergedPagination,\n classNames: mergedClassNames.pagination,\n styles: mergedStyles.pagination,\n className: clsx(`${prefixCls}-pagination ${prefixCls}-pagination-${placement}`, mergedPagination.className),\n size: paginationSize\n }));\n const {\n placement,\n position\n } = mergedPagination;\n const mergedPlacement = placement ?? position;\n const normalizePlacement = pos => {\n const lowerPos = pos.toLowerCase();\n if (lowerPos.includes('center')) {\n return 'center';\n }\n return lowerPos.includes('left') || lowerPos.includes('start') ? 'start' : 'end';\n };\n if (Array.isArray(mergedPlacement)) {\n const [topPos, bottomPos] = ['top', 'bottom'].map(dir => mergedPlacement.find(p => p.includes(dir)));\n const isDisable = mergedPlacement.every(p => `${p}` === 'none');\n if (!topPos && !bottomPos && !isDisable) {\n bottomPaginationNode = renderPagination();\n }\n if (topPos) {\n topPaginationNode = renderPagination(normalizePlacement(topPos));\n }\n if (bottomPos) {\n bottomPaginationNode = renderPagination(normalizePlacement(bottomPos));\n }\n } else {\n bottomPaginationNode = renderPagination();\n }\n if (process.env.NODE_ENV !== 'production') {\n warning.deprecated(!position, 'pagination.position', 'pagination.placement');\n }\n }\n // >>>>>>>>> Spinning\n const spinProps = React.useMemo(() => {\n if (typeof loading === 'boolean') {\n return {\n spinning: loading\n };\n } else if (typeof loading === 'object' && loading !== null) {\n return {\n spinning: true,\n ...loading\n };\n } else {\n return undefined;\n }\n }, [loading]);\n const wrappercls = clsx(cssVarCls, rootCls, `${prefixCls}-wrapper`, contextClassName, {\n [`${prefixCls}-wrapper-rtl`]: direction === 'rtl'\n }, className, rootClassName, mergedClassNames.root, hashId);\n const mergedStyle = {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n };\n // ========== empty ==========\n const mergedEmptyNode = React.useMemo(() => {\n // When dataSource is null/undefined (detected by reference equality with EMPTY_LIST),\n // and the table is in a loading state, we only show the loading spinner without the empty placeholder.\n // For empty arrays (datasource={[]}), both loading and empty states would normally be shown.\n // discussion https://github.com/ant-design/ant-design/issues/54601#issuecomment-3158091383\n if (spinProps?.spinning && rawData === EMPTY_LIST) {\n return null;\n }\n if (typeof locale?.emptyText !== 'undefined') {\n return locale.emptyText;\n }\n return renderEmpty?.('Table') || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Table\"\n });\n }, [spinProps?.spinning, rawData, locale?.emptyText, renderEmpty]);\n // ========================== Render ==========================\n const TableComponent = virtual ? RcVirtualTable : RcTable;\n // >>> Virtual Table props. We set height here since it will affect height collection\n const virtualProps = {};\n const listItemHeight = React.useMemo(() => {\n const {\n fontSize,\n lineHeight,\n lineWidth,\n padding,\n paddingXS,\n paddingSM\n } = token;\n const fontHeight = Math.floor(fontSize * lineHeight);\n switch (mergedSize) {\n case 'middle':\n return paddingSM * 2 + fontHeight + lineWidth;\n case 'small':\n return paddingXS * 2 + fontHeight + lineWidth;\n default:\n return padding * 2 + fontHeight + lineWidth;\n }\n }, [token, mergedSize]);\n if (virtual) {\n virtualProps.listItemHeight = listItemHeight;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: rootRef,\n className: wrappercls,\n style: mergedStyle\n }, /*#__PURE__*/React.createElement(Spin, {\n spinning: false,\n ...spinProps\n }, topPaginationNode, /*#__PURE__*/React.createElement(TableComponent, {\n ...virtualProps,\n ...tableProps,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ref: tblRef,\n columns: mergedColumns,\n direction: direction,\n expandable: mergedExpandable,\n prefixCls: prefixCls,\n className: clsx({\n [`${prefixCls}-middle`]: mergedSize === 'middle',\n [`${prefixCls}-small`]: mergedSize === 'small',\n [`${prefixCls}-bordered`]: bordered,\n [`${prefixCls}-empty`]: rawData.length === 0\n }, cssVarCls, rootCls, hashId),\n data: pageData,\n rowKey: getRowKey,\n rowClassName: internalRowClassName,\n emptyText: mergedEmptyNode,\n // Internal\n internalHooks: INTERNAL_HOOKS,\n internalRefs: internalRefs,\n transformColumns: transformColumns,\n getContainerWidth: getContainerWidth,\n measureRowRender: measureRow => (/*#__PURE__*/React.createElement(TableMeasureRowContext.Provider, {\n value: true\n }, /*#__PURE__*/React.createElement(ConfigProvider, {\n getPopupContainer: node => node\n }, measureRow)))\n }), bottomPaginationNode));\n};\nexport default /*#__PURE__*/React.forwardRef(InternalTable);"],"names":["EMPTY_LIST","InternalTable","props","ref","customizePrefixCls","className","rootClassName","style","classNames","styles","customizeSize","bordered","customizeDropdownPrefixCls","dataSource","pagination","rowSelection","customizeRowKey","rowClassName","columns","children","legacyChildrenColumnName","onChange","getPopupContainer","loading","expandIcon","expandable","expandedRowRender","expandIconColumnIndex","indentSize","scroll","sortDirections","locale","showSorterTooltip","virtual","warning","devUseWarning","baseColumns","React","convertChildrenToColumns","needResponsive","col","screens","useBreakpoint","mergedColumns","matched","m","c","r","tableProps","omit","contextLocale","defaultLocale","table","ConfigContext","getPrefixCls","direction","renderEmpty","getContextPopupContainer","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","mergedSize","useSize","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","tableLocale","globalLocale","useLocale","rawData","prefixCls","dropdownPrefixCls","token","useToken","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","mergedExpandable","childrenColumnName","expandType","item","internalRefs","getContainerWidth","useContainerWidth","rootRef","tblRef","useProxyImperativeHandle","rowKey","process","getRowKey","record","getRecordByKey","useLazyKVMap","changeEventInfo","triggerOnChange","info","action","reset","changeInfo","scrollTo","getFilterData","getSortData","onSorterChange","sorter","sorterStates","transformSorterColumns","sortStates","sorterTitleProps","getSorters","useSorter","sortedData","onFilterChange","filters","filterStates","transformFilterColumns","useFilter","clsx","mergedData","columnTitleProps","mergedFilters","filterKey","transformTitleColumns","useTitleColumns","onPaginationChange","current","pageSize","mergedPagination","resetPagination","usePagination","getPaginationParam","pageData","total","DEFAULT_PAGE_SIZE","transformSelectionColumns","selectedKeySet","useSelection","internalRowClassName","index","indent","resolvedRowClassName","renderExpandIcon","transformColumns","innerColumns","topPaginationNode","bottomPaginationNode","paginationSize","renderPagination","placement","Pagination","position","mergedPlacement","normalizePlacement","pos","lowerPos","topPos","bottomPos","dir","p","isDisable","spinProps","wrappercls","mergedStyle","mergedEmptyNode","DefaultRenderEmpty","TableComponent","RcVirtualTable","RcTable","virtualProps","listItemHeight","fontSize","lineHeight","lineWidth","padding","paddingXS","paddingSM","fontHeight","Spin","INTERNAL_HOOKS","measureRow","TableMeasureRowContext","ConfigProvider","node","InternalTable$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAMA,KAAa,CAAA,GACbC,KAAgB,CAACC,GAAOC,OAAQ;AACpC,QAAM;AAAA,IACJ,WAAWC;AAAA,IACX,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAMC;AAAA,IACN,UAAAC;AAAA,IACA,mBAAmBC;AAAA,IACnB,YAAAC;AAAA,IACA,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAQC;AAAA,IACR,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAoBC;AAAA,IACpB,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,SAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,mBAAAC,KAAoB;AAAA,MAClB,QAAQ;AAAA,IACd;AAAA,IACI,SAAAC;AAAA,EACJ,IAAM/B,GACEgC,IAAUC,GAAc,OAAO,GAC/BC,IAAcC,EAAM,QAAQ,MAAMnB,KAAWoB,GAAyBnB,CAAQ,GAAG,CAACD,GAASC,CAAQ,CAAC,GACpGoB,KAAiBF,EAAM,QAAQ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AcmJ,GAAuB,UAAU;AAAA,MACjG,OAAO;AAAA,IACb,GAAoB,gBAAAnJ,EAAM,cAAcoJ,IAAgB;AAAA,MAClD,mBAAmB,CAAAC,MAAQA;AAAA,IACjC,GAAOH,CAAU,CAAC;AAAA,EAClB,CAAG,GAAGlC,CAAoB,CAAC;AAC3B,GACAsC,KAA4B,gBAAAtJ,EAAM,WAAWpC,EAAa;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableMeasureRowContext.js","sources":["../../../../../node_modules/antd/es/table/TableMeasureRowContext.js"],"sourcesContent":["import React from 'react';\nconst TableMeasureRowContext = /*#__PURE__*/React.createContext(false);\nexport default TableMeasureRowContext;"],"names":["TableMeasureRowContext","React"],"mappings":";AACK,MAACA,IAAsCC,gBAAAA,EAAM,cAAc,EAAK;","x_google_ignoreList":[0]}
|
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import he from "../../../../../vite-plugin-node-polyfills/shims/process/dist/index.js";
|
|
2
|
+
import G from "../../../../../@babel/runtime/helpers/esm/toConsumableArray.js";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { clsx as
|
|
7
|
-
import
|
|
8
|
-
import { devUseWarning as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { ConfigContext as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { OverrideProvider as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
4
|
+
import Ce from "../../../../../@ant-design/icons/es/icons/FilterFilled.js";
|
|
5
|
+
import U from "../../../../../@rc-component/util/es/isEqual.js";
|
|
6
|
+
import { clsx as $ } from "../../../../../clsx/dist/clsx.js";
|
|
7
|
+
import Ee from "../../../_util/extendsObject.js";
|
|
8
|
+
import { devUseWarning as we } from "../../../_util/warning.js";
|
|
9
|
+
import j from "../../../button/Button.js";
|
|
10
|
+
import Q from "../../../checkbox/index.js";
|
|
11
|
+
import { ConfigContext as ke } from "../../../config-provider/context.js";
|
|
12
|
+
import De from "../../../dropdown/index.js";
|
|
13
|
+
import H from "../../../empty/index.js";
|
|
14
|
+
import be from "../../../menu/index.js";
|
|
15
|
+
import { OverrideProvider as Se } from "../../../menu/OverrideContext.js";
|
|
16
|
+
import Ke from "../../../radio/index.js";
|
|
17
|
+
import Fe from "../../../tree/index.js";
|
|
18
|
+
import ve from "../../TableMeasureRowContext.js";
|
|
19
|
+
import J from "./FilterSearch.js";
|
|
20
|
+
import xe from "./FilterWrapper.js";
|
|
21
|
+
import { useSyncState as Ne } from "../../../_util/hooks/useSyncState.js";
|
|
21
22
|
function x(i) {
|
|
22
23
|
let l = [];
|
|
23
24
|
return (i || []).forEach(({
|
|
24
|
-
value:
|
|
25
|
+
value: s,
|
|
25
26
|
children: r
|
|
26
27
|
}) => {
|
|
27
|
-
l.push(
|
|
28
|
+
l.push(s), r && (l = [].concat(G(l), G(x(r))));
|
|
28
29
|
}), l;
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
+
function Pe(i) {
|
|
31
32
|
return i.some(({
|
|
32
33
|
children: l
|
|
33
34
|
}) => l);
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function X(i, l) {
|
|
36
37
|
return typeof l == "string" || typeof l == "number" ? l?.toString().toLowerCase().includes(i.trim().toLowerCase()) : !1;
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function Y({
|
|
39
40
|
filters: i,
|
|
40
41
|
prefixCls: l,
|
|
41
|
-
filteredKeys:
|
|
42
|
+
filteredKeys: s,
|
|
42
43
|
filterMultiple: r,
|
|
43
44
|
searchValue: f,
|
|
44
45
|
filterSearch: w
|
|
@@ -50,31 +51,31 @@ function Q({
|
|
|
50
51
|
key: k || m,
|
|
51
52
|
label: a.text,
|
|
52
53
|
popupClassName: `${l}-dropdown-submenu`,
|
|
53
|
-
children:
|
|
54
|
+
children: Y({
|
|
54
55
|
filters: a.children,
|
|
55
56
|
prefixCls: l,
|
|
56
|
-
filteredKeys:
|
|
57
|
+
filteredKeys: s,
|
|
57
58
|
filterMultiple: r,
|
|
58
59
|
searchValue: f,
|
|
59
60
|
filterSearch: w
|
|
60
61
|
})
|
|
61
62
|
};
|
|
62
|
-
const g = r ?
|
|
63
|
+
const g = r ? Q : Ke, c = {
|
|
63
64
|
key: a.value !== void 0 ? k : m,
|
|
64
65
|
label: /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(g, {
|
|
65
|
-
checked:
|
|
66
|
+
checked: s.includes(k)
|
|
66
67
|
}), /* @__PURE__ */ t.createElement("span", null, a.text))
|
|
67
68
|
};
|
|
68
|
-
return f.trim() ? typeof w == "function" ? w(f, a) ?
|
|
69
|
+
return f.trim() ? typeof w == "function" ? w(f, a) ? c : null : X(f, a.text) ? c : null : c;
|
|
69
70
|
});
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
+
function R(i) {
|
|
72
73
|
return i || [];
|
|
73
74
|
}
|
|
74
|
-
const
|
|
75
|
+
const Ye = (i) => {
|
|
75
76
|
const {
|
|
76
77
|
tablePrefixCls: l,
|
|
77
|
-
prefixCls:
|
|
78
|
+
prefixCls: s,
|
|
78
79
|
column: r,
|
|
79
80
|
dropdownPrefixCls: f,
|
|
80
81
|
columnKey: w,
|
|
@@ -82,34 +83,34 @@ const He = (i) => {
|
|
|
82
83
|
filterMultiple: m,
|
|
83
84
|
filterMode: k = "menu",
|
|
84
85
|
filterSearch: g = !1,
|
|
85
|
-
filterState:
|
|
86
|
-
triggerFilter:
|
|
87
|
-
locale:
|
|
88
|
-
children:
|
|
89
|
-
getPopupContainer:
|
|
90
|
-
rootClassName:
|
|
86
|
+
filterState: c,
|
|
87
|
+
triggerFilter: Z,
|
|
88
|
+
locale: u,
|
|
89
|
+
children: O,
|
|
90
|
+
getPopupContainer: T,
|
|
91
|
+
rootClassName: ee
|
|
91
92
|
} = i, {
|
|
92
|
-
filterResetToDefaultFilteredValue:
|
|
93
|
-
defaultFilteredValue:
|
|
93
|
+
filterResetToDefaultFilteredValue: I,
|
|
94
|
+
defaultFilteredValue: M,
|
|
94
95
|
filterDropdownProps: y = {},
|
|
95
96
|
// Deprecated
|
|
96
|
-
filterDropdownOpen:
|
|
97
|
-
onFilterDropdownOpenChange:
|
|
98
|
-
} = r, [F,
|
|
99
|
-
|
|
97
|
+
filterDropdownOpen: te,
|
|
98
|
+
onFilterDropdownOpenChange: re
|
|
99
|
+
} = r, [F, ne] = t.useState(!1), le = t.useContext(ve), L = !!(c && (c.filteredKeys?.length || c.forceFiltered)), D = (e) => {
|
|
100
|
+
ne(e), y.onOpenChange?.(e), re?.(e);
|
|
100
101
|
};
|
|
101
|
-
if (
|
|
102
|
-
const e =
|
|
103
|
-
[["filterDropdownOpen", "filterDropdownProps.open"], ["onFilterDropdownOpenChange", "filterDropdownProps.onOpenChange"]].forEach(([o,
|
|
104
|
-
e.deprecated(!(o in r), o,
|
|
105
|
-
}), e.deprecated(!("filterCheckall" in
|
|
102
|
+
if (he.env.NODE_ENV !== "production") {
|
|
103
|
+
const e = we("Table");
|
|
104
|
+
[["filterDropdownOpen", "filterDropdownProps.open"], ["onFilterDropdownOpenChange", "filterDropdownProps.onOpenChange"]].forEach(([o, d]) => {
|
|
105
|
+
e.deprecated(!(o in r), o, d);
|
|
106
|
+
}), e.deprecated(!("filterCheckall" in u), "filterCheckall", "locale.filterCheckAll");
|
|
106
107
|
}
|
|
107
|
-
const
|
|
108
|
-
F, b =
|
|
108
|
+
const A = y.open ?? te ?? // deprecated
|
|
109
|
+
F, b = c?.filteredKeys, [S, h] = Ne(R(b)), C = ({
|
|
109
110
|
selectedKeys: e
|
|
110
111
|
}) => {
|
|
111
112
|
h(e);
|
|
112
|
-
},
|
|
113
|
+
}, oe = (e, {
|
|
113
114
|
node: n,
|
|
114
115
|
checked: o
|
|
115
116
|
}) => {
|
|
@@ -121,12 +122,12 @@ const He = (i) => {
|
|
|
121
122
|
};
|
|
122
123
|
t.useEffect(() => {
|
|
123
124
|
F && C({
|
|
124
|
-
selectedKeys:
|
|
125
|
+
selectedKeys: R(b)
|
|
125
126
|
});
|
|
126
127
|
}, [b]);
|
|
127
|
-
const [
|
|
128
|
-
|
|
129
|
-
}, [E, N] = t.useState(""),
|
|
128
|
+
const [ie, se] = t.useState([]), ce = (e) => {
|
|
129
|
+
se(e);
|
|
130
|
+
}, [E, N] = t.useState(""), _ = (e) => {
|
|
130
131
|
const {
|
|
131
132
|
value: n
|
|
132
133
|
} = e.target;
|
|
@@ -137,60 +138,60 @@ const He = (i) => {
|
|
|
137
138
|
}, [F]);
|
|
138
139
|
const P = (e) => {
|
|
139
140
|
const n = e?.length ? e : null;
|
|
140
|
-
if (n === null && (!
|
|
141
|
+
if (n === null && (!c || !c.filteredKeys) || U(n, c?.filteredKeys, !0))
|
|
141
142
|
return null;
|
|
142
|
-
|
|
143
|
+
Z({
|
|
143
144
|
column: r,
|
|
144
145
|
key: w,
|
|
145
146
|
filteredKeys: n
|
|
146
147
|
});
|
|
147
|
-
},
|
|
148
|
+
}, V = () => {
|
|
148
149
|
D(!1), P(S());
|
|
149
|
-
},
|
|
150
|
+
}, z = ({
|
|
150
151
|
confirm: e,
|
|
151
152
|
closeDropdown: n
|
|
152
153
|
} = {
|
|
153
154
|
confirm: !1,
|
|
154
155
|
closeDropdown: !1
|
|
155
156
|
}) => {
|
|
156
|
-
e && P([]), n && D(!1), N(""), h(
|
|
157
|
-
},
|
|
157
|
+
e && P([]), n && D(!1), N(""), h(I ? (M || []).map((o) => String(o)) : []);
|
|
158
|
+
}, ae = ({
|
|
158
159
|
closeDropdown: e
|
|
159
160
|
} = {
|
|
160
161
|
closeDropdown: !0
|
|
161
162
|
}) => {
|
|
162
163
|
e && D(!1), P(S());
|
|
163
|
-
},
|
|
164
|
-
n.source === "trigger" && (e && b !== void 0 && h(
|
|
165
|
-
},
|
|
166
|
-
[`${f}-menu-without-submenu`]: !
|
|
167
|
-
}),
|
|
164
|
+
}, fe = (e, n) => {
|
|
165
|
+
n.source === "trigger" && (e && b !== void 0 && h(R(b)), D(e), !e && !r.filterDropdown && a && V());
|
|
166
|
+
}, me = $({
|
|
167
|
+
[`${f}-menu-without-submenu`]: !Pe(r.filters || [])
|
|
168
|
+
}), pe = (e) => {
|
|
168
169
|
if (e.target.checked) {
|
|
169
170
|
const n = x(r?.filters).map((o) => String(o));
|
|
170
171
|
h(n);
|
|
171
172
|
} else
|
|
172
173
|
h([]);
|
|
173
|
-
},
|
|
174
|
+
}, W = ({
|
|
174
175
|
filters: e
|
|
175
176
|
}) => (e || []).map((n, o) => {
|
|
176
|
-
const
|
|
177
|
+
const d = String(n.value), K = {
|
|
177
178
|
title: n.text,
|
|
178
|
-
key: n.value !== void 0 ?
|
|
179
|
+
key: n.value !== void 0 ? d : String(o)
|
|
179
180
|
};
|
|
180
|
-
return n.children && (K.children =
|
|
181
|
+
return n.children && (K.children = W({
|
|
181
182
|
filters: n.children
|
|
182
183
|
})), K;
|
|
183
|
-
}),
|
|
184
|
+
}), q = (e) => ({
|
|
184
185
|
...e,
|
|
185
186
|
text: e.title,
|
|
186
187
|
value: e.key,
|
|
187
|
-
children: e.children?.map((n) =>
|
|
188
|
+
children: e.children?.map((n) => q(n)) || []
|
|
188
189
|
});
|
|
189
190
|
let p;
|
|
190
191
|
const {
|
|
191
|
-
direction:
|
|
192
|
-
renderEmpty:
|
|
193
|
-
} = t.useContext(
|
|
192
|
+
direction: ue,
|
|
193
|
+
renderEmpty: de
|
|
194
|
+
} = t.useContext(ke);
|
|
194
195
|
if (typeof r.filterDropdown == "function")
|
|
195
196
|
p = r.filterDropdown({
|
|
196
197
|
prefixCls: `${f}-custom`,
|
|
@@ -198,10 +199,10 @@ const He = (i) => {
|
|
|
198
199
|
selectedKeys: e
|
|
199
200
|
}),
|
|
200
201
|
selectedKeys: S(),
|
|
201
|
-
confirm:
|
|
202
|
-
clearFilters:
|
|
202
|
+
confirm: ae,
|
|
203
|
+
clearFilters: z,
|
|
203
204
|
filters: r.filters,
|
|
204
|
-
visible:
|
|
205
|
+
visible: A,
|
|
205
206
|
close: () => {
|
|
206
207
|
D(!1);
|
|
207
208
|
}
|
|
@@ -210,9 +211,9 @@ const He = (i) => {
|
|
|
210
211
|
p = r.filterDropdown;
|
|
211
212
|
else {
|
|
212
213
|
const e = S() || [], n = () => {
|
|
213
|
-
const
|
|
214
|
-
image:
|
|
215
|
-
description:
|
|
214
|
+
const d = de?.("Table.filter") ?? /* @__PURE__ */ t.createElement(H, {
|
|
215
|
+
image: H.PRESENTED_IMAGE_SIMPLE,
|
|
216
|
+
description: u.filterEmptyText,
|
|
216
217
|
styles: {
|
|
217
218
|
image: {
|
|
218
219
|
height: 24
|
|
@@ -224,119 +225,126 @@ const He = (i) => {
|
|
|
224
225
|
}
|
|
225
226
|
});
|
|
226
227
|
if ((r.filters || []).length === 0)
|
|
227
|
-
return
|
|
228
|
+
return d;
|
|
228
229
|
if (k === "tree")
|
|
229
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
230
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(J, {
|
|
230
231
|
filterSearch: g,
|
|
231
232
|
value: E,
|
|
232
|
-
onChange:
|
|
233
|
+
onChange: _,
|
|
233
234
|
tablePrefixCls: l,
|
|
234
|
-
locale:
|
|
235
|
+
locale: u
|
|
235
236
|
}), /* @__PURE__ */ t.createElement("div", {
|
|
236
237
|
className: `${l}-filter-dropdown-tree`
|
|
237
|
-
}, m ? /* @__PURE__ */ t.createElement(
|
|
238
|
+
}, m ? /* @__PURE__ */ t.createElement(Q, {
|
|
238
239
|
checked: e.length === x(r.filters).length,
|
|
239
240
|
indeterminate: e.length > 0 && e.length < x(r.filters).length,
|
|
240
241
|
className: `${l}-filter-dropdown-checkall`,
|
|
241
|
-
onChange:
|
|
242
|
-
},
|
|
242
|
+
onChange: pe
|
|
243
|
+
}, u?.filterCheckall ?? u?.filterCheckAll) : null, /* @__PURE__ */ t.createElement(Fe, {
|
|
243
244
|
checkable: !0,
|
|
244
245
|
selectable: !1,
|
|
245
246
|
blockNode: !0,
|
|
246
247
|
multiple: m,
|
|
247
248
|
checkStrictly: !m,
|
|
248
249
|
className: `${f}-menu`,
|
|
249
|
-
onCheck:
|
|
250
|
+
onCheck: oe,
|
|
250
251
|
checkedKeys: e,
|
|
251
252
|
selectedKeys: e,
|
|
252
253
|
showIcon: !1,
|
|
253
|
-
treeData:
|
|
254
|
+
treeData: W({
|
|
254
255
|
filters: r.filters
|
|
255
256
|
}),
|
|
256
257
|
autoExpandParent: !0,
|
|
257
258
|
defaultExpandAll: !0,
|
|
258
|
-
filterTreeNode: E.trim() ? (v) => typeof g == "function" ? g(E,
|
|
259
|
+
filterTreeNode: E.trim() ? (v) => typeof g == "function" ? g(E, q(v)) : X(E, v.title) : void 0
|
|
259
260
|
})));
|
|
260
|
-
const K =
|
|
261
|
+
const K = Y({
|
|
261
262
|
filters: r.filters || [],
|
|
262
263
|
filterSearch: g,
|
|
263
|
-
prefixCls:
|
|
264
|
+
prefixCls: s,
|
|
264
265
|
filteredKeys: S(),
|
|
265
266
|
filterMultiple: m,
|
|
266
267
|
searchValue: E
|
|
267
|
-
}),
|
|
268
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
268
|
+
}), ye = K.every((v) => v === null);
|
|
269
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(J, {
|
|
269
270
|
filterSearch: g,
|
|
270
271
|
value: E,
|
|
271
|
-
onChange:
|
|
272
|
+
onChange: _,
|
|
272
273
|
tablePrefixCls: l,
|
|
273
|
-
locale:
|
|
274
|
-
}),
|
|
274
|
+
locale: u
|
|
275
|
+
}), ye ? d : /* @__PURE__ */ t.createElement(be, {
|
|
275
276
|
selectable: !0,
|
|
276
277
|
multiple: m,
|
|
277
278
|
prefixCls: `${f}-menu`,
|
|
278
|
-
className:
|
|
279
|
+
className: me,
|
|
279
280
|
onSelect: C,
|
|
280
281
|
onDeselect: C,
|
|
281
282
|
selectedKeys: e,
|
|
282
|
-
getPopupContainer:
|
|
283
|
-
openKeys:
|
|
284
|
-
onOpenChange:
|
|
283
|
+
getPopupContainer: T,
|
|
284
|
+
openKeys: ie,
|
|
285
|
+
onOpenChange: ce,
|
|
285
286
|
items: K
|
|
286
287
|
}));
|
|
287
|
-
}, o = () =>
|
|
288
|
+
}, o = () => I ? U((M || []).map((d) => String(d)), e, !0) : e.length === 0;
|
|
288
289
|
p = /* @__PURE__ */ t.createElement(t.Fragment, null, n(), /* @__PURE__ */ t.createElement("div", {
|
|
289
|
-
className: `${
|
|
290
|
-
}, /* @__PURE__ */ t.createElement(
|
|
290
|
+
className: `${s}-dropdown-btns`
|
|
291
|
+
}, /* @__PURE__ */ t.createElement(j, {
|
|
291
292
|
type: "link",
|
|
292
293
|
size: "small",
|
|
293
294
|
disabled: o(),
|
|
294
|
-
onClick: () =>
|
|
295
|
-
},
|
|
295
|
+
onClick: () => z()
|
|
296
|
+
}, u.filterReset), /* @__PURE__ */ t.createElement(j, {
|
|
296
297
|
type: "primary",
|
|
297
298
|
size: "small",
|
|
298
|
-
onClick:
|
|
299
|
-
},
|
|
299
|
+
onClick: V
|
|
300
|
+
}, u.filterConfirm)));
|
|
300
301
|
}
|
|
301
|
-
r.filterDropdown && (p = /* @__PURE__ */ t.createElement(
|
|
302
|
+
r.filterDropdown && (p = /* @__PURE__ */ t.createElement(Se, {
|
|
302
303
|
selectable: void 0
|
|
303
|
-
}, p)), p = /* @__PURE__ */ t.createElement(
|
|
304
|
-
className: `${
|
|
304
|
+
}, p)), p = /* @__PURE__ */ t.createElement(xe, {
|
|
305
|
+
className: `${s}-dropdown`
|
|
305
306
|
}, p);
|
|
306
|
-
const
|
|
307
|
+
const B = (() => {
|
|
308
|
+
let e;
|
|
309
|
+
return typeof r.filterIcon == "function" ? e = r.filterIcon(L) : r.filterIcon ? e = r.filterIcon : e = /* @__PURE__ */ t.createElement(Ce, null), /* @__PURE__ */ t.createElement("span", {
|
|
310
|
+
role: "button",
|
|
311
|
+
tabIndex: -1,
|
|
312
|
+
className: $(`${s}-trigger`, {
|
|
313
|
+
active: L
|
|
314
|
+
}),
|
|
315
|
+
onClick: (n) => {
|
|
316
|
+
n.stopPropagation();
|
|
317
|
+
}
|
|
318
|
+
}, e);
|
|
319
|
+
})();
|
|
320
|
+
if (le)
|
|
321
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
322
|
+
className: `${s}-column`
|
|
323
|
+
}, /* @__PURE__ */ t.createElement("span", {
|
|
324
|
+
className: `${l}-column-title`
|
|
325
|
+
}, O), B);
|
|
326
|
+
const ge = Ee({
|
|
307
327
|
trigger: ["click"],
|
|
308
|
-
placement:
|
|
309
|
-
children:
|
|
310
|
-
|
|
311
|
-
return typeof r.filterIcon == "function" ? e = r.filterIcon(M) : r.filterIcon ? e = r.filterIcon : e = /* @__PURE__ */ t.createElement(ye, null), /* @__PURE__ */ t.createElement("span", {
|
|
312
|
-
role: "button",
|
|
313
|
-
tabIndex: -1,
|
|
314
|
-
className: O(`${c}-trigger`, {
|
|
315
|
-
active: M
|
|
316
|
-
}),
|
|
317
|
-
onClick: (n) => {
|
|
318
|
-
n.stopPropagation();
|
|
319
|
-
}
|
|
320
|
-
}, e);
|
|
321
|
-
})(),
|
|
322
|
-
getPopupContainer: R
|
|
328
|
+
placement: ue === "rtl" ? "bottomLeft" : "bottomRight",
|
|
329
|
+
children: B,
|
|
330
|
+
getPopupContainer: T
|
|
323
331
|
}, {
|
|
324
332
|
...y,
|
|
325
|
-
rootClassName:
|
|
326
|
-
open:
|
|
327
|
-
onOpenChange:
|
|
333
|
+
rootClassName: $(ee, y.rootClassName),
|
|
334
|
+
open: A,
|
|
335
|
+
onOpenChange: fe,
|
|
328
336
|
popupRender: () => typeof y?.dropdownRender == "function" ? y.dropdownRender(p) : p
|
|
329
337
|
});
|
|
330
338
|
return /* @__PURE__ */ t.createElement("div", {
|
|
331
|
-
className: `${
|
|
339
|
+
className: `${s}-column`
|
|
332
340
|
}, /* @__PURE__ */ t.createElement("span", {
|
|
333
341
|
className: `${l}-column-title`
|
|
334
|
-
},
|
|
335
|
-
...
|
|
342
|
+
}, O), /* @__PURE__ */ t.createElement(De, {
|
|
343
|
+
...ge
|
|
336
344
|
}));
|
|
337
345
|
};
|
|
338
346
|
export {
|
|
339
|
-
|
|
347
|
+
Ye as default,
|
|
340
348
|
x as flattenKeys
|
|
341
349
|
};
|
|
342
350
|
//# sourceMappingURL=FilterDropdown.js.map
|