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":"index.js","sources":["../../../../../../node_modules/@rc-component/resize-observer/es/SingleObserver/index.js"],"sourcesContent":["import { getDOM } from \"@rc-component/util/es/Dom/findDOMNode\";\nimport { supportRef, useComposeRef, getNodeRef } from \"@rc-component/util/es/ref\";\nimport * as React from 'react';\nimport { CollectionContext } from \"../Collection\";\nimport
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@rc-component/resize-observer/es/SingleObserver/index.js"],"sourcesContent":["import { getDOM } from \"@rc-component/util/es/Dom/findDOMNode\";\nimport { supportRef, useComposeRef, getNodeRef } from \"@rc-component/util/es/ref\";\nimport * as React from 'react';\nimport { CollectionContext } from \"../Collection\";\nimport useResizeObserver from \"../useResizeObserver\";\nfunction SingleObserver(props, ref) {\n const {\n children,\n disabled,\n onResize,\n data\n } = props;\n const elementRef = React.useRef(null);\n const onCollectionResize = React.useContext(CollectionContext);\n\n // =========================== Children ===========================\n const isRenderProps = typeof children === 'function';\n const mergedChildren = isRenderProps ? children(elementRef) : children;\n\n // ============================= Ref ==============================\n const canRef = !isRenderProps && /*#__PURE__*/React.isValidElement(mergedChildren) && supportRef(mergedChildren);\n const originRef = canRef ? getNodeRef(mergedChildren) : null;\n const mergedRef = useComposeRef(originRef, elementRef);\n const getDomElement = () => {\n return getDOM(elementRef.current);\n };\n React.useImperativeHandle(ref, () => getDomElement());\n\n // =========================== Observe ============================\n useResizeObserver(!disabled, getDomElement, onResize, (sizeInfo, target) => {\n onCollectionResize?.(sizeInfo, target, data);\n });\n\n // ============================ Render ============================\n return canRef ? /*#__PURE__*/React.cloneElement(mergedChildren, {\n ref: mergedRef\n }) : mergedChildren;\n}\nconst RefSingleObserver = /*#__PURE__*/React.forwardRef(SingleObserver);\nif (process.env.NODE_ENV !== 'production') {\n RefSingleObserver.displayName = 'SingleObserver';\n}\nexport default RefSingleObserver;"],"names":["SingleObserver","props","ref","children","disabled","onResize","data","elementRef","React","onCollectionResize","CollectionContext","isRenderProps","mergedChildren","canRef","supportRef","originRef","getNodeRef","mergedRef","useComposeRef","getDomElement","getDOM","useResizeObserver","sizeInfo","target","RefSingleObserver","process"],"mappings":";;;;;;AAKA,SAASA,EAAeC,GAAOC,GAAK;AAClC,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC;AAAA,EACJ,IAAML,GACEM,IAAaC,EAAM,OAAO,IAAI,GAC9BC,IAAqBD,EAAM,WAAWE,CAAiB,GAGvDC,IAAgB,OAAOR,KAAa,YACpCS,IAAiBD,IAAgBR,EAASI,CAAU,IAAIJ,GAGxDU,IAAS,CAACF,KAA8B,gBAAAH,EAAM,eAAeI,CAAc,KAAKE,EAAWF,CAAc,GACzGG,IAAYF,IAASG,EAAWJ,CAAc,IAAI,MAClDK,IAAYC,EAAcH,GAAWR,CAAU,GAC/CY,IAAgB,MACbC,EAAOb,EAAW,OAAO;AAElC,SAAAC,EAAM,oBAAoBN,GAAK,MAAMiB,EAAa,CAAE,GAGpDE,EAAkB,CAACjB,GAAUe,GAAed,GAAU,CAACiB,GAAUC,MAAW;AAC1E,IAAAd,IAAqBa,GAAUC,GAAQjB,CAAI;AAAA,EAC7C,CAAC,GAGMO,IAAsB,gBAAAL,EAAM,aAAaI,GAAgB;AAAA,IAC9D,KAAKK;AAAA,EACT,CAAG,IAAIL;AACP;AACK,MAACY,IAAiC,gBAAAhB,EAAM,WAAWR,CAAc;AAClEyB,EAAQ,IAAI,aAAa,iBAC3BD,EAAkB,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@rc-component/resize-observer/es/index.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport toArray from \"@rc-component/util/es/Children/toArray\";\nimport { warning } from \"@rc-component/util/es/warning\";\nimport SingleObserver from \"./SingleObserver\";\nimport { Collection } from \"./Collection\";\nconst INTERNAL_PREFIX_KEY = 'rc-observer-key';\nimport { _rs } from \"./utils/observerUtil\";\nexport { /** @private Test only for mock trigger resize event */\n_rs };\nfunction ResizeObserver(props, ref) {\n const {\n children\n } = props;\n const childNodes = typeof children === 'function' ? [children] : toArray(children);\n if (process.env.NODE_ENV !== 'production') {\n if (childNodes.length > 1) {\n warning(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');\n } else if (childNodes.length === 0) {\n warning(false, '`children` of ResizeObserver is empty. Nothing is in observe.');\n }\n }\n return childNodes.map((child, index) => {\n const key = child?.key || `${INTERNAL_PREFIX_KEY}-${index}`;\n return /*#__PURE__*/React.createElement(SingleObserver, _extends({}, props, {\n key: key,\n ref: index === 0 ? ref : undefined\n }), child);\n });\n}\nconst RefResizeObserver = /*#__PURE__*/React.forwardRef(ResizeObserver);\nif (process.env.NODE_ENV !== 'production') {\n RefResizeObserver.displayName = 'ResizeObserver';\n}\nRefResizeObserver.Collection = Collection;\nexport default RefResizeObserver;"],"names":["_extends","target","i","source","key","INTERNAL_PREFIX_KEY","ResizeObserver","props","ref","children","childNodes","toArray","process","warning","child","index","React","SingleObserver","RefResizeObserver","Collection"],"mappings":";;;;;;AAAA,SAASA,IAAW;AAAE,SAAAA,IAAW,OAAO,SAAS,OAAO,OAAO,SAAS,SAAUC,GAAQ;AAAE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAAE,UAAIC,IAAS,UAAUD,CAAC;AAAG,eAASE,KAAOD;AAAU,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAQC,CAAG,MAAKH,EAAOG,CAAG,IAAID,EAAOC,CAAG;AAAA,IAAO;AAAE,WAAOH;AAAA,EAAQ,GAAUD,EAAS,MAAM,MAAM,SAAS;AAAG;AAMlV,MAAMK,IAAsB;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@rc-component/resize-observer/es/index.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport toArray from \"@rc-component/util/es/Children/toArray\";\nimport { warning } from \"@rc-component/util/es/warning\";\nimport SingleObserver from \"./SingleObserver\";\nimport { Collection } from \"./Collection\";\nconst INTERNAL_PREFIX_KEY = 'rc-observer-key';\nimport { _rs } from \"./utils/observerUtil\";\nexport { /** @private Test only for mock trigger resize event */\n_rs };\nexport { default as useResizeObserver } from \"./useResizeObserver\";\nfunction ResizeObserver(props, ref) {\n const {\n children\n } = props;\n const childNodes = typeof children === 'function' ? [children] : toArray(children);\n if (process.env.NODE_ENV !== 'production') {\n if (childNodes.length > 1) {\n warning(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');\n } else if (childNodes.length === 0) {\n warning(false, '`children` of ResizeObserver is empty. Nothing is in observe.');\n }\n }\n return childNodes.map((child, index) => {\n const key = child?.key || `${INTERNAL_PREFIX_KEY}-${index}`;\n return /*#__PURE__*/React.createElement(SingleObserver, _extends({}, props, {\n key: key,\n ref: index === 0 ? ref : undefined\n }), child);\n });\n}\nconst RefResizeObserver = /*#__PURE__*/React.forwardRef(ResizeObserver);\nif (process.env.NODE_ENV !== 'production') {\n RefResizeObserver.displayName = 'ResizeObserver';\n}\nRefResizeObserver.Collection = Collection;\nexport default RefResizeObserver;"],"names":["_extends","target","i","source","key","INTERNAL_PREFIX_KEY","ResizeObserver","props","ref","children","childNodes","toArray","process","warning","child","index","React","SingleObserver","RefResizeObserver","Collection"],"mappings":";;;;;;AAAA,SAASA,IAAW;AAAE,SAAAA,IAAW,OAAO,SAAS,OAAO,OAAO,SAAS,SAAUC,GAAQ;AAAE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAAE,UAAIC,IAAS,UAAUD,CAAC;AAAG,eAASE,KAAOD;AAAU,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAQC,CAAG,MAAKH,EAAOG,CAAG,IAAID,EAAOC,CAAG;AAAA,IAAO;AAAE,WAAOH;AAAA,EAAQ,GAAUD,EAAS,MAAM,MAAM,SAAS;AAAG;AAMlV,MAAMK,IAAsB;AAK5B,SAASC,EAAeC,GAAOC,GAAK;AAClC,QAAM;AAAA,IACJ,UAAAC;AAAA,EACJ,IAAMF,GACEG,IAAa,OAAOD,KAAa,aAAa,CAACA,CAAQ,IAAIE,EAAQF,CAAQ;AACjF,SAAIG,EAAQ,IAAI,aAAa,iBACvBF,EAAW,SAAS,IACtBG,EAAQ,IAAO,gHAAgH,IACtHH,EAAW,WAAW,KAC/BG,EAAQ,IAAO,+DAA+D,IAG3EH,EAAW,IAAI,CAACI,GAAOC,MAAU;AACtC,UAAMX,IAAMU,GAAO,OAAO,GAAGT,CAAmB,IAAIU,CAAK;AACzD,WAAoB,gBAAAC,EAAM,cAAcC,GAAgBjB,EAAS,CAAA,GAAIO,GAAO;AAAA,MAC1E,KAAKH;AAAA,MACL,KAAKW,MAAU,IAAIP,IAAM;AAAA,IAC/B,CAAK,GAAGM,CAAK;AAAA,EACX,CAAC;AACH;AACK,MAACI,IAAiC,gBAAAF,EAAM,WAAWV,CAAc;AAClEM,EAAQ,IAAI,aAAa,iBAC3BM,EAAkB,cAAc;AAElCA,EAAkB,aAAaC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as H from "react";
|
|
2
|
+
import { observe as v, unobserve as z } from "./utils/observerUtil.js";
|
|
3
|
+
import a from "../../util/es/hooks/useEvent.js";
|
|
4
|
+
function x(h, o, R, W) {
|
|
5
|
+
const e = H.useRef({
|
|
6
|
+
width: -1,
|
|
7
|
+
height: -1,
|
|
8
|
+
offsetWidth: -1,
|
|
9
|
+
offsetHeight: -1
|
|
10
|
+
}), r = a((t) => {
|
|
11
|
+
const {
|
|
12
|
+
width: s,
|
|
13
|
+
height: n
|
|
14
|
+
} = t.getBoundingClientRect(), {
|
|
15
|
+
offsetWidth: f,
|
|
16
|
+
offsetHeight: i
|
|
17
|
+
} = t, u = Math.floor(s), d = Math.floor(n);
|
|
18
|
+
if (e.current.width !== u || e.current.height !== d || e.current.offsetWidth !== f || e.current.offsetHeight !== i) {
|
|
19
|
+
const m = {
|
|
20
|
+
width: u,
|
|
21
|
+
height: d,
|
|
22
|
+
offsetWidth: f,
|
|
23
|
+
offsetHeight: i
|
|
24
|
+
};
|
|
25
|
+
e.current = m;
|
|
26
|
+
const l = f === Math.round(s) ? s : f, p = i === Math.round(n) ? n : i, g = {
|
|
27
|
+
...m,
|
|
28
|
+
offsetWidth: l,
|
|
29
|
+
offsetHeight: p
|
|
30
|
+
};
|
|
31
|
+
W?.(g, t), Promise.resolve().then(() => {
|
|
32
|
+
R?.(g, t);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}), c = typeof o == "function";
|
|
36
|
+
H.useEffect(() => {
|
|
37
|
+
const t = c ? o() : o;
|
|
38
|
+
return t && h && v(t, r), () => {
|
|
39
|
+
t && z(t, r);
|
|
40
|
+
};
|
|
41
|
+
}, [
|
|
42
|
+
h,
|
|
43
|
+
// When is function, no need to watch it
|
|
44
|
+
c ? 0 : o
|
|
45
|
+
]);
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
x as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=useResizeObserver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResizeObserver.js","sources":["../../../../../node_modules/@rc-component/resize-observer/es/useResizeObserver.js"],"sourcesContent":["import * as React from 'react';\nimport { observe, unobserve } from \"./utils/observerUtil\";\nimport { useEvent } from '@rc-component/util';\nexport default function useResizeObserver(enabled, getTarget, onDelayResize, onSyncResize) {\n // ============================= Size =============================\n const sizeRef = React.useRef({\n width: -1,\n height: -1,\n offsetWidth: -1,\n offsetHeight: -1\n });\n\n // =========================== Observe ============================\n\n // Handler\n const onInternalResize = useEvent(target => {\n const {\n width,\n height\n } = target.getBoundingClientRect();\n const {\n offsetWidth,\n offsetHeight\n } = target;\n\n /**\n * Resize observer trigger when content size changed.\n * In most case we just care about element size,\n * let's use `boundary` instead of `contentRect` here to avoid shaking.\n */\n const fixedWidth = Math.floor(width);\n const fixedHeight = Math.floor(height);\n if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {\n const size = {\n width: fixedWidth,\n height: fixedHeight,\n offsetWidth,\n offsetHeight\n };\n sizeRef.current = size;\n\n // IE is strange, right?\n const mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;\n const mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;\n const sizeInfo = {\n ...size,\n offsetWidth: mergedOffsetWidth,\n offsetHeight: mergedOffsetHeight\n };\n\n // Call the callback immediately, let the caller decide whether to defer\n // onResize(sizeInfo, target);\n onSyncResize?.(sizeInfo, target);\n\n // defer the callback but not defer to next frame\n Promise.resolve().then(() => {\n onDelayResize?.(sizeInfo, target);\n });\n }\n });\n\n // Dynamic observe\n const isFuncTarget = typeof getTarget === 'function';\n React.useEffect(() => {\n const target = isFuncTarget ? getTarget() : getTarget;\n if (target && enabled) {\n observe(target, onInternalResize);\n }\n return () => {\n if (target) {\n unobserve(target, onInternalResize);\n }\n };\n }, [enabled,\n // When is function, no need to watch it\n isFuncTarget ? 0 : getTarget]);\n}"],"names":["useResizeObserver","enabled","getTarget","onDelayResize","onSyncResize","sizeRef","React","onInternalResize","useEvent","target","width","height","offsetWidth","offsetHeight","fixedWidth","fixedHeight","size","mergedOffsetWidth","mergedOffsetHeight","sizeInfo","isFuncTarget","observe","unobserve"],"mappings":";;;AAGe,SAASA,EAAkBC,GAASC,GAAWC,GAAeC,GAAc;AAEzF,QAAMC,IAAUC,EAAM,OAAO;AAAA,IAC3B,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,cAAc;AAAA,EAClB,CAAG,GAKKC,IAAmBC,EAAS,CAAAC,MAAU;AAC1C,UAAM;AAAA,MACJ,OAAAC;AAAA,MACA,QAAAC;AAAA,IACN,IAAQF,EAAO,sBAAqB,GAC1B;AAAA,MACJ,aAAAG;AAAA,MACA,cAAAC;AAAA,IACN,IAAQJ,GAOEK,IAAa,KAAK,MAAMJ,CAAK,GAC7BK,IAAc,KAAK,MAAMJ,CAAM;AACrC,QAAIN,EAAQ,QAAQ,UAAUS,KAAcT,EAAQ,QAAQ,WAAWU,KAAeV,EAAQ,QAAQ,gBAAgBO,KAAeP,EAAQ,QAAQ,iBAAiBQ,GAAc;AAClL,YAAMG,IAAO;AAAA,QACX,OAAOF;AAAA,QACP,QAAQC;AAAA,QACR,aAAAH;AAAA,QACA,cAAAC;AAAA,MACR;AACM,MAAAR,EAAQ,UAAUW;AAGlB,YAAMC,IAAoBL,MAAgB,KAAK,MAAMF,CAAK,IAAIA,IAAQE,GAChEM,IAAqBL,MAAiB,KAAK,MAAMF,CAAM,IAAIA,IAASE,GACpEM,IAAW;AAAA,QACf,GAAGH;AAAA,QACH,aAAaC;AAAA,QACb,cAAcC;AAAA,MACtB;AAIM,MAAAd,IAAee,GAAUV,CAAM,GAG/B,QAAQ,UAAU,KAAK,MAAM;AAC3B,QAAAN,IAAgBgB,GAAUV,CAAM;AAAA,MAClC,CAAC;AAAA,IACH;AAAA,EACF,CAAC,GAGKW,IAAe,OAAOlB,KAAc;AAC1C,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMG,IAASW,IAAelB,EAAS,IAAKA;AAC5C,WAAIO,KAAUR,KACZoB,EAAQZ,GAAQF,CAAgB,GAE3B,MAAM;AACX,MAAIE,KACFa,EAAUb,GAAQF,CAAgB;AAAA,IAEtC;AAAA,EACF,GAAG;AAAA,IAACN;AAAA;AAAA,IAEJmB,IAAe,IAAIlB;AAAA,EAAS,CAAC;AAC/B;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
|
-
import { clsx as
|
|
2
|
+
import { clsx as v } from "../../../../../clsx/dist/clsx.js";
|
|
3
3
|
import G from "../../../../overflow/es/Overflow.js";
|
|
4
4
|
import H from "../Input.js";
|
|
5
5
|
import { useSelectInputContext as J } from "../context.js";
|
|
@@ -7,15 +7,15 @@ import Q from "../../TransBtn.js";
|
|
|
7
7
|
import { getTitle as U } from "../../utils/commonUtil.js";
|
|
8
8
|
import X from "../../hooks/useBaseProps.js";
|
|
9
9
|
import Y from "./Placeholder.js";
|
|
10
|
-
function
|
|
11
|
-
return
|
|
10
|
+
function P() {
|
|
11
|
+
return P = Object.assign ? Object.assign.bind() : function(t) {
|
|
12
12
|
for (var c = 1; c < arguments.length; c++) {
|
|
13
13
|
var m = arguments[c];
|
|
14
|
-
for (var
|
|
15
|
-
Object.prototype.hasOwnProperty.call(m,
|
|
14
|
+
for (var l in m)
|
|
15
|
+
Object.prototype.hasOwnProperty.call(m, l) && (t[l] = m[l]);
|
|
16
16
|
}
|
|
17
17
|
return t;
|
|
18
|
-
},
|
|
18
|
+
}, P.apply(this, arguments);
|
|
19
19
|
}
|
|
20
20
|
function Z(t) {
|
|
21
21
|
return t.key ?? t.value;
|
|
@@ -26,102 +26,102 @@ const I = (t) => {
|
|
|
26
26
|
inputProps: c
|
|
27
27
|
}, m) {
|
|
28
28
|
const {
|
|
29
|
-
prefixCls:
|
|
29
|
+
prefixCls: l,
|
|
30
30
|
displayValues: y,
|
|
31
|
-
searchValue:
|
|
32
|
-
mode:
|
|
33
|
-
onSelectorRemove:
|
|
34
|
-
removeIcon:
|
|
31
|
+
searchValue: M,
|
|
32
|
+
mode: $,
|
|
33
|
+
onSelectorRemove: N,
|
|
34
|
+
removeIcon: V
|
|
35
35
|
} = J(), {
|
|
36
36
|
disabled: b,
|
|
37
|
-
showSearch:
|
|
38
|
-
triggerOpen:
|
|
39
|
-
toggleOpen:
|
|
40
|
-
autoClearSearchValue:
|
|
41
|
-
tagRender:
|
|
42
|
-
maxTagPlaceholder:
|
|
43
|
-
maxTagTextLength:
|
|
44
|
-
maxTagCount:
|
|
37
|
+
showSearch: T,
|
|
38
|
+
triggerOpen: w,
|
|
39
|
+
toggleOpen: F,
|
|
40
|
+
autoClearSearchValue: j,
|
|
41
|
+
tagRender: L,
|
|
42
|
+
maxTagPlaceholder: z,
|
|
43
|
+
maxTagTextLength: h,
|
|
44
|
+
maxTagCount: B,
|
|
45
45
|
classNames: f,
|
|
46
46
|
styles: d
|
|
47
|
-
} = X(), p = `${
|
|
48
|
-
let
|
|
49
|
-
!
|
|
50
|
-
const
|
|
51
|
-
|
|
47
|
+
} = X(), p = `${l}-selection-item`;
|
|
48
|
+
let O = M;
|
|
49
|
+
!w && $ === "multiple" && j !== !1 && (O = "");
|
|
50
|
+
const E = T && O || "", K = T && !b, W = V ?? "×", C = z ?? ((e) => `+ ${e.length} ...`), R = L, _ = (e) => {
|
|
51
|
+
F(e);
|
|
52
52
|
}, k = (e) => {
|
|
53
|
-
|
|
54
|
-
}, S = (e, n, r,
|
|
53
|
+
N?.(e);
|
|
54
|
+
}, S = (e, n, r, a, u) => /* @__PURE__ */ o.createElement("span", {
|
|
55
55
|
title: U(e),
|
|
56
|
-
className:
|
|
56
|
+
className: v(p, {
|
|
57
57
|
[`${p}-disabled`]: r
|
|
58
58
|
}, f?.item),
|
|
59
59
|
style: d?.item
|
|
60
60
|
}, /* @__PURE__ */ o.createElement("span", {
|
|
61
|
-
className:
|
|
61
|
+
className: v(`${p}-content`, f?.itemContent),
|
|
62
62
|
style: d?.itemContent
|
|
63
|
-
}, n),
|
|
64
|
-
className:
|
|
63
|
+
}, n), a && /* @__PURE__ */ o.createElement(Q, {
|
|
64
|
+
className: v(`${p}-remove`, f?.itemRemove),
|
|
65
65
|
style: d?.itemRemove,
|
|
66
66
|
onMouseDown: I,
|
|
67
67
|
onClick: u,
|
|
68
68
|
customizeIcon: W
|
|
69
|
-
}, "×")), D = (e, n, r,
|
|
70
|
-
const x = (
|
|
71
|
-
I(
|
|
69
|
+
}, "×")), D = (e, n, r, a, u, g, i) => {
|
|
70
|
+
const x = (s) => {
|
|
71
|
+
I(s), _(!w);
|
|
72
72
|
};
|
|
73
73
|
return /* @__PURE__ */ o.createElement("span", {
|
|
74
74
|
onMouseDown: x
|
|
75
|
-
},
|
|
75
|
+
}, R({
|
|
76
76
|
label: n,
|
|
77
77
|
value: e,
|
|
78
78
|
index: i?.index,
|
|
79
79
|
disabled: r,
|
|
80
|
-
closable:
|
|
80
|
+
closable: a,
|
|
81
81
|
onClose: u,
|
|
82
82
|
isMaxTag: !!g
|
|
83
83
|
}));
|
|
84
84
|
}, q = (e, n) => {
|
|
85
85
|
const {
|
|
86
86
|
disabled: r,
|
|
87
|
-
label:
|
|
87
|
+
label: a,
|
|
88
88
|
value: u
|
|
89
89
|
} = e, g = !b && !r;
|
|
90
|
-
let i =
|
|
91
|
-
if (typeof
|
|
92
|
-
const
|
|
93
|
-
|
|
90
|
+
let i = a;
|
|
91
|
+
if (typeof h == "number" && (typeof a == "string" || typeof a == "number")) {
|
|
92
|
+
const s = String(i);
|
|
93
|
+
s.length > h && (i = `${s.slice(0, h)}...`);
|
|
94
94
|
}
|
|
95
|
-
const x = (
|
|
96
|
-
|
|
95
|
+
const x = (s) => {
|
|
96
|
+
s && s.stopPropagation(), k(e);
|
|
97
97
|
};
|
|
98
|
-
return typeof
|
|
98
|
+
return typeof R == "function" ? D(u, i, r, g, x, void 0, n) : S(e, i, r, g, x);
|
|
99
99
|
}, A = (e) => {
|
|
100
100
|
if (!y.length)
|
|
101
101
|
return null;
|
|
102
|
-
const n = typeof
|
|
103
|
-
return typeof
|
|
102
|
+
const n = typeof C == "function" ? C(e) : C;
|
|
103
|
+
return typeof R == "function" ? D(void 0, n, !1, !1, void 0, !0) : S({
|
|
104
104
|
title: n
|
|
105
105
|
}, n, !1);
|
|
106
106
|
};
|
|
107
107
|
return /* @__PURE__ */ o.createElement(G, {
|
|
108
|
-
prefixCls: `${
|
|
108
|
+
prefixCls: `${l}-content`,
|
|
109
109
|
className: f?.content,
|
|
110
110
|
style: d?.content,
|
|
111
|
-
prefix: !y.length &&
|
|
111
|
+
prefix: !y.length && !E && /* @__PURE__ */ o.createElement(Y, null),
|
|
112
112
|
data: y,
|
|
113
113
|
renderItem: q,
|
|
114
114
|
renderRest: A,
|
|
115
|
-
suffix: /* @__PURE__ */ o.createElement(H,
|
|
115
|
+
suffix: /* @__PURE__ */ o.createElement(H, P({
|
|
116
116
|
ref: m,
|
|
117
117
|
disabled: b,
|
|
118
118
|
readOnly: !K
|
|
119
119
|
}, c, {
|
|
120
|
-
value:
|
|
120
|
+
value: E || "",
|
|
121
121
|
syncWidth: !0
|
|
122
122
|
})),
|
|
123
123
|
itemKey: Z,
|
|
124
|
-
maxCount:
|
|
124
|
+
maxCount: B
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
export {
|
package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleContent.js","sources":["../../../../../../../node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport Overflow from '@rc-component/overflow';\nimport Input from \"../Input\";\nimport { useSelectInputContext } from \"../context\";\nimport TransBtn from \"../../TransBtn\";\nimport { getTitle } from \"../../utils/commonUtil\";\nimport useBaseProps from \"../../hooks/useBaseProps\";\nimport Placeholder from \"./Placeholder\";\nfunction itemKey(value) {\n return value.key ?? value.value;\n}\nconst onPreventMouseDown = event => {\n event.preventDefault();\n event.stopPropagation();\n};\nexport default /*#__PURE__*/React.forwardRef(function MultipleContent({\n inputProps\n}, ref) {\n const {\n prefixCls,\n displayValues,\n searchValue,\n mode,\n onSelectorRemove,\n removeIcon: removeIconFromContext\n } = useSelectInputContext();\n const {\n disabled,\n showSearch,\n triggerOpen,\n toggleOpen,\n autoClearSearchValue,\n tagRender: tagRenderFromContext,\n maxTagPlaceholder: maxTagPlaceholderFromContext,\n maxTagTextLength,\n maxTagCount,\n classNames,\n styles\n } = useBaseProps();\n const selectionItemPrefixCls = `${prefixCls}-selection-item`;\n\n // ===================== Search ======================\n // Apply autoClearSearchValue logic: when dropdown is closed and autoClearSearchValue is not false (default true), clear search value\n let computedSearchValue = searchValue;\n if (!triggerOpen && mode === 'multiple' && autoClearSearchValue !== false) {\n computedSearchValue = '';\n }\n const inputValue = showSearch ? computedSearchValue || '' : '';\n const inputEditable = showSearch && !disabled;\n\n // Props from context with safe defaults\n const removeIcon = removeIconFromContext ?? '×';\n const maxTagPlaceholder = maxTagPlaceholderFromContext ?? (omittedValues => `+ ${omittedValues.length} ...`);\n const tagRender = tagRenderFromContext;\n const onToggleOpen = newOpen => {\n toggleOpen(newOpen);\n };\n const onRemove = value => {\n onSelectorRemove?.(value);\n };\n\n // ======================== Item ========================\n // >>> Render Selector Node. Includes Item & Rest\n const defaultRenderSelector = (item, content, itemDisabled, closable, onClose) => /*#__PURE__*/React.createElement(\"span\", {\n title: getTitle(item),\n className: clsx(selectionItemPrefixCls, {\n [`${selectionItemPrefixCls}-disabled`]: itemDisabled\n }, classNames?.item),\n style: styles?.item\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${selectionItemPrefixCls}-content`, classNames?.itemContent),\n style: styles?.itemContent\n }, content), closable && /*#__PURE__*/React.createElement(TransBtn, {\n className: clsx(`${selectionItemPrefixCls}-remove`, classNames?.itemRemove),\n style: styles?.itemRemove,\n onMouseDown: onPreventMouseDown,\n onClick: onClose,\n customizeIcon: removeIcon\n }, \"\\xD7\"));\n const customizeRenderSelector = (value, content, itemDisabled, closable, onClose, isMaxTag, info) => {\n const onMouseDown = e => {\n onPreventMouseDown(e);\n onToggleOpen(!triggerOpen);\n };\n return /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: onMouseDown\n }, tagRender({\n label: content,\n value,\n index: info?.index,\n disabled: itemDisabled,\n closable,\n onClose,\n isMaxTag: !!isMaxTag\n }));\n };\n\n // ====================== Overflow ======================\n const renderItem = (valueItem, info) => {\n const {\n disabled: itemDisabled,\n label,\n value\n } = valueItem;\n const closable = !disabled && !itemDisabled;\n let displayLabel = label;\n if (typeof maxTagTextLength === 'number') {\n if (typeof label === 'string' || typeof label === 'number') {\n const strLabel = String(displayLabel);\n if (strLabel.length > maxTagTextLength) {\n displayLabel = `${strLabel.slice(0, maxTagTextLength)}...`;\n }\n }\n }\n const onClose = event => {\n if (event) {\n event.stopPropagation();\n }\n onRemove(valueItem);\n };\n return typeof tagRender === 'function' ? customizeRenderSelector(value, displayLabel, itemDisabled, closable, onClose, undefined, info) : defaultRenderSelector(valueItem, displayLabel, itemDisabled, closable, onClose);\n };\n const renderRest = omittedValues => {\n // https://github.com/ant-design/ant-design/issues/48930\n if (!displayValues.length) {\n return null;\n }\n const content = typeof maxTagPlaceholder === 'function' ? maxTagPlaceholder(omittedValues) : maxTagPlaceholder;\n return typeof tagRender === 'function' ? customizeRenderSelector(undefined, content, false, false, undefined, true) : defaultRenderSelector({\n title: content\n }, content, false);\n };\n\n // ======================= Render =======================\n return /*#__PURE__*/React.createElement(Overflow, {\n prefixCls: `${prefixCls}-content`,\n className: classNames?.content,\n style: styles?.content,\n prefix: !displayValues.length && (!searchValue || !triggerOpen) ? /*#__PURE__*/React.createElement(Placeholder, null) : null,\n data: displayValues,\n renderItem: renderItem,\n renderRest: renderRest,\n suffix: /*#__PURE__*/React.createElement(Input, _extends({\n ref: ref,\n disabled: disabled,\n readOnly: !inputEditable\n }, inputProps, {\n value: inputValue || '',\n syncWidth: true\n })),\n itemKey: itemKey,\n maxCount: maxTagCount\n });\n});"],"names":["_extends","target","i","source","key","itemKey","value","onPreventMouseDown","event","MultipleContent","React","inputProps","ref","prefixCls","displayValues","searchValue","mode","onSelectorRemove","removeIconFromContext","useSelectInputContext","disabled","showSearch","triggerOpen","toggleOpen","autoClearSearchValue","tagRenderFromContext","maxTagPlaceholderFromContext","maxTagTextLength","maxTagCount","classNames","styles","useBaseProps","selectionItemPrefixCls","computedSearchValue","inputValue","inputEditable","removeIcon","maxTagPlaceholder","omittedValues","tagRender","onToggleOpen","newOpen","onRemove","defaultRenderSelector","item","content","itemDisabled","closable","onClose","getTitle","clsx","TransBtn","customizeRenderSelector","isMaxTag","info","onMouseDown","e","renderItem","valueItem","label","displayLabel","strLabel","renderRest","Overflow","Placeholder","Input"],"mappings":";;;;;;;;;AAAA,SAASA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AAOjE,EAAS;AAAA,MACvD,KAAKY;AAAA,MACL,UAAUQ;AAAA,MACV,UAAU,CAACe;AAAA,IACjB,GAAOxB,GAAY;AAAA,MACb,OAAOuB,KAAc;AAAA,MACrB,WAAW;AAAA,IACjB,CAAK,CAAC;AAAA,IACF,SAAS7B;AAAA,IACT,UAAUuB;AAAA,EACd,CAAG;AACH,CAAC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"MultipleContent.js","sources":["../../../../../../../node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport Overflow from '@rc-component/overflow';\nimport Input from \"../Input\";\nimport { useSelectInputContext } from \"../context\";\nimport TransBtn from \"../../TransBtn\";\nimport { getTitle } from \"../../utils/commonUtil\";\nimport useBaseProps from \"../../hooks/useBaseProps\";\nimport Placeholder from \"./Placeholder\";\nfunction itemKey(value) {\n return value.key ?? value.value;\n}\nconst onPreventMouseDown = event => {\n event.preventDefault();\n event.stopPropagation();\n};\nexport default /*#__PURE__*/React.forwardRef(function MultipleContent({\n inputProps\n}, ref) {\n const {\n prefixCls,\n displayValues,\n searchValue,\n mode,\n onSelectorRemove,\n removeIcon: removeIconFromContext\n } = useSelectInputContext();\n const {\n disabled,\n showSearch,\n triggerOpen,\n toggleOpen,\n autoClearSearchValue,\n tagRender: tagRenderFromContext,\n maxTagPlaceholder: maxTagPlaceholderFromContext,\n maxTagTextLength,\n maxTagCount,\n classNames,\n styles\n } = useBaseProps();\n const selectionItemPrefixCls = `${prefixCls}-selection-item`;\n\n // ===================== Search ======================\n // Apply autoClearSearchValue logic: when dropdown is closed and autoClearSearchValue is not false (default true), clear search value\n let computedSearchValue = searchValue;\n if (!triggerOpen && mode === 'multiple' && autoClearSearchValue !== false) {\n computedSearchValue = '';\n }\n const inputValue = showSearch ? computedSearchValue || '' : '';\n const inputEditable = showSearch && !disabled;\n\n // Props from context with safe defaults\n const removeIcon = removeIconFromContext ?? '×';\n const maxTagPlaceholder = maxTagPlaceholderFromContext ?? (omittedValues => `+ ${omittedValues.length} ...`);\n const tagRender = tagRenderFromContext;\n const onToggleOpen = newOpen => {\n toggleOpen(newOpen);\n };\n const onRemove = value => {\n onSelectorRemove?.(value);\n };\n\n // ======================== Item ========================\n // >>> Render Selector Node. Includes Item & Rest\n const defaultRenderSelector = (item, content, itemDisabled, closable, onClose) => /*#__PURE__*/React.createElement(\"span\", {\n title: getTitle(item),\n className: clsx(selectionItemPrefixCls, {\n [`${selectionItemPrefixCls}-disabled`]: itemDisabled\n }, classNames?.item),\n style: styles?.item\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${selectionItemPrefixCls}-content`, classNames?.itemContent),\n style: styles?.itemContent\n }, content), closable && /*#__PURE__*/React.createElement(TransBtn, {\n className: clsx(`${selectionItemPrefixCls}-remove`, classNames?.itemRemove),\n style: styles?.itemRemove,\n onMouseDown: onPreventMouseDown,\n onClick: onClose,\n customizeIcon: removeIcon\n }, \"\\xD7\"));\n const customizeRenderSelector = (value, content, itemDisabled, closable, onClose, isMaxTag, info) => {\n const onMouseDown = e => {\n onPreventMouseDown(e);\n onToggleOpen(!triggerOpen);\n };\n return /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: onMouseDown\n }, tagRender({\n label: content,\n value,\n index: info?.index,\n disabled: itemDisabled,\n closable,\n onClose,\n isMaxTag: !!isMaxTag\n }));\n };\n\n // ====================== Overflow ======================\n const renderItem = (valueItem, info) => {\n const {\n disabled: itemDisabled,\n label,\n value\n } = valueItem;\n const closable = !disabled && !itemDisabled;\n let displayLabel = label;\n if (typeof maxTagTextLength === 'number') {\n if (typeof label === 'string' || typeof label === 'number') {\n const strLabel = String(displayLabel);\n if (strLabel.length > maxTagTextLength) {\n displayLabel = `${strLabel.slice(0, maxTagTextLength)}...`;\n }\n }\n }\n const onClose = event => {\n if (event) {\n event.stopPropagation();\n }\n onRemove(valueItem);\n };\n return typeof tagRender === 'function' ? customizeRenderSelector(value, displayLabel, itemDisabled, closable, onClose, undefined, info) : defaultRenderSelector(valueItem, displayLabel, itemDisabled, closable, onClose);\n };\n const renderRest = omittedValues => {\n // https://github.com/ant-design/ant-design/issues/48930\n if (!displayValues.length) {\n return null;\n }\n const content = typeof maxTagPlaceholder === 'function' ? maxTagPlaceholder(omittedValues) : maxTagPlaceholder;\n return typeof tagRender === 'function' ? customizeRenderSelector(undefined, content, false, false, undefined, true) : defaultRenderSelector({\n title: content\n }, content, false);\n };\n\n // ======================= Render =======================\n return /*#__PURE__*/React.createElement(Overflow, {\n prefixCls: `${prefixCls}-content`,\n className: classNames?.content,\n style: styles?.content,\n prefix: !displayValues.length && !inputValue && /*#__PURE__*/React.createElement(Placeholder, null),\n data: displayValues,\n renderItem: renderItem,\n renderRest: renderRest,\n suffix: /*#__PURE__*/React.createElement(Input, _extends({\n ref: ref,\n disabled: disabled,\n readOnly: !inputEditable\n }, inputProps, {\n value: inputValue || '',\n syncWidth: true\n })),\n itemKey: itemKey,\n maxCount: maxTagCount\n });\n});"],"names":["_extends","target","i","source","key","itemKey","value","onPreventMouseDown","event","MultipleContent","React","inputProps","ref","prefixCls","displayValues","searchValue","mode","onSelectorRemove","removeIconFromContext","useSelectInputContext","disabled","showSearch","triggerOpen","toggleOpen","autoClearSearchValue","tagRenderFromContext","maxTagPlaceholderFromContext","maxTagTextLength","maxTagCount","classNames","styles","useBaseProps","selectionItemPrefixCls","computedSearchValue","inputValue","inputEditable","removeIcon","maxTagPlaceholder","omittedValues","tagRender","onToggleOpen","newOpen","onRemove","defaultRenderSelector","item","content","itemDisabled","closable","onClose","getTitle","clsx","TransBtn","customizeRenderSelector","isMaxTag","info","onMouseDown","e","renderItem","valueItem","label","displayLabel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AAA,IACZ,QAAqB,gBAAApD,EAAM,cAAcuD,GAAOjE,EAAS;AAAA,MACvD,KAAKY;AAAA,MACL,UAAUQ;AAAA,MACV,UAAU,CAACe;AAAA,IACjB,GAAOxB,GAAY;AAAA,MACb,OAAOuB,KAAc;AAAA,MACrB,WAAW;AAAA,IACjB,CAAK,CAAC;AAAA,IACF,SAAS7B;AAAA,IACT,UAAUuB;AAAA,EACd,CAAG;AACH,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,72 +1,75 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import h from "./Affix.js";
|
|
3
|
+
import W from "./Content/index.js";
|
|
4
|
+
import z from "./context.js";
|
|
5
|
+
import B from "../hooks/useBaseProps.js";
|
|
6
6
|
import l from "../../../util/es/KeyCode.js";
|
|
7
|
-
import { isValidateOpenKey as
|
|
8
|
-
import { clsx as
|
|
9
|
-
import { getDOM as
|
|
10
|
-
import { composeRef as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
import { isValidateOpenKey as k } from "../utils/keyUtil.js";
|
|
8
|
+
import { clsx as E } from "../../../../clsx/dist/clsx.js";
|
|
9
|
+
import { getDOM as G } from "../../../util/es/Dom/findDOMNode.js";
|
|
10
|
+
import { composeRef as q } from "../../../util/es/ref.js";
|
|
11
|
+
import J from "../../../util/es/pickAttrs.js";
|
|
12
|
+
import O from "../../../util/es/hooks/useEvent.js";
|
|
13
|
+
import v from "../../../util/es/omit.js";
|
|
14
|
+
function p() {
|
|
15
|
+
return p = Object.assign ? Object.assign.bind() : function(d) {
|
|
16
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
17
|
+
var c = arguments[n];
|
|
18
|
+
for (var r in c)
|
|
19
|
+
Object.prototype.hasOwnProperty.call(c, r) && (d[r] = c[r]);
|
|
19
20
|
}
|
|
20
|
-
return
|
|
21
|
-
},
|
|
21
|
+
return d;
|
|
22
|
+
}, p.apply(this, arguments);
|
|
22
23
|
}
|
|
23
|
-
const
|
|
24
|
+
const Q = ["value", "onChange", "removeIcon", "placeholder", "maxTagCount", "maxTagTextLength", "maxTagPlaceholder", "choiceTransitionName", "onInputKeyDown", "onPopupScroll", "tabIndex", "activeValue", "onSelectorRemove", "focused"], De = /* @__PURE__ */ t.forwardRef(function(n, c) {
|
|
24
25
|
const {
|
|
25
26
|
// Style
|
|
26
|
-
prefixCls:
|
|
27
|
-
className:
|
|
28
|
-
style:
|
|
27
|
+
prefixCls: r,
|
|
28
|
+
className: w,
|
|
29
|
+
style: P,
|
|
29
30
|
// UI
|
|
30
|
-
prefix:
|
|
31
|
+
prefix: b,
|
|
31
32
|
suffix: R,
|
|
32
|
-
clearIcon:
|
|
33
|
+
clearIcon: D,
|
|
33
34
|
children: S,
|
|
34
35
|
// Data
|
|
35
36
|
multiple: T,
|
|
36
|
-
displayValues:
|
|
37
|
-
placeholder:
|
|
38
|
-
mode:
|
|
37
|
+
displayValues: X,
|
|
38
|
+
placeholder: Y,
|
|
39
|
+
mode: M,
|
|
39
40
|
// Search
|
|
40
|
-
searchValue:
|
|
41
|
-
onSearch:
|
|
42
|
-
onSearchSubmit:
|
|
43
|
-
onInputBlur:
|
|
41
|
+
searchValue: Z,
|
|
42
|
+
onSearch: ee,
|
|
43
|
+
onSearchSubmit: te,
|
|
44
|
+
onInputBlur: oe,
|
|
44
45
|
// Input
|
|
45
|
-
maxLength:
|
|
46
|
-
autoFocus:
|
|
46
|
+
maxLength: re,
|
|
47
|
+
autoFocus: ne,
|
|
47
48
|
// Events
|
|
48
|
-
onMouseDown:
|
|
49
|
-
onClearMouseDown:
|
|
50
|
-
onInputKeyDown:
|
|
51
|
-
onSelectorRemove:
|
|
49
|
+
onMouseDown: K,
|
|
50
|
+
onClearMouseDown: C,
|
|
51
|
+
onInputKeyDown: I,
|
|
52
|
+
onSelectorRemove: ae,
|
|
52
53
|
// Token handling
|
|
53
|
-
tokenWithEnter:
|
|
54
|
+
tokenWithEnter: se,
|
|
54
55
|
// Components
|
|
55
56
|
components: N,
|
|
56
57
|
..._
|
|
57
|
-
} =
|
|
58
|
+
} = n, {
|
|
58
59
|
triggerOpen: u,
|
|
59
60
|
toggleOpen: x,
|
|
60
|
-
showSearch:
|
|
61
|
-
disabled:
|
|
61
|
+
showSearch: V,
|
|
62
|
+
disabled: A,
|
|
62
63
|
loading: L,
|
|
63
|
-
classNames:
|
|
64
|
-
styles:
|
|
65
|
-
} =
|
|
64
|
+
classNames: g,
|
|
65
|
+
styles: y
|
|
66
|
+
} = B(), a = t.useRef(null), s = t.useRef(null), j = O((e) => {
|
|
66
67
|
const {
|
|
67
|
-
which:
|
|
68
|
-
} = e,
|
|
69
|
-
!
|
|
68
|
+
which: o
|
|
69
|
+
} = e, m = s.current instanceof HTMLTextAreaElement;
|
|
70
|
+
if (!m && u && (o === l.UP || o === l.DOWN) && e.preventDefault(), I && I(e), m && !u && ~[l.UP, l.DOWN, l.LEFT, l.RIGHT].indexOf(o))
|
|
71
|
+
return;
|
|
72
|
+
!(e.ctrlKey || e.altKey || e.metaKey) && k(o) && x(!0);
|
|
70
73
|
});
|
|
71
74
|
t.useImperativeHandle(c, () => ({
|
|
72
75
|
focus: (e) => {
|
|
@@ -77,52 +80,54 @@ const q = ["value", "onChange", "removeIcon", "placeholder", "maxTagCount", "max
|
|
|
77
80
|
},
|
|
78
81
|
nativeElement: a.current
|
|
79
82
|
}));
|
|
80
|
-
const $ =
|
|
81
|
-
if (!
|
|
82
|
-
const
|
|
83
|
-
e.nativeEvent._ori_target =
|
|
84
|
-
const
|
|
85
|
-
e.nativeEvent._select_lazy ? u && x(!1) : (s.current?.focus(),
|
|
83
|
+
const $ = O((e) => {
|
|
84
|
+
if (!A) {
|
|
85
|
+
const o = G(s.current);
|
|
86
|
+
e.nativeEvent._ori_target = o, o && e.target !== o && !o.contains(e.target) && e.preventDefault();
|
|
87
|
+
const m = u && !T && (M === "combobox" || V);
|
|
88
|
+
e.nativeEvent._select_lazy ? u && x(!1) : (s.current?.focus(), m || x());
|
|
86
89
|
}
|
|
87
|
-
|
|
90
|
+
K?.(e);
|
|
88
91
|
}), {
|
|
89
92
|
root: i
|
|
90
|
-
} = N,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
} = N, f = v(_, Q), F = J(f, {
|
|
94
|
+
aria: !0
|
|
95
|
+
}), H = Object.keys(F), U = {
|
|
96
|
+
...n,
|
|
97
|
+
onInputKeyDown: j
|
|
93
98
|
};
|
|
94
99
|
return i ? /* @__PURE__ */ t.isValidElement(i) ? /* @__PURE__ */ t.cloneElement(i, {
|
|
95
|
-
...
|
|
96
|
-
ref:
|
|
97
|
-
}) : /* @__PURE__ */ t.createElement(i,
|
|
100
|
+
...f,
|
|
101
|
+
ref: q(i.ref, a)
|
|
102
|
+
}) : /* @__PURE__ */ t.createElement(i, p({}, f, {
|
|
98
103
|
ref: a
|
|
99
|
-
})) : /* @__PURE__ */ t.createElement(
|
|
100
|
-
value:
|
|
101
|
-
}, /* @__PURE__ */ t.createElement("div",
|
|
104
|
+
})) : /* @__PURE__ */ t.createElement(z.Provider, {
|
|
105
|
+
value: U
|
|
106
|
+
}, /* @__PURE__ */ t.createElement("div", p({}, v(f, H), {
|
|
102
107
|
// Style
|
|
103
108
|
ref: a,
|
|
104
|
-
className:
|
|
105
|
-
style:
|
|
109
|
+
className: w,
|
|
110
|
+
style: P,
|
|
106
111
|
onMouseDown: $
|
|
107
|
-
}), /* @__PURE__ */ t.createElement(
|
|
108
|
-
className:
|
|
109
|
-
style:
|
|
110
|
-
},
|
|
112
|
+
}), /* @__PURE__ */ t.createElement(h, {
|
|
113
|
+
className: E(`${r}-prefix`, g?.prefix),
|
|
114
|
+
style: y?.prefix
|
|
115
|
+
}, b), /* @__PURE__ */ t.createElement(W, {
|
|
111
116
|
ref: s
|
|
112
|
-
}), /* @__PURE__ */ t.createElement(
|
|
113
|
-
className:
|
|
114
|
-
[`${
|
|
115
|
-
},
|
|
116
|
-
style:
|
|
117
|
-
}, R),
|
|
118
|
-
className:
|
|
119
|
-
style:
|
|
117
|
+
}), /* @__PURE__ */ t.createElement(h, {
|
|
118
|
+
className: E(`${r}-suffix`, {
|
|
119
|
+
[`${r}-suffix-loading`]: L
|
|
120
|
+
}, g?.suffix),
|
|
121
|
+
style: y?.suffix
|
|
122
|
+
}, R), D && /* @__PURE__ */ t.createElement(h, {
|
|
123
|
+
className: E(`${r}-clear`, g?.clear),
|
|
124
|
+
style: y?.clear,
|
|
120
125
|
onMouseDown: (e) => {
|
|
121
|
-
e.nativeEvent._select_lazy = !0,
|
|
126
|
+
e.nativeEvent._select_lazy = !0, C?.(e);
|
|
122
127
|
}
|
|
123
|
-
},
|
|
128
|
+
}, D), S));
|
|
124
129
|
});
|
|
125
130
|
export {
|
|
126
|
-
|
|
131
|
+
De as default
|
|
127
132
|
};
|
|
128
133
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@rc-component/select/es/SelectInput/index.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport Affix from \"./Affix\";\nimport SelectContent from \"./Content\";\nimport SelectInputContext from \"./context\";\nimport useBaseProps from \"../hooks/useBaseProps\";\nimport { omit, useEvent } from '@rc-component/util';\nimport KeyCode from \"@rc-component/util/es/KeyCode\";\nimport { isValidateOpenKey } from \"../utils/keyUtil\";\nimport { clsx } from 'clsx';\nimport { getDOM } from \"@rc-component/util/es/Dom/findDOMNode\";\nimport { composeRef } from \"@rc-component/util/es/ref\";\nconst DEFAULT_OMIT_PROPS = ['value', 'onChange', 'removeIcon', 'placeholder', 'maxTagCount', 'maxTagTextLength', 'maxTagPlaceholder', 'choiceTransitionName', 'onInputKeyDown', 'onPopupScroll', 'tabIndex', 'activeValue', 'onSelectorRemove', 'focused'];\nexport default /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n const {\n // Style\n prefixCls,\n className,\n style,\n // UI\n prefix,\n suffix,\n clearIcon,\n children,\n // Data\n multiple,\n displayValues,\n placeholder,\n mode,\n // Search\n searchValue,\n onSearch,\n onSearchSubmit,\n onInputBlur,\n // Input\n maxLength,\n autoFocus,\n // Events\n onMouseDown,\n onClearMouseDown,\n onInputKeyDown,\n onSelectorRemove,\n // Token handling\n tokenWithEnter,\n // Components\n components,\n ...restProps\n } = props;\n const {\n triggerOpen,\n toggleOpen,\n showSearch,\n disabled,\n loading,\n classNames,\n styles\n } = useBaseProps();\n const rootRef = React.useRef(null);\n const inputRef = React.useRef(null);\n\n // Handle keyboard events similar to original Selector\n const onInternalInputKeyDown = useEvent(event => {\n const {\n which\n } = event;\n\n // Compatible with multiple lines in TextArea\n const isTextAreaElement = inputRef.current instanceof HTMLTextAreaElement;\n\n // Prevent default behavior for up/down arrows when dropdown is open\n if (!isTextAreaElement && triggerOpen && (which === KeyCode.UP || which === KeyCode.DOWN)) {\n event.preventDefault();\n }\n\n // Call the original onInputKeyDown callback\n if (onInputKeyDown) {\n onInputKeyDown(event);\n }\n\n // Move within the text box for TextArea\n if (isTextAreaElement && !triggerOpen && ~[KeyCode.UP, KeyCode.DOWN, KeyCode.LEFT, KeyCode.RIGHT].indexOf(which)) {\n return;\n }\n\n // Open dropdown when a valid open key is pressed\n if (isValidateOpenKey(which)) {\n toggleOpen(true);\n }\n });\n\n // ====================== Refs ======================\n React.useImperativeHandle(ref, () => {\n return {\n focus: options => {\n // Focus the inner input if available, otherwise fall back to root div.\n (inputRef.current || rootRef.current).focus?.(options);\n },\n blur: () => {\n (inputRef.current || rootRef.current).blur?.();\n },\n nativeElement: rootRef.current\n };\n });\n\n // ====================== Open ======================\n const onInternalMouseDown = useEvent(event => {\n if (!disabled) {\n const inputDOM = getDOM(inputRef.current);\n\n // https://github.com/ant-design/ant-design/issues/56002\n // Tell `useSelectTriggerControl` to ignore this event\n // When icon is dynamic render, the parentNode will miss\n // so we need to mark the event directly\n event.nativeEvent._ori_target = inputDOM;\n if (inputDOM && event.target !== inputDOM && !inputDOM.contains(event.target)) {\n event.preventDefault();\n }\n\n // Check if we should prevent closing when clicking on selector\n // Don't close if: open && not multiple && (combobox mode || showSearch)\n const shouldPreventClose = triggerOpen && !multiple && (mode === 'combobox' || showSearch);\n if (!event.nativeEvent._select_lazy) {\n inputRef.current?.focus();\n\n // Only toggle open if we should not prevent close\n if (!shouldPreventClose) {\n toggleOpen();\n }\n } else if (triggerOpen) {\n // Lazy should also close when click clear icon\n toggleOpen(false);\n }\n }\n onMouseDown?.(event);\n });\n\n // =================== Components ===================\n const {\n root: RootComponent\n } = components;\n\n // ===================== Render =====================\n const domProps = omit(restProps, DEFAULT_OMIT_PROPS);\n\n // Create context value with wrapped callbacks\n const contextValue = {\n ...props,\n onInputKeyDown: onInternalInputKeyDown\n };\n if (RootComponent) {\n if ( /*#__PURE__*/React.isValidElement(RootComponent)) {\n return /*#__PURE__*/React.cloneElement(RootComponent, {\n ...domProps,\n ref: composeRef(RootComponent.ref, rootRef)\n });\n }\n return /*#__PURE__*/React.createElement(RootComponent, _extends({}, domProps, {\n ref: rootRef\n }));\n }\n return /*#__PURE__*/React.createElement(SelectInputContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, domProps, {\n // Style\n ref: rootRef,\n className: className,\n style: style\n // Mouse Events\n ,\n onMouseDown: onInternalMouseDown\n }), /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-prefix`, classNames?.prefix),\n style: styles?.prefix\n }, prefix), /*#__PURE__*/React.createElement(SelectContent, {\n ref: inputRef\n }), /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-suffix`, {\n [`${prefixCls}-suffix-loading`]: loading\n }, classNames?.suffix),\n style: styles?.suffix\n }, suffix), clearIcon && /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-clear`, classNames?.clear),\n style: styles?.clear,\n onMouseDown: e => {\n // Mark to tell not trigger open or focus\n e.nativeEvent._select_lazy = true;\n onClearMouseDown?.(e);\n }\n }, clearIcon), children));\n});"],"names":["_extends","target","i","source","key","DEFAULT_OMIT_PROPS","SelectInput","React","props","ref","prefixCls","className","style","prefix","suffix","clearIcon","children","multiple","displayValues","placeholder","mode","searchValue","onSearch","onSearchSubmit","onInputBlur","maxLength","autoFocus","onMouseDown","onClearMouseDown","onInputKeyDown","onSelectorRemove","tokenWithEnter","components","restProps","triggerOpen","toggleOpen","showSearch","disabled","loading","classNames","styles","useBaseProps","rootRef","inputRef","onInternalInputKeyDown","useEvent","event","which","isTextAreaElement","KeyCode","isValidateOpenKey","options","onInternalMouseDown","inputDOM","getDOM","shouldPreventClose","RootComponent","domProps","omit","contextValue","composeRef","SelectInputContext","Affix","clsx","SelectContent"],"mappings":";;;;;;;;;;;;AAAA,SAASA,IAAW;AAAE,SAAAA,IAAW,OAAO,SAAS,OAAO,OAAO,SAAS,SAAUC,GAAQ;AAAE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAAE,UAAIC,IAAS,UAAUD,CAAC;AAAG,eAASE,KAAOD;AAAU,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAQC,CAAG,MAAKH,EAAOG,CAAG,IAAID,EAAOC,CAAG;AAAA,IAAO;AAAE,WAAOH;AAAA,EAAQ,GAAUD,EAAS,MAAM,MAAM,SAAS;AAAG;AAYlV,MAAMK,IAAqB,CAAC,SAAS,YAAY,cAAc,eAAe,eAAe,oBAAoB,qBAAqB,wBAAwB,kBAAkB,iBAAiB,YAAY,eAAe,oBAAoB,SAAS,GACzPC,KAA4B,gBAAAC,EAAM,WAAW,SAAqBC,G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AA;AAAA,IAEhE,KAAKf;AAAA,IACL,WAAW/B;AAAA,IACX,OAAOC;AAAA,IAGP,aAAawC;AAAA,EACjB,CAAG,GAAgB,gBAAA7C,EAAM,cAAcuD,GAAO;AAAA,IAC1C,WAAWC,EAAK,GAAGrD,CAAS,WAAW6B,GAAY,MAAM;AAAA,IACzD,OAAOC,GAAQ;AAAA,EACnB,GAAK3B,CAAM,GAAgB,gBAAAN,EAAM,cAAcyD,GAAe;AAAA,IAC1D,KAAKrB;AAAA,EACT,CAAG,GAAgB,gBAAApC,EAAM,cAAcuD,GAAO;AAAA,IAC1C,WAAWC,EAAK,GAAGrD,CAAS,WAAW;AAAA,MACrC,CAAC,GAAGA,CAAS,iBAAiB,GAAG4B;AAAA,IACvC,GAAOC,GAAY,MAAM;AAAA,IACrB,OAAOC,GAAQ;AAAA,EACnB,GAAK1B,CAAM,GAAGC,KAA0B,gBAAAR,EAAM,cAAcuD,GAAO;AAAA,IAC/D,WAAWC,EAAK,GAAGrD,CAAS,UAAU6B,GAAY,KAAK;AAAA,IACvD,OAAOC,GAAQ;AAAA,IACf,aAAa,OAAK;AAEhB,QAAE,YAAY,eAAe,IAC7BZ,IAAmB,CAAC;AAAA,IACtB;AAAA,EACJ,GAAKb,CAAS,GAAGC,CAAQ,CAAC;AAC1B,CAAC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@rc-component/select/es/SelectInput/index.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from 'react';\nimport Affix from \"./Affix\";\nimport SelectContent from \"./Content\";\nimport SelectInputContext from \"./context\";\nimport useBaseProps from \"../hooks/useBaseProps\";\nimport { omit, useEvent } from '@rc-component/util';\nimport KeyCode from \"@rc-component/util/es/KeyCode\";\nimport { isValidateOpenKey } from \"../utils/keyUtil\";\nimport { clsx } from 'clsx';\nimport { getDOM } from \"@rc-component/util/es/Dom/findDOMNode\";\nimport { composeRef } from \"@rc-component/util/es/ref\";\nimport pickAttrs from \"@rc-component/util/es/pickAttrs\";\nconst DEFAULT_OMIT_PROPS = ['value', 'onChange', 'removeIcon', 'placeholder', 'maxTagCount', 'maxTagTextLength', 'maxTagPlaceholder', 'choiceTransitionName', 'onInputKeyDown', 'onPopupScroll', 'tabIndex', 'activeValue', 'onSelectorRemove', 'focused'];\nexport default /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n const {\n // Style\n prefixCls,\n className,\n style,\n // UI\n prefix,\n suffix,\n clearIcon,\n children,\n // Data\n multiple,\n displayValues,\n placeholder,\n mode,\n // Search\n searchValue,\n onSearch,\n onSearchSubmit,\n onInputBlur,\n // Input\n maxLength,\n autoFocus,\n // Events\n onMouseDown,\n onClearMouseDown,\n onInputKeyDown,\n onSelectorRemove,\n // Token handling\n tokenWithEnter,\n // Components\n components,\n ...restProps\n } = props;\n const {\n triggerOpen,\n toggleOpen,\n showSearch,\n disabled,\n loading,\n classNames,\n styles\n } = useBaseProps();\n const rootRef = React.useRef(null);\n const inputRef = React.useRef(null);\n\n // Handle keyboard events similar to original Selector\n const onInternalInputKeyDown = useEvent(event => {\n const {\n which\n } = event;\n\n // Compatible with multiple lines in TextArea\n const isTextAreaElement = inputRef.current instanceof HTMLTextAreaElement;\n\n // Prevent default behavior for up/down arrows when dropdown is open\n if (!isTextAreaElement && triggerOpen && (which === KeyCode.UP || which === KeyCode.DOWN)) {\n event.preventDefault();\n }\n\n // Call the original onInputKeyDown callback\n if (onInputKeyDown) {\n onInputKeyDown(event);\n }\n\n // Move within the text box for TextArea\n if (isTextAreaElement && !triggerOpen && ~[KeyCode.UP, KeyCode.DOWN, KeyCode.LEFT, KeyCode.RIGHT].indexOf(which)) {\n return;\n }\n\n // Open dropdown when a valid open key is pressed\n const isModifier = event.ctrlKey || event.altKey || event.metaKey;\n if (!isModifier && isValidateOpenKey(which)) {\n toggleOpen(true);\n }\n });\n\n // ====================== Refs ======================\n React.useImperativeHandle(ref, () => {\n return {\n focus: options => {\n // Focus the inner input if available, otherwise fall back to root div.\n (inputRef.current || rootRef.current).focus?.(options);\n },\n blur: () => {\n (inputRef.current || rootRef.current).blur?.();\n },\n nativeElement: rootRef.current\n };\n });\n\n // ====================== Open ======================\n const onInternalMouseDown = useEvent(event => {\n if (!disabled) {\n const inputDOM = getDOM(inputRef.current);\n\n // https://github.com/ant-design/ant-design/issues/56002\n // Tell `useSelectTriggerControl` to ignore this event\n // When icon is dynamic render, the parentNode will miss\n // so we need to mark the event directly\n event.nativeEvent._ori_target = inputDOM;\n if (inputDOM && event.target !== inputDOM && !inputDOM.contains(event.target)) {\n event.preventDefault();\n }\n\n // Check if we should prevent closing when clicking on selector\n // Don't close if: open && not multiple && (combobox mode || showSearch)\n const shouldPreventClose = triggerOpen && !multiple && (mode === 'combobox' || showSearch);\n if (!event.nativeEvent._select_lazy) {\n inputRef.current?.focus();\n\n // Only toggle open if we should not prevent close\n if (!shouldPreventClose) {\n toggleOpen();\n }\n } else if (triggerOpen) {\n // Lazy should also close when click clear icon\n toggleOpen(false);\n }\n }\n onMouseDown?.(event);\n });\n\n // =================== Components ===================\n const {\n root: RootComponent\n } = components;\n\n // ===================== Render =====================\n const domProps = omit(restProps, DEFAULT_OMIT_PROPS);\n const ariaProps = pickAttrs(domProps, {\n aria: true\n });\n const ariaKeys = Object.keys(ariaProps);\n\n // Create context value with wrapped callbacks\n const contextValue = {\n ...props,\n onInputKeyDown: onInternalInputKeyDown\n };\n if (RootComponent) {\n if ( /*#__PURE__*/React.isValidElement(RootComponent)) {\n return /*#__PURE__*/React.cloneElement(RootComponent, {\n ...domProps,\n ref: composeRef(RootComponent.ref, rootRef)\n });\n }\n return /*#__PURE__*/React.createElement(RootComponent, _extends({}, domProps, {\n ref: rootRef\n }));\n }\n return /*#__PURE__*/React.createElement(SelectInputContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, omit(domProps, ariaKeys), {\n // Style\n ref: rootRef,\n className: className,\n style: style\n // Mouse Events\n ,\n onMouseDown: onInternalMouseDown\n }), /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-prefix`, classNames?.prefix),\n style: styles?.prefix\n }, prefix), /*#__PURE__*/React.createElement(SelectContent, {\n ref: inputRef\n }), /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-suffix`, {\n [`${prefixCls}-suffix-loading`]: loading\n }, classNames?.suffix),\n style: styles?.suffix\n }, suffix), clearIcon && /*#__PURE__*/React.createElement(Affix, {\n className: clsx(`${prefixCls}-clear`, classNames?.clear),\n style: styles?.clear,\n onMouseDown: e => {\n // Mark to tell not trigger open or focus\n e.nativeEvent._select_lazy = true;\n onClearMouseDown?.(e);\n }\n }, clearIcon), children));\n});"],"names":["_extends","target","i","source","key","DEFAULT_OMIT_PROPS","SelectInput","React","props","ref","prefixCls","className","style","prefix","suffix","clearIcon","children","multiple","displayValues","placeholder","mode","searchValue","onSearch","onSearchSubmit","onInputBlur","maxLength","autoFocus","onMouseDown","onClearMouseDown","onInputKeyDown","onSelectorRemove","tokenWithEnter","components","restProps","triggerOpen","toggleOpen","showSearch","disabled","loading","classNames","styles","useBaseProps","rootRef","inputRef","onInternalInputKeyDown","useEvent","event","which","isTextAreaElement","KeyCode","isValidateOpenKey","options","onInternalMouseDown","inputDOM","getDOM","shouldPreventClose","RootComponent","domProps","omit","ariaProps","pickAttrs","ariaKeys","contextValue","composeRef","SelectInputContext","Affix","clsx","SelectContent"],"mappings":";;;;;;;;;;;;;AAAA,SAASA,IAAW;AAAE,SAAAA,IAAW,OAAO,SAAS,OAAO,OAAO,SAAS,SAAUC,GAAQ;AAAE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAAE,UAAIC,IAAS,UAAUD,CAAC;AAAG,eAAS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