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,57 +1,58 @@
|
|
|
1
1
|
import { unit as e } from "../../../../@ant-design/cssinjs/es/util/index.js";
|
|
2
|
-
import { genPlaceholderStyle as
|
|
3
|
-
import { genBorderlessStyle as
|
|
4
|
-
import { resetComponent as
|
|
5
|
-
import { genCompactItemStyle as
|
|
6
|
-
import { genStyleHooks as
|
|
7
|
-
import { prepareComponentToken as
|
|
8
|
-
import { merge as
|
|
9
|
-
import { initInputToken as
|
|
10
|
-
const
|
|
2
|
+
import { genPlaceholderStyle as T, genBasicInputStyle as A } from "../../input/style/index.js";
|
|
3
|
+
import { genBorderlessStyle as F, genUnderlinedStyle as M, genFilledStyle as R, genOutlinedStyle as G } from "../../input/style/variants.js";
|
|
4
|
+
import { resetComponent as s, resetIcon as L } from "../../style/index.js";
|
|
5
|
+
import { genCompactItemStyle as N } from "../../style/compact-item.js";
|
|
6
|
+
import { genStyleHooks as D, genCssVar as O } from "../../theme/util/genStyleUtils.js";
|
|
7
|
+
import { prepareComponentToken as P } from "./token.js";
|
|
8
|
+
import { merge as V } from "../../../../@ant-design/cssinjs-utils/es/util/statistic.js";
|
|
9
|
+
import { initInputToken as j } from "../../input/style/token.js";
|
|
10
|
+
const U = (i) => {
|
|
11
11
|
const {
|
|
12
12
|
componentCls: n,
|
|
13
|
-
lineWidth:
|
|
14
|
-
lineType:
|
|
15
|
-
borderRadius:
|
|
16
|
-
inputFontSizeSM:
|
|
17
|
-
inputFontSizeLG:
|
|
18
|
-
colorError:
|
|
19
|
-
paddingInlineSM:
|
|
20
|
-
paddingBlockSM:
|
|
13
|
+
lineWidth: l,
|
|
14
|
+
lineType: u,
|
|
15
|
+
borderRadius: p,
|
|
16
|
+
inputFontSizeSM: g,
|
|
17
|
+
inputFontSizeLG: h,
|
|
18
|
+
colorError: m,
|
|
19
|
+
paddingInlineSM: f,
|
|
20
|
+
paddingBlockSM: $,
|
|
21
21
|
paddingBlockLG: b,
|
|
22
|
-
paddingInlineLG:
|
|
23
|
-
colorIcon:
|
|
24
|
-
motionDurationMid:
|
|
25
|
-
handleHoverColor:
|
|
26
|
-
handleOpacity:
|
|
27
|
-
paddingInline:
|
|
28
|
-
paddingBlock:
|
|
22
|
+
paddingInlineLG: S,
|
|
23
|
+
colorIcon: y,
|
|
24
|
+
motionDurationMid: r,
|
|
25
|
+
handleHoverColor: I,
|
|
26
|
+
handleOpacity: w,
|
|
27
|
+
paddingInline: x,
|
|
28
|
+
paddingBlock: B,
|
|
29
29
|
handleBg: d,
|
|
30
|
-
handleActiveBg:
|
|
31
|
-
inputAffixPadding:
|
|
32
|
-
borderRadiusSM:
|
|
33
|
-
controlWidth:
|
|
34
|
-
handleBorderColor:
|
|
35
|
-
filledHandleBg:
|
|
36
|
-
lineHeightLG:
|
|
37
|
-
|
|
30
|
+
handleActiveBg: v,
|
|
31
|
+
inputAffixPadding: c,
|
|
32
|
+
borderRadiusSM: C,
|
|
33
|
+
controlWidth: k,
|
|
34
|
+
handleBorderColor: z,
|
|
35
|
+
filledHandleBg: E,
|
|
36
|
+
lineHeightLG: H,
|
|
37
|
+
antCls: W
|
|
38
|
+
} = i, t = `${e(l)} ${u} ${z}`, [o, a] = O(W, "input-number");
|
|
38
39
|
return [
|
|
39
40
|
// ==========================================================
|
|
40
41
|
// == Base ==
|
|
41
42
|
// ==========================================================
|
|
42
43
|
{
|
|
43
44
|
[n]: {
|
|
44
|
-
...
|
|
45
|
-
...
|
|
46
|
-
"
|
|
47
|
-
"
|
|
45
|
+
...s(i),
|
|
46
|
+
...A(i),
|
|
47
|
+
[o("input-padding-block")]: e(B),
|
|
48
|
+
[o("input-padding-inline")]: e(x),
|
|
48
49
|
display: "inline-flex",
|
|
49
|
-
width:
|
|
50
|
+
width: k,
|
|
50
51
|
margin: 0,
|
|
51
52
|
paddingBlock: 0,
|
|
52
|
-
borderRadius:
|
|
53
|
+
borderRadius: p,
|
|
53
54
|
// ======================= Variants =======================
|
|
54
|
-
...
|
|
55
|
+
...G(i, {
|
|
55
56
|
[`${n}-actions`]: {
|
|
56
57
|
background: d,
|
|
57
58
|
[`${n}-action-down`]: {
|
|
@@ -59,9 +60,9 @@ const O = (i) => {
|
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
}),
|
|
62
|
-
...
|
|
63
|
+
...R(i, {
|
|
63
64
|
[`${n}-actions`]: {
|
|
64
|
-
background:
|
|
65
|
+
background: E,
|
|
65
66
|
[`${n}-action-down`]: {
|
|
66
67
|
borderBlockStart: t
|
|
67
68
|
}
|
|
@@ -72,7 +73,7 @@ const O = (i) => {
|
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
}),
|
|
75
|
-
...
|
|
76
|
+
...M(i, {
|
|
76
77
|
[`${n}-actions`]: {
|
|
77
78
|
background: d,
|
|
78
79
|
[`${n}-action-down`]: {
|
|
@@ -80,7 +81,7 @@ const O = (i) => {
|
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
}),
|
|
83
|
-
...
|
|
84
|
+
...F(i),
|
|
84
85
|
// ========================= RTL ==========================
|
|
85
86
|
"&-rtl": {
|
|
86
87
|
direction: "rtl",
|
|
@@ -91,24 +92,24 @@ const O = (i) => {
|
|
|
91
92
|
// ===================== Out Of Range =====================
|
|
92
93
|
[`&${n}-out-of-range`]: {
|
|
93
94
|
[`${n}-input`]: {
|
|
94
|
-
color:
|
|
95
|
+
color: m
|
|
95
96
|
}
|
|
96
97
|
},
|
|
97
98
|
// ======================== Input =========================
|
|
98
99
|
[`${n}-input`]: {
|
|
99
|
-
...
|
|
100
|
+
...s(i),
|
|
100
101
|
width: "100%",
|
|
101
|
-
paddingBlock: "
|
|
102
|
+
paddingBlock: a("input-padding-block"),
|
|
102
103
|
textAlign: "start",
|
|
103
104
|
backgroundColor: "transparent",
|
|
104
105
|
border: 0,
|
|
105
|
-
borderRadius:
|
|
106
|
+
borderRadius: p,
|
|
106
107
|
outline: 0,
|
|
107
|
-
transition: `all ${
|
|
108
|
+
transition: `all ${r} linear`,
|
|
108
109
|
appearance: "textfield",
|
|
109
110
|
fontSize: "inherit",
|
|
110
111
|
lineHeight: "inherit",
|
|
111
|
-
...
|
|
112
|
+
...T(i.colorTextPlaceholder),
|
|
112
113
|
'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button': {
|
|
113
114
|
margin: 0,
|
|
114
115
|
appearance: "none"
|
|
@@ -138,20 +139,20 @@ const O = (i) => {
|
|
|
138
139
|
cursor: "not-allowed"
|
|
139
140
|
},
|
|
140
141
|
[`${n}-action`]: {
|
|
141
|
-
...
|
|
142
|
+
...L(),
|
|
142
143
|
userSelect: "none",
|
|
143
144
|
overflow: "hidden",
|
|
144
145
|
fontWeight: "bold",
|
|
145
146
|
lineHeight: 0,
|
|
146
147
|
textAlign: "center",
|
|
147
148
|
cursor: "pointer",
|
|
148
|
-
transition: `all ${
|
|
149
|
+
transition: `all ${r} linear`,
|
|
149
150
|
"&:active": {
|
|
150
|
-
background:
|
|
151
|
+
background: v
|
|
151
152
|
},
|
|
152
153
|
// Hover
|
|
153
154
|
"&:hover": {
|
|
154
|
-
color:
|
|
155
|
+
color: I
|
|
155
156
|
}
|
|
156
157
|
},
|
|
157
158
|
// ===================== Input Mode =====================
|
|
@@ -162,13 +163,13 @@ const O = (i) => {
|
|
|
162
163
|
insetBlockStart: 0,
|
|
163
164
|
insetInlineEnd: 0,
|
|
164
165
|
width: i.handleVisibleWidth,
|
|
165
|
-
opacity:
|
|
166
|
+
opacity: w,
|
|
166
167
|
height: "100%",
|
|
167
168
|
borderRadius: 0,
|
|
168
169
|
display: "flex",
|
|
169
170
|
flexDirection: "column",
|
|
170
171
|
alignItems: "stretch",
|
|
171
|
-
transition: `all ${
|
|
172
|
+
transition: `all ${r}`,
|
|
172
173
|
overflow: "hidden",
|
|
173
174
|
// Fix input number inside Menu makes icon too large
|
|
174
175
|
// We arise the selector priority by nest selector here
|
|
@@ -188,7 +189,7 @@ const O = (i) => {
|
|
|
188
189
|
opacity: 1
|
|
189
190
|
},
|
|
190
191
|
[`${n}-action`]: {
|
|
191
|
-
color:
|
|
192
|
+
color: y,
|
|
192
193
|
height: "50%",
|
|
193
194
|
borderInlineStart: t,
|
|
194
195
|
// Hover
|
|
@@ -208,7 +209,7 @@ const O = (i) => {
|
|
|
208
209
|
width: "auto",
|
|
209
210
|
[`${n}-action`]: {
|
|
210
211
|
flex: "none",
|
|
211
|
-
paddingInline: "
|
|
212
|
+
paddingInline: a("input-padding-inline"),
|
|
212
213
|
"&-up": {
|
|
213
214
|
borderInlineStart: t
|
|
214
215
|
},
|
|
@@ -218,7 +219,7 @@ const O = (i) => {
|
|
|
218
219
|
},
|
|
219
220
|
[`${n}-input`]: {
|
|
220
221
|
textAlign: "center",
|
|
221
|
-
paddingInline: "
|
|
222
|
+
paddingInline: a("input-padding-inline")
|
|
222
223
|
}
|
|
223
224
|
}
|
|
224
225
|
}
|
|
@@ -229,18 +230,18 @@ const O = (i) => {
|
|
|
229
230
|
{
|
|
230
231
|
[n]: {
|
|
231
232
|
"&-lg": {
|
|
232
|
-
"
|
|
233
|
-
"
|
|
233
|
+
[o("input-padding-block")]: e(b),
|
|
234
|
+
[o("input-padding-inline")]: e(S),
|
|
234
235
|
paddingBlock: 0,
|
|
235
|
-
fontSize:
|
|
236
|
-
lineHeight:
|
|
236
|
+
fontSize: h,
|
|
237
|
+
lineHeight: H
|
|
237
238
|
},
|
|
238
239
|
"&-sm": {
|
|
239
|
-
"
|
|
240
|
-
"
|
|
240
|
+
[o("input-padding-block")]: e($),
|
|
241
|
+
[o("input-padding-inline")]: e(f),
|
|
241
242
|
paddingBlock: 0,
|
|
242
|
-
fontSize:
|
|
243
|
-
borderRadius:
|
|
243
|
+
fontSize: g,
|
|
244
|
+
borderRadius: C
|
|
244
245
|
}
|
|
245
246
|
}
|
|
246
247
|
},
|
|
@@ -257,12 +258,12 @@ const O = (i) => {
|
|
|
257
258
|
pointerEvents: "none"
|
|
258
259
|
},
|
|
259
260
|
[`${n}-prefix`]: {
|
|
260
|
-
marginInlineEnd:
|
|
261
|
+
marginInlineEnd: c
|
|
261
262
|
},
|
|
262
263
|
[`${n}-suffix`]: {
|
|
263
264
|
height: "100%",
|
|
264
|
-
marginInlineStart:
|
|
265
|
-
transition: `margin ${
|
|
265
|
+
marginInlineStart: c,
|
|
266
|
+
transition: `margin ${r}`
|
|
266
267
|
},
|
|
267
268
|
[`&:hover:not(${n}-without-controls)`]: {
|
|
268
269
|
[`${n}-suffix`]: {
|
|
@@ -272,36 +273,36 @@ const O = (i) => {
|
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
];
|
|
275
|
-
},
|
|
276
|
+
}, q = (i) => {
|
|
276
277
|
const {
|
|
277
278
|
componentCls: n,
|
|
278
|
-
antCls:
|
|
279
|
+
antCls: l
|
|
279
280
|
} = i;
|
|
280
281
|
return {
|
|
281
282
|
[`${n}-addon`]: {
|
|
282
|
-
[`&:has(${
|
|
283
|
+
[`&:has(${l}-select)`]: {
|
|
283
284
|
border: 0,
|
|
284
285
|
padding: 0
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
288
|
};
|
|
288
|
-
},
|
|
289
|
-
const n =
|
|
289
|
+
}, tn = D("InputNumber", (i) => {
|
|
290
|
+
const n = V(i, j(i));
|
|
290
291
|
return [
|
|
291
|
-
|
|
292
|
-
|
|
292
|
+
U(n),
|
|
293
|
+
q(n),
|
|
293
294
|
// =====================================================
|
|
294
295
|
// == Space Compact ==
|
|
295
296
|
// =====================================================
|
|
296
|
-
|
|
297
|
+
N(n)
|
|
297
298
|
];
|
|
298
|
-
},
|
|
299
|
+
}, P, {
|
|
299
300
|
unitless: {
|
|
300
301
|
handleOpacity: !0
|
|
301
302
|
},
|
|
302
303
|
resetFont: !1
|
|
303
304
|
});
|
|
304
305
|
export {
|
|
305
|
-
|
|
306
|
+
tn as default
|
|
306
307
|
};
|
|
307
308
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input-number/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { prepareComponentToken } from './token';\nconst genInputNumberStyles = token => {\n const {\n componentCls,\n lineWidth,\n lineType,\n borderRadius,\n inputFontSizeSM,\n inputFontSizeLG,\n colorError,\n paddingInlineSM,\n paddingBlockSM,\n paddingBlockLG,\n paddingInlineLG,\n colorIcon,\n motionDurationMid,\n handleHoverColor,\n handleOpacity,\n paddingInline,\n paddingBlock,\n handleBg,\n handleActiveBg,\n inputAffixPadding,\n borderRadiusSM,\n controlWidth,\n handleBorderColor,\n filledHandleBg,\n lineHeightLG\n } = token;\n const borderStyle = `${unit(lineWidth)} ${lineType} ${handleBorderColor}`;\n return [\n // ==========================================================\n // == Base ==\n // ==========================================================\n {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n '--input-number-input-padding-block': unit(paddingBlock),\n '--input-number-input-padding-inline': unit(paddingInline),\n display: 'inline-flex',\n width: controlWidth,\n margin: 0,\n paddingBlock: 0,\n borderRadius,\n // ======================= Variants =======================\n ...genOutlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genFilledStyle(token, {\n [`${componentCls}-actions`]: {\n background: filledHandleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n },\n '&:focus-within': {\n [`${componentCls}-actions`]: {\n background: handleBg\n }\n }\n }),\n ...genUnderlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genBorderlessStyle(token),\n // ========================= RTL ==========================\n '&-rtl': {\n direction: 'rtl',\n [`${componentCls}-input`]: {\n direction: 'rtl'\n }\n },\n // ===================== Out Of Range =====================\n [`&${componentCls}-out-of-range`]: {\n [`${componentCls}-input`]: {\n color: colorError\n }\n },\n // ======================== Input =========================\n [`${componentCls}-input`]: {\n ...resetComponent(token),\n width: '100%',\n paddingBlock: `var(--input-number-input-padding-block)`,\n textAlign: 'start',\n backgroundColor: 'transparent',\n border: 0,\n borderRadius,\n outline: 0,\n transition: `all ${motionDurationMid} linear`,\n appearance: 'textfield',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n margin: 0,\n appearance: 'none'\n }\n },\n [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n width: token.handleWidth,\n opacity: 1\n },\n // ======================= Disabled =======================\n [`&-disabled ${componentCls}-input`]: {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n }\n },\n // ==========================================================\n // == Action ==\n // ==========================================================\n {\n [componentCls]: {\n // ======================= Shared =======================\n [`\n ${componentCls}-action-up-disabled,\n ${componentCls}-action-down-disabled\n `]: {\n cursor: 'not-allowed'\n },\n [`${componentCls}-action`]: {\n ...resetIcon(),\n userSelect: 'none',\n overflow: 'hidden',\n fontWeight: 'bold',\n lineHeight: 0,\n textAlign: 'center',\n cursor: 'pointer',\n transition: `all ${motionDurationMid} linear`,\n '&:active': {\n background: handleActiveBg\n },\n // Hover\n '&:hover': {\n color: handleHoverColor\n }\n },\n // ===================== Input Mode =====================\n '&-mode-input': {\n overflow: 'hidden',\n [`${componentCls}-actions`]: {\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineEnd: 0,\n width: token.handleVisibleWidth,\n opacity: handleOpacity,\n height: '100%',\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n transition: `all ${motionDurationMid}`,\n overflow: 'hidden',\n // Fix input number inside Menu makes icon too large\n // We arise the selector priority by nest selector here\n // https://github.com/ant-design/ant-design/issues/14367\n [`${componentCls}-action`]: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 'auto',\n height: '40%',\n marginInlineEnd: 0,\n fontSize: token.handleFontSize\n }\n },\n [`&:hover ${componentCls}-actions, &-focused ${componentCls}-actions`]: {\n width: token.handleWidth,\n opacity: 1\n },\n [`${componentCls}-action`]: {\n color: colorIcon,\n height: '50%',\n borderInlineStart: borderStyle,\n // Hover\n '&:hover': {\n height: `60%`\n }\n },\n [`&${componentCls}-disabled, &${componentCls}-readonly`]: {\n [`${componentCls}-actions`]: {\n display: 'none'\n }\n }\n },\n // ==================== Spinner Mode ====================\n [`&${componentCls}-mode-spinner`]: {\n padding: 0,\n width: 'auto',\n [`${componentCls}-action`]: {\n flex: 'none',\n paddingInline: 'var(--input-number-input-padding-inline)',\n '&-up': {\n borderInlineStart: borderStyle\n },\n '&-down': {\n borderInlineEnd: borderStyle\n }\n },\n [`${componentCls}-input`]: {\n textAlign: 'center',\n paddingInline: 'var(--input-number-input-padding-inline)'\n }\n }\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n {\n [componentCls]: {\n '&-lg': {\n '--input-number-input-padding-block': unit(paddingBlockLG),\n '--input-number-input-padding-inline': unit(paddingInlineLG),\n paddingBlock: 0,\n fontSize: inputFontSizeLG,\n lineHeight: lineHeightLG\n },\n '&-sm': {\n '--input-number-input-padding-block': unit(paddingBlockSM),\n '--input-number-input-padding-inline': unit(paddingInlineSM),\n paddingBlock: 0,\n fontSize: inputFontSizeSM,\n borderRadius: borderRadiusSM\n }\n }\n },\n // ==========================================================\n // == Pre/Suffix ==\n // ==========================================================\n {\n [componentCls]: {\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n alignSelf: 'center',\n pointerEvents: 'none'\n },\n [`${componentCls}-prefix`]: {\n marginInlineEnd: inputAffixPadding\n },\n [`${componentCls}-suffix`]: {\n height: '100%',\n marginInlineStart: inputAffixPadding,\n transition: `margin ${motionDurationMid}`\n },\n [`&:hover:not(${componentCls}-without-controls)`]: {\n [`${componentCls}-suffix`]: {\n marginInlineEnd: token.handleWidth\n }\n }\n }\n }];\n};\nconst genCompatibleStyles = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n [`${componentCls}-addon`]: {\n [`&:has(${antCls}-select)`]: {\n border: 0,\n padding: 0\n }\n }\n };\n};\nexport default genStyleHooks('InputNumber', token => {\n const inputNumberToken = mergeToken(token, initInputToken(token));\n return [genInputNumberStyles(inputNumberToken), genCompatibleStyles(inputNumberToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n unitless: {\n handleOpacity: true\n },\n resetFont: false\n});"],"names":["genInputNumberStyles","token","componentCls","lineWidth","lineType","borderRadius","inputFontSizeSM","inputFontSizeLG","colorError","paddingInlineSM","paddingBlockSM","paddingBlockLG","paddingInlineLG","colorIcon","motionDurationMid","handleHoverColor","handleOpacity","paddingInline","paddingBlock","handleBg","handleActiveBg","inputAffixPadding","borderRadiusSM","controlWidth","handleBorderColor","filledHandleBg","lineHeightLG","borderStyle","unit","resetComponent","genBasicInputStyle","genOutlinedStyle","genFilledStyle","genUnderlinedStyle","genBorderlessStyle","genPlaceholderStyle","resetIcon","genCompatibleStyles","antCls","useStyle","genStyleHooks","inputNumberToken","mergeToken","initInputToken","genCompactItemStyle","prepareComponentToken"],"mappings":";;;;;;;;;AAOA,MAAMA,IAAuB,CAAAC,MAAS;AACpC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,EACJ,IAAMzB,GACE0B,IAAc,GAAGC,EAAKzB,CAAS,CAAC,IAAIC,CAAQ,IAAIoB,CAAiB;AACvE,SAAO;AAAA;AAAA;AAAA;AAAA,IAIP;AAAA,MACE,CAACtB,CAAY,GAAG;AAAA,QACd,GAAG2B,EAAe5B,CAAK;AAAA,QACvB,GAAG6B,EAAmB7B,CAAK;AAAA,QAC3B,sCAAsC2B,EAAKV,CAAY;AAAA,QACvD,uCAAuCU,EAAKX,CAAa;AAAA,QACzD,SAAS;AAAA,QACT,OAAOM;AAAA,QACP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ACnD,QAAMwC,IAAmBC,EAAWzC,GAAO0C,EAAe1C,CAAK,CAAC;AAChE,SAAO;AAAA,IAACD,EAAqByC,CAAgB;AAAA,IAAGJ,EAAoBI,CAAgB;AAAA;AAAA;AAAA;AAAA,IAIpFG,EAAoBH,CAAgB;AAAA,EAAC;AACvC,GAAGI,GAAuB;AAAA,EACxB,UAAU;AAAA,IACR,eAAe;AAAA,EACnB;AAAA,EACE,WAAW;AACb,CAAC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input-number/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { genCssVar } from '../../theme/util/genStyleUtils';\nimport { prepareComponentToken } from './token';\nconst genInputNumberStyles = token => {\n const {\n componentCls,\n lineWidth,\n lineType,\n borderRadius,\n inputFontSizeSM,\n inputFontSizeLG,\n colorError,\n paddingInlineSM,\n paddingBlockSM,\n paddingBlockLG,\n paddingInlineLG,\n colorIcon,\n motionDurationMid,\n handleHoverColor,\n handleOpacity,\n paddingInline,\n paddingBlock,\n handleBg,\n handleActiveBg,\n inputAffixPadding,\n borderRadiusSM,\n controlWidth,\n handleBorderColor,\n filledHandleBg,\n lineHeightLG,\n antCls\n } = token;\n const borderStyle = `${unit(lineWidth)} ${lineType} ${handleBorderColor}`;\n const [varName, varRef] = genCssVar(antCls, 'input-number');\n return [\n // ==========================================================\n // == Base ==\n // ==========================================================\n {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n [varName('input-padding-block')]: unit(paddingBlock),\n [varName('input-padding-inline')]: unit(paddingInline),\n display: 'inline-flex',\n width: controlWidth,\n margin: 0,\n paddingBlock: 0,\n borderRadius,\n // ======================= Variants =======================\n ...genOutlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genFilledStyle(token, {\n [`${componentCls}-actions`]: {\n background: filledHandleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n },\n '&:focus-within': {\n [`${componentCls}-actions`]: {\n background: handleBg\n }\n }\n }),\n ...genUnderlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genBorderlessStyle(token),\n // ========================= RTL ==========================\n '&-rtl': {\n direction: 'rtl',\n [`${componentCls}-input`]: {\n direction: 'rtl'\n }\n },\n // ===================== Out Of Range =====================\n [`&${componentCls}-out-of-range`]: {\n [`${componentCls}-input`]: {\n color: colorError\n }\n },\n // ======================== Input =========================\n [`${componentCls}-input`]: {\n ...resetComponent(token),\n width: '100%',\n paddingBlock: varRef('input-padding-block'),\n textAlign: 'start',\n backgroundColor: 'transparent',\n border: 0,\n borderRadius,\n outline: 0,\n transition: `all ${motionDurationMid} linear`,\n appearance: 'textfield',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n margin: 0,\n appearance: 'none'\n }\n },\n [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n width: token.handleWidth,\n opacity: 1\n },\n // ======================= Disabled =======================\n [`&-disabled ${componentCls}-input`]: {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n }\n },\n // ==========================================================\n // == Action ==\n // ==========================================================\n {\n [componentCls]: {\n // ======================= Shared =======================\n [`\n ${componentCls}-action-up-disabled,\n ${componentCls}-action-down-disabled\n `]: {\n cursor: 'not-allowed'\n },\n [`${componentCls}-action`]: {\n ...resetIcon(),\n userSelect: 'none',\n overflow: 'hidden',\n fontWeight: 'bold',\n lineHeight: 0,\n textAlign: 'center',\n cursor: 'pointer',\n transition: `all ${motionDurationMid} linear`,\n '&:active': {\n background: handleActiveBg\n },\n // Hover\n '&:hover': {\n color: handleHoverColor\n }\n },\n // ===================== Input Mode =====================\n '&-mode-input': {\n overflow: 'hidden',\n [`${componentCls}-actions`]: {\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineEnd: 0,\n width: token.handleVisibleWidth,\n opacity: handleOpacity,\n height: '100%',\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n transition: `all ${motionDurationMid}`,\n overflow: 'hidden',\n // Fix input number inside Menu makes icon too large\n // We arise the selector priority by nest selector here\n // https://github.com/ant-design/ant-design/issues/14367\n [`${componentCls}-action`]: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 'auto',\n height: '40%',\n marginInlineEnd: 0,\n fontSize: token.handleFontSize\n }\n },\n [`&:hover ${componentCls}-actions, &-focused ${componentCls}-actions`]: {\n width: token.handleWidth,\n opacity: 1\n },\n [`${componentCls}-action`]: {\n color: colorIcon,\n height: '50%',\n borderInlineStart: borderStyle,\n // Hover\n '&:hover': {\n height: `60%`\n }\n },\n [`&${componentCls}-disabled, &${componentCls}-readonly`]: {\n [`${componentCls}-actions`]: {\n display: 'none'\n }\n }\n },\n // ==================== Spinner Mode ====================\n [`&${componentCls}-mode-spinner`]: {\n padding: 0,\n width: 'auto',\n [`${componentCls}-action`]: {\n flex: 'none',\n paddingInline: varRef('input-padding-inline'),\n '&-up': {\n borderInlineStart: borderStyle\n },\n '&-down': {\n borderInlineEnd: borderStyle\n }\n },\n [`${componentCls}-input`]: {\n textAlign: 'center',\n paddingInline: varRef('input-padding-inline')\n }\n }\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n {\n [componentCls]: {\n '&-lg': {\n [varName('input-padding-block')]: unit(paddingBlockLG),\n [varName('input-padding-inline')]: unit(paddingInlineLG),\n paddingBlock: 0,\n fontSize: inputFontSizeLG,\n lineHeight: lineHeightLG\n },\n '&-sm': {\n [varName('input-padding-block')]: unit(paddingBlockSM),\n [varName('input-padding-inline')]: unit(paddingInlineSM),\n paddingBlock: 0,\n fontSize: inputFontSizeSM,\n borderRadius: borderRadiusSM\n }\n }\n },\n // ==========================================================\n // == Pre/Suffix ==\n // ==========================================================\n {\n [componentCls]: {\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n alignSelf: 'center',\n pointerEvents: 'none'\n },\n [`${componentCls}-prefix`]: {\n marginInlineEnd: inputAffixPadding\n },\n [`${componentCls}-suffix`]: {\n height: '100%',\n marginInlineStart: inputAffixPadding,\n transition: `margin ${motionDurationMid}`\n },\n [`&:hover:not(${componentCls}-without-controls)`]: {\n [`${componentCls}-suffix`]: {\n marginInlineEnd: token.handleWidth\n }\n }\n }\n }];\n};\nconst genCompatibleStyles = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n [`${componentCls}-addon`]: {\n [`&:has(${antCls}-select)`]: {\n border: 0,\n padding: 0\n }\n }\n };\n};\nexport default genStyleHooks('InputNumber', token => {\n const inputNumberToken = mergeToken(token, initInputToken(token));\n return [genInputNumberStyles(inputNumberToken), genCompatibleStyles(inputNumberToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n unitless: {\n handleOpacity: true\n },\n resetFont: false\n});"],"names":["genInputNumberStyles","token","componentCls","lineWidth","lineType","borderRadius","inputFontSizeSM","inputFontSizeLG","colorError","paddingInlineSM","paddingBlockSM","paddingBlockLG","paddingInlineLG","colorIcon","motionDurationMid","handleHoverColor","handleOpacity","paddingInline","paddingBlock","handleBg","handleActiveBg","inputAffixPadding","borderRadiusSM","controlWidth","handleBorderColor","filledHandleBg","lineHeightLG","antCls","borderStyle","unit","varName","varRef","genCssVar","resetComponent","genBasicInputStyle","genOutlinedStyle","genFilledStyle","genUnderlinedStyle","genBorderlessStyle","genPlaceholderStyle","resetIcon","genCompatibleStyles","useStyle","genStyleHooks","inputNumberToken","mergeToken","initInputToken","genCompactItemStyle","prepareComponentToken"],"mappings":";;;;;;;;;AAQA,MAAMA,IAAuB,CAAAC,MAAS;AACpC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAM1B,GACE2B,IAAc,GAAGC,EAAK1B,CAAS,CAAC,IAAIC,CAAQ,IAAIoB,CAAiB,IACjE,CAACM,GAASC,CAAM,IAAIC,EAAUL,GAAQ,cAAc;AAC1D,SAAO;AAAA;AAAA;AAAA;AAAA,IAIP;AAAA,MACE,CAACzB,CAAY,GAAG;AAAA,QACd,GAAG+B,EAAehC,CAAK;AAAA,QACvB,GAAGiC,EAAmBjC,CAAK;AAAA,QAC3B,CAAC6B,EAAQ,qBAAqB,CAAC,GAAGD,EAAKX,CAAY;AAAA,QACnD,CAACY,EAAQ,sBAAsB,CAAC,GAAGD,EAAKZ,CAAa;AAAA,QACrD,SAAS;AAAA,QACT,OAAOM;AAAA,QACP,QAAQ;AAAA,QACR,cAAc;AAAA,QACd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UAAU,GAAG;AAAA,QAC3B,QAAQ;AAAA,QACR,SAAS;AAAA,MACjB;AAAA,IACA;AAAA,EACA;AACA,GACAe,KAAeC,EAAc,eAAe,CAAA1C,MAAS;AACnD,QAAM2C,IAAmBC,EAAW5C,GAAO6C,EAAe7C,CAAK,CAAC;AAChE,SAAO;AAAA,IAACD,EAAqB4C,CAAgB;AAAA,IAAGH,EAAoBG,CAAgB;AAAA;AAAA;AAAA;AAAA,IAIpFG,EAAoBH,CAAgB;AAAA,EAAC;AACvC,GAAGI,GAAuB;AAAA,EACxB,UAAU;AAAA,IACR,eAAe;AAAA,EACnB;AAAA,EACE,WAAW;AACb,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unit as e } from "../../../../@ant-design/cssinjs/es/util/index.js";
|
|
2
2
|
import { prepareComponentToken as f, DEPRECATED_TOKENS as S } from "./index.js";
|
|
3
3
|
import { genStyleHooks as k } from "../../theme/util/genStyleUtils.js";
|
|
4
|
-
const T = (
|
|
4
|
+
const T = (o) => {
|
|
5
5
|
const {
|
|
6
6
|
componentCls: r,
|
|
7
7
|
siderBg: g,
|
|
@@ -14,12 +14,12 @@ const T = (t) => {
|
|
|
14
14
|
headerHeight: p,
|
|
15
15
|
zeroTriggerWidth: n,
|
|
16
16
|
zeroTriggerHeight: b,
|
|
17
|
-
borderRadiusLG:
|
|
17
|
+
borderRadiusLG: t,
|
|
18
18
|
lightSiderBg: m,
|
|
19
19
|
lightTriggerColor: c,
|
|
20
20
|
lightTriggerBg: u,
|
|
21
21
|
bodyBg: $
|
|
22
|
-
} =
|
|
22
|
+
} = o;
|
|
23
23
|
return {
|
|
24
24
|
[r]: {
|
|
25
25
|
position: "relative",
|
|
@@ -62,19 +62,19 @@ const T = (t) => {
|
|
|
62
62
|
[`${r}-zero-width-trigger`]: {
|
|
63
63
|
position: "absolute",
|
|
64
64
|
top: p,
|
|
65
|
-
insetInlineEnd:
|
|
65
|
+
insetInlineEnd: o.calc(n).mul(-1).equal(),
|
|
66
66
|
zIndex: 1,
|
|
67
67
|
width: n,
|
|
68
68
|
height: b,
|
|
69
69
|
color: s,
|
|
70
|
-
fontSize:
|
|
70
|
+
fontSize: o.fontSizeXL,
|
|
71
71
|
display: "flex",
|
|
72
72
|
alignItems: "center",
|
|
73
73
|
justifyContent: "center",
|
|
74
74
|
background: g,
|
|
75
|
-
borderRadius: `0 ${e(
|
|
75
|
+
borderRadius: `0 ${e(t)} ${e(t)} 0`,
|
|
76
76
|
cursor: "pointer",
|
|
77
|
-
transition: `background ${d} ease`,
|
|
77
|
+
transition: `background-color ${d} ease`,
|
|
78
78
|
"&::after": {
|
|
79
79
|
position: "absolute",
|
|
80
80
|
inset: 0,
|
|
@@ -86,8 +86,8 @@ const T = (t) => {
|
|
|
86
86
|
background: "rgba(255, 255, 255, 0.2)"
|
|
87
87
|
},
|
|
88
88
|
"&-right": {
|
|
89
|
-
insetInlineStart:
|
|
90
|
-
borderRadius: `${e(
|
|
89
|
+
insetInlineStart: o.calc(n).mul(-1).equal(),
|
|
90
|
+
borderRadius: `${e(t)} 0 0 ${e(t)}`
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
// Light
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sider.js","sources":["../../../../../../node_modules/antd/es/layout/style/sider.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { DEPRECATED_TOKENS, prepareComponentToken } from '.';\nimport { genStyleHooks } from '../../theme/internal';\nconst genSiderStyle = token => {\n const {\n componentCls,\n siderBg,\n motionDurationMid,\n motionDurationSlow,\n antCls,\n triggerHeight,\n triggerColor,\n triggerBg,\n headerHeight,\n zeroTriggerWidth,\n zeroTriggerHeight,\n borderRadiusLG,\n lightSiderBg,\n lightTriggerColor,\n lightTriggerBg,\n bodyBg\n } = token;\n return {\n [componentCls]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: siderBg,\n transition: `all ${motionDurationMid}, background 0s`,\n '&-has-trigger': {\n paddingBottom: triggerHeight\n },\n '&-right': {\n order: 1\n },\n [`${componentCls}-children`]: {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n [`&-zero-width ${componentCls}-children`]: {\n overflow: 'hidden'\n },\n [`${componentCls}-trigger`]: {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: triggerHeight,\n color: triggerColor,\n lineHeight: unit(triggerHeight),\n textAlign: 'center',\n background: triggerBg,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n [`${componentCls}-zero-width-trigger`]: {\n position: 'absolute',\n top: headerHeight,\n insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),\n zIndex: 1,\n width: zeroTriggerWidth,\n height: zeroTriggerHeight,\n color: triggerColor,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: siderBg,\n borderRadius: `0 ${unit(borderRadiusLG)} ${unit(borderRadiusLG)} 0`,\n cursor: 'pointer',\n transition: `background ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: token.calc(zeroTriggerWidth).mul(-1).equal(),\n borderRadius: `${unit(borderRadiusLG)} 0 0 ${unit(borderRadiusLG)}`\n }\n },\n // Light\n '&-light': {\n background: lightSiderBg,\n [`${componentCls}-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg\n },\n [`${componentCls}-zero-width-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg,\n border: `1px solid ${bodyBg}`,\n // Safe to modify to any other color\n borderInlineStart: 0\n }\n }\n }\n };\n};\nexport default genStyleHooks(['Layout', 'Sider'], genSiderStyle, prepareComponentToken, {\n deprecatedTokens: DEPRECATED_TOKENS\n});"],"names":["genSiderStyle","token","componentCls","siderBg","motionDurationMid","motionDurationSlow","antCls","triggerHeight","triggerColor","triggerBg","headerHeight","zeroTriggerWidth","zeroTriggerHeight","borderRadiusLG","lightSiderBg","lightTriggerColor","lightTriggerBg","bodyBg","unit","useStyle","genStyleHooks","prepareComponentToken","DEPRECATED_TOKENS"],"mappings":";;;AAGA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMhB;AACJ,SAAO;AAAA,IACL,CAACC,CAAY,GAAG;AAAA,MACd,UAAU;AAAA;AAAA,MAEV,UAAU;AAAA,MACV,YAAYC;AAAA,MACZ,YAAY,OAAOC,CAAiB;AAAA,MACpC,iBAAiB;AAAA,QACf,eAAeG;AAAA,MACvB;AAAA,MACM,WAAW;AAAA,QACT,OAAO;AAAA,MACf;AAAA,MACM,CAAC,GAAGL,CAAY,WAAW,GAAG;AAAA,QAC5B,QAAQ;AAAA;AAAA;AAAA;AAAA,QAIR,WAAW;AAAA,QACX,YAAY;AAAA,QACZ,CAAC,GAAGI,CAAM,QAAQA,CAAM,wBAAwB,GAAG;AAAA,UACjD,OAAO;AAAA,QACjB;AAAA,MACA;AAAA,MACM,CAAC,gBAAgBJ,CAAY,WAAW,GAAG;AAAA,QACzC,UAAU;AAAA,MAClB;AAAA,MACM,CAAC,GAAGA,CAAY,UAAU,GAAG;AAAA,QAC3B,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,QAAQK;AAAA,QACR,OAAOC;AAAA,QACP,YAAYU,EAAKX,CAAa;AAAA,QAC9B,WAAW;AAAA,QACX,YAAYE;AAAA,QACZ,QAAQ;AAAA,QACR,YAAY,OAAOL,CAAiB;AAAA,MAC5C;AAAA,MACM,CAAC,GAAGF,CAAY,qBAAqB,GAAG;AAAA,QACtC,UAAU;AAAA,QACV,KAAKQ;AAAA,QACL,gBAAgBT,EAAM,KAAKU,CAAgB,EAAE,IAAI,EAAE,EAAE,MAAK;AAAA,QAC1D,QAAQ;AAAA,QACR,OAAOA;AAAA,QACP,QAAQC;AAAA,QACR,OAAOJ;AAAA,QACP,UAAUP,EAAM;AAAA,QAChB,SAAS;AAAA,QACT,YAAY;AAAA,QACZ,gBAAgB;AAAA,QAChB,YAAYE;AAAA,QACZ,cAAc,KAAKe,EAAKL,CAAc,CAAC,IAAIK,EAAKL,CAAc,CAAC;AAAA,QAC/D,QAAQ;AAAA,QACR,YAAY,
|
|
1
|
+
{"version":3,"file":"sider.js","sources":["../../../../../../node_modules/antd/es/layout/style/sider.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { DEPRECATED_TOKENS, prepareComponentToken } from '.';\nimport { genStyleHooks } from '../../theme/internal';\nconst genSiderStyle = token => {\n const {\n componentCls,\n siderBg,\n motionDurationMid,\n motionDurationSlow,\n antCls,\n triggerHeight,\n triggerColor,\n triggerBg,\n headerHeight,\n zeroTriggerWidth,\n zeroTriggerHeight,\n borderRadiusLG,\n lightSiderBg,\n lightTriggerColor,\n lightTriggerBg,\n bodyBg\n } = token;\n return {\n [componentCls]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: siderBg,\n transition: `all ${motionDurationMid}, background 0s`,\n '&-has-trigger': {\n paddingBottom: triggerHeight\n },\n '&-right': {\n order: 1\n },\n [`${componentCls}-children`]: {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n [`&-zero-width ${componentCls}-children`]: {\n overflow: 'hidden'\n },\n [`${componentCls}-trigger`]: {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: triggerHeight,\n color: triggerColor,\n lineHeight: unit(triggerHeight),\n textAlign: 'center',\n background: triggerBg,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n [`${componentCls}-zero-width-trigger`]: {\n position: 'absolute',\n top: headerHeight,\n insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),\n zIndex: 1,\n width: zeroTriggerWidth,\n height: zeroTriggerHeight,\n color: triggerColor,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: siderBg,\n borderRadius: `0 ${unit(borderRadiusLG)} ${unit(borderRadiusLG)} 0`,\n cursor: 'pointer',\n transition: `background-color ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: token.calc(zeroTriggerWidth).mul(-1).equal(),\n borderRadius: `${unit(borderRadiusLG)} 0 0 ${unit(borderRadiusLG)}`\n }\n },\n // Light\n '&-light': {\n background: lightSiderBg,\n [`${componentCls}-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg\n },\n [`${componentCls}-zero-width-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg,\n border: `1px solid ${bodyBg}`,\n // Safe to modify to any other color\n borderInlineStart: 0\n }\n }\n }\n };\n};\nexport default genStyleHooks(['Layout', 'Sider'], genSiderStyle, prepareComponentToken, {\n deprecatedTokens: DEPRECATED_TOKENS\n});"],"names":["genSiderStyle","token","componentCls","siderBg","motionDurationMid","motionDurationSlow","antCls","triggerHeight","triggerColor","triggerBg","headerHeight","zeroTriggerWidth","zeroTriggerHeight","borderRadiusLG","lightSiderBg","lightTriggerColor","lightTriggerBg","bodyBg","unit","useStyle","genStyleHooks","prepareComponentToken","DEPRECATED_TOKENS"],"mappings":";;;AAGA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMhB;AACJ,SAAO;AAAA,IACL,CAACC,CAAY,GAAG;AAAA,MACd,UAAU;AAAA;AAAA,MAEV,UAAU;AAAA,MACV,YAAYC;AAAA,MACZ,YAAY,OAAOC,CAAiB;AAAA,MACpC,iBAAiB;AAAA,QACf,eAAeG;AAAA,MACvB;AAAA,MACM,WAAW;AAAA,QACT,OAAO;AAAA,MACf;AAAA,MACM,CAAC,GAAGL,CAAY,WAAW,GAAG;AAAA,QAC5B,QAAQ;AAAA;AAAA;AAAA;AAAA,QAIR,WAAW;AAAA,QACX,YAAY;AAAA,QACZ,CAAC,GAAGI,CAAM,QAAQA,CAAM,wBAAwB,GAAG;AAAA,UACjD,OAAO;AAAA,QACjB;AAAA,MACA;AAAA,MACM,CAAC,gBAAgBJ,CAAY,WAAW,GAAG;AAAA,QACzC,UAAU;AAAA,MAClB;AAAA,MACM,CAAC,GAAGA,CAAY,UAAU,GAAG;AAAA,QAC3B,UAAU;AAAA,QACV,QAAQ;AAAA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,QAAQ,aAAaC,CAAM;AAAA;AAAA,UAE3B,mBAAmB;AAAA,QAC7B;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA,GACAE,IAAeC,EAAc,CAAC,UAAU,OAAO,GAAGpB,GAAeqB,GAAuB;AAAA,EACtF,kBAAkBC;AACpB,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -26,10 +26,10 @@ const G = (r) => {
|
|
|
26
26
|
classNames: o
|
|
27
27
|
} = i.useContext(w), b = (m) => {
|
|
28
28
|
const M = t?.[0], $ = /* @__PURE__ */ i.createElement("span", {
|
|
29
|
-
className: f(`${n}-title-content`, e ? o
|
|
29
|
+
className: f(`${n}-title-content`, e ? o?.itemContent : o?.subMenu?.itemContent, {
|
|
30
30
|
[`${n}-title-content-with-extra`]: !!u || u === 0
|
|
31
31
|
}),
|
|
32
|
-
style: e ? l
|
|
32
|
+
style: e ? l?.itemContent : l?.subMenu?.itemContent
|
|
33
33
|
}, t);
|
|
34
34
|
return (!a || /* @__PURE__ */ i.isValidElement(t) && t.type === "span") && t && m && e && typeof M == "string" ? /* @__PURE__ */ i.createElement("div", {
|
|
35
35
|
className: `${n}-inline-collapsed-noicon`
|
|
@@ -46,19 +46,19 @@ const G = (r) => {
|
|
|
46
46
|
const y = A(t).length;
|
|
47
47
|
let d = /* @__PURE__ */ i.createElement(L, {
|
|
48
48
|
...R(r, ["title", "icon", "danger"]),
|
|
49
|
-
className: f(e ? o
|
|
49
|
+
className: f(e ? o?.item : o?.subMenu?.item, {
|
|
50
50
|
[`${n}-item-danger`]: h,
|
|
51
51
|
[`${n}-item-only-child`]: (a ? y + 1 : y) === 1
|
|
52
52
|
}, N),
|
|
53
53
|
style: {
|
|
54
|
-
...e ? l
|
|
54
|
+
...e ? l?.item : l?.subMenu?.item,
|
|
55
55
|
...r.style
|
|
56
56
|
},
|
|
57
57
|
title: typeof s == "string" ? s : void 0
|
|
58
58
|
}, E(a, (m) => ({
|
|
59
|
-
className: f(`${n}-item-icon`, e ? o
|
|
59
|
+
className: f(`${n}-item-icon`, e ? o?.itemIcon : o?.subMenu?.itemIcon, m.className),
|
|
60
60
|
style: {
|
|
61
|
-
...e ? l
|
|
61
|
+
...e ? l?.itemIcon : l?.subMenu?.itemIcon,
|
|
62
62
|
...m.style
|
|
63
63
|
}
|
|
64
64
|
})), b(C));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.js","sources":["../../../../../node_modules/antd/es/menu/MenuItem.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { Item } from '@rc-component/menu';\nimport { omit, toArray } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { cloneElement } from '../_util/reactNode';\nimport { SiderContext } from '../layout/Sider';\nimport Tooltip from '../tooltip';\nimport MenuContext from './MenuContext';\nconst MenuItem = props => {\n const {\n className,\n children,\n icon,\n title,\n danger,\n extra\n } = props;\n const {\n prefixCls,\n firstLevel,\n direction,\n disableMenuItemTitleTooltip,\n inlineCollapsed: isInlineCollapsed,\n styles,\n classNames\n } = React.useContext(MenuContext);\n const renderItemChildren = inlineCollapsed => {\n const label = children?.[0];\n const wrapNode = /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${prefixCls}-title-content`, firstLevel ? classNames
|
|
1
|
+
{"version":3,"file":"MenuItem.js","sources":["../../../../../node_modules/antd/es/menu/MenuItem.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { Item } from '@rc-component/menu';\nimport { omit, toArray } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { cloneElement } from '../_util/reactNode';\nimport { SiderContext } from '../layout/Sider';\nimport Tooltip from '../tooltip';\nimport MenuContext from './MenuContext';\nconst MenuItem = props => {\n const {\n className,\n children,\n icon,\n title,\n danger,\n extra\n } = props;\n const {\n prefixCls,\n firstLevel,\n direction,\n disableMenuItemTitleTooltip,\n inlineCollapsed: isInlineCollapsed,\n styles,\n classNames\n } = React.useContext(MenuContext);\n const renderItemChildren = inlineCollapsed => {\n const label = children?.[0];\n const wrapNode = /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${prefixCls}-title-content`, firstLevel ? classNames?.itemContent : classNames?.subMenu?.itemContent, {\n [`${prefixCls}-title-content-with-extra`]: !!extra || extra === 0\n }),\n style: firstLevel ? styles?.itemContent : styles?.subMenu?.itemContent\n }, children);\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n if (!icon || /*#__PURE__*/React.isValidElement(children) && children.type === 'span') {\n if (children && inlineCollapsed && firstLevel && typeof label === 'string') {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inline-collapsed-noicon`\n }, label.charAt(0));\n }\n }\n return wrapNode;\n };\n const {\n siderCollapsed\n } = React.useContext(SiderContext);\n let tooltipTitle = title;\n if (typeof title === 'undefined') {\n tooltipTitle = firstLevel ? children : '';\n } else if (title === false) {\n tooltipTitle = '';\n }\n const tooltipProps = {\n title: tooltipTitle\n };\n if (!siderCollapsed && !isInlineCollapsed) {\n tooltipProps.title = null;\n // Reset `open` to fix control mode tooltip display not correct\n // ref: https://github.com/ant-design/ant-design/issues/16742\n tooltipProps.open = false;\n }\n const childrenLength = toArray(children).length;\n let returnNode = /*#__PURE__*/React.createElement(Item, {\n ...omit(props, ['title', 'icon', 'danger']),\n className: clsx(firstLevel ? classNames?.item : classNames?.subMenu?.item, {\n [`${prefixCls}-item-danger`]: danger,\n [`${prefixCls}-item-only-child`]: (icon ? childrenLength + 1 : childrenLength) === 1\n }, className),\n style: {\n ...(firstLevel ? styles?.item : styles?.subMenu?.item),\n ...props.style\n },\n title: typeof title === 'string' ? title : undefined\n }, cloneElement(icon, oriProps => ({\n className: clsx(`${prefixCls}-item-icon`, firstLevel ? classNames?.itemIcon : classNames?.subMenu?.itemIcon, oriProps.className),\n style: {\n ...(firstLevel ? styles?.itemIcon : styles?.subMenu?.itemIcon),\n ...oriProps.style\n }\n })), renderItemChildren(isInlineCollapsed));\n if (!disableMenuItemTitleTooltip) {\n returnNode = /*#__PURE__*/React.createElement(Tooltip, {\n ...tooltipProps,\n placement: direction === 'rtl' ? 'left' : 'right',\n classNames: {\n root: `${prefixCls}-inline-collapsed-tooltip`\n }\n }, returnNode);\n }\n return returnNode;\n};\nexport default MenuItem;"],"names":["MenuItem","props","className","children","icon","title","danger","extra","prefixCls","firstLevel","direction","disableMenuItemTitleTooltip","isInlineCollapsed","styles","classNames","React","MenuContext","renderItemChildren","inlineCollapsed","label","wrapNode","clsx","siderCollapsed","SiderContext","tooltipTitle","tooltipProps","childrenLength","toArray","returnNode","Item","omit","cloneElement","oriProps","Tooltip"],"mappings":";;;;;;;;;;AAUK,MAACA,IAAW,CAAAC,MAAS;AACxB,QAAM;AAAA,IACJ,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,EACJ,IAAMN,GACE;AAAA,IACJ,WAAAO;AAAA,IACA,YAAAC;AAAA,IACA,WAAAC;AAAA,IACA,6BAAAC;AAAA,IACA,iBAAiBC;AAAA,IACjB,QAAAC;AAAA,IACA,YAAAC;AAAA,EACJ,IAAMC,EAAM,WAAWC,CAAW,GAC1BC,IAAqB,CAAAC,MAAmB;AAC5C,UAAMC,IAAQhB,IAAW,CAAC,GACpBiB,IAAwB,gBAAAL,EAAM,cAAc,QAAQ;AAAA,MACxD,WAAWM,EAAK,GAAGb,CAAS,kBAAkBC,IAAaK,GAAY,cAAcA,GAAY,SAAS,aAAa;AAAA,QACrH,CAAC,GAAGN,CAAS,2BAA2B,GAAG,CAAC,CAACD,KAASA,MAAU;AAAA,MACxE,CAAO;AAAA,MACD,OAAOE,IAAaI,GAAQ,cAAcA,GAAQ,SAAS;AAAA,IACjE,GAAOV,CAAQ;AAGX,YAAI,CAACC,KAAqB,gBAAAW,EAAM,eAAeZ,CAAQ,KAAKA,EAAS,SAAS,WACx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AAS;AAAA,IAClB;AAAA,EACA,EAAI,GAAGf,EAAmBL,CAAiB,CAAC;AAC1C,SAAKD,MACHiB,IAA0B,gBAAAb,EAAM,cAAckB,GAAS;AAAA,IACrD,GAAGR;AAAA,IACH,WAAWf,MAAc,QAAQ,SAAS;AAAA,IAC1C,YAAY;AAAA,MACV,MAAM,GAAGF,CAAS;AAAA,IAC1B;AAAA,EACA,GAAOoB,CAAU,IAERA;AACT;","x_google_ignoreList":[0]}
|
|
@@ -30,10 +30,10 @@ const A = (o) => {
|
|
|
30
30
|
else {
|
|
31
31
|
const y = /* @__PURE__ */ e.isValidElement(t) && t.type === "span";
|
|
32
32
|
i = /* @__PURE__ */ e.createElement(e.Fragment, null, E(a, (c) => ({
|
|
33
|
-
className: p(c.className, `${l}-item-icon`, s
|
|
33
|
+
className: p(c.className, `${l}-item-icon`, s?.itemIcon),
|
|
34
34
|
style: {
|
|
35
35
|
...c.style,
|
|
36
|
-
...n
|
|
36
|
+
...n?.itemIcon
|
|
37
37
|
}
|
|
38
38
|
})), y ? t : /* @__PURE__ */ e.createElement("span", {
|
|
39
39
|
className: `${l}-title-content`
|
|
@@ -49,19 +49,19 @@ const A = (o) => {
|
|
|
49
49
|
...C(o, ["icon"]),
|
|
50
50
|
title: i,
|
|
51
51
|
classNames: {
|
|
52
|
-
list: s
|
|
53
|
-
listTitle: s
|
|
52
|
+
list: s?.subMenu?.list,
|
|
53
|
+
listTitle: s?.subMenu?.itemTitle
|
|
54
54
|
},
|
|
55
55
|
styles: {
|
|
56
|
-
list: n
|
|
57
|
-
listTitle: n
|
|
56
|
+
list: n?.subMenu?.list,
|
|
57
|
+
listTitle: n?.subMenu?.itemTitle
|
|
58
58
|
},
|
|
59
|
-
popupClassName: p(l, u, s
|
|
59
|
+
popupClassName: p(l, u, s?.popup?.root, `${l}-${f || N}`),
|
|
60
60
|
popupStyle: {
|
|
61
61
|
zIndex: h,
|
|
62
62
|
// fix: https://github.com/ant-design/ant-design/issues/47826#issuecomment-2360737237
|
|
63
63
|
...o.popupStyle,
|
|
64
|
-
...n
|
|
64
|
+
...n?.popup?.root
|
|
65
65
|
}
|
|
66
66
|
}));
|
|
67
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubMenu.js","sources":["../../../../../node_modules/antd/es/menu/SubMenu.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { SubMenu as RcSubMenu, useFullPath } from '@rc-component/menu';\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useZIndex } from '../_util/hooks';\nimport { cloneElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nconst SubMenu = props => {\n const {\n popupClassName,\n icon,\n title,\n theme: customTheme\n } = props;\n const context = React.useContext(MenuContext);\n const {\n prefixCls,\n inlineCollapsed,\n theme: contextTheme,\n classNames,\n styles\n } = context;\n const parentPath = useFullPath();\n let titleNode;\n if (!icon) {\n titleNode = inlineCollapsed && !parentPath.length && title && typeof title === 'string' ? (/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inline-collapsed-noicon`\n }, title.charAt(0))) : (/*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, title));\n } else {\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n const titleIsSpan = /*#__PURE__*/React.isValidElement(title) && title.type === 'span';\n titleNode = /*#__PURE__*/React.createElement(React.Fragment, null, cloneElement(icon, oriProps => ({\n className: clsx(oriProps.className, `${prefixCls}-item-icon`, classNames
|
|
1
|
+
{"version":3,"file":"SubMenu.js","sources":["../../../../../node_modules/antd/es/menu/SubMenu.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { SubMenu as RcSubMenu, useFullPath } from '@rc-component/menu';\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useZIndex } from '../_util/hooks';\nimport { cloneElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nconst SubMenu = props => {\n const {\n popupClassName,\n icon,\n title,\n theme: customTheme\n } = props;\n const context = React.useContext(MenuContext);\n const {\n prefixCls,\n inlineCollapsed,\n theme: contextTheme,\n classNames,\n styles\n } = context;\n const parentPath = useFullPath();\n let titleNode;\n if (!icon) {\n titleNode = inlineCollapsed && !parentPath.length && title && typeof title === 'string' ? (/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inline-collapsed-noicon`\n }, title.charAt(0))) : (/*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, title));\n } else {\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n const titleIsSpan = /*#__PURE__*/React.isValidElement(title) && title.type === 'span';\n titleNode = /*#__PURE__*/React.createElement(React.Fragment, null, cloneElement(icon, oriProps => ({\n className: clsx(oriProps.className, `${prefixCls}-item-icon`, classNames?.itemIcon),\n style: {\n ...oriProps.style,\n ...styles?.itemIcon\n }\n })), titleIsSpan ? title : /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, title));\n }\n const contextValue = React.useMemo(() => ({\n ...context,\n firstLevel: false\n }), [context]);\n // ============================ zIndex ============================\n const [zIndex] = useZIndex('Menu');\n return /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(RcSubMenu, {\n ...omit(props, ['icon']),\n title: titleNode,\n classNames: {\n list: classNames?.subMenu?.list,\n listTitle: classNames?.subMenu?.itemTitle\n },\n styles: {\n list: styles?.subMenu?.list,\n listTitle: styles?.subMenu?.itemTitle\n },\n popupClassName: clsx(prefixCls, popupClassName, classNames?.popup?.root, `${prefixCls}-${customTheme || contextTheme}`),\n popupStyle: {\n zIndex,\n // fix: https://github.com/ant-design/ant-design/issues/47826#issuecomment-2360737237\n ...props.popupStyle,\n ...styles?.popup?.root\n }\n }));\n};\nexport default SubMenu;"],"names":["SubMenu","props","popupClassName","icon","title","customTheme","context","React","MenuContext","prefixCls","inlineCollapsed","contextTheme","classNames","styles","parentPath","useFullPath","titleNode","titleIsSpan","cloneElement","oriProps","clsx","contextValue","zIndex","useZIndex","RcSubMenu","omit"],"mappings":";;;;;;;;;AASK,MAACA,IAAU,CAAAC,MAAS;AACvB,QAAM;AAAA,IACJ,gBAAAC;AAAA,IACA,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAOC;AAAA,EACX,IAAMJ,GACEK,IAAUC,EAAM,WAAWC,CAAW,GACtC;AAAA,IACJ,WAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,OAAOC;AAAA,IACP,YAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMP,GACEQ,IAAaC,EAAW;AAC9B,MAAIC;AACJ,MAAI,CAACb;AACH,IAAAa,IAAYN,KAAmB,CAACI,EAAW,UAAUV,KAAS,OAAOA,KAAU,WAAyB,gBAAAG,EAAM,cAAc,OAAO;AAAA,MACjI,WAAW,GAAGE,CAAS;AAAA,IAC7B,GAAOL,EAAM,OAAO,CAAC,CAAC,IAAmB,gBAAAG,EAAM,cAAc,QAAQ;AAAA,MAC/D,WAAW,GAAGE,CAAS;AAAA,IAC7B,GAAOL,CAAK;AAAA,OACH;AAGL,UAAMa,IAA2B,gBAAAV,EAAM,eAAeH,CAAK,KAAKA,EAAM,SAAS;AAC/E,IAAAY,IAAyB,gBAAAT,EAAM,cAAcA,EAAM,UAAU,MAAMW,EAAaf,GAAM,CAAAgB,OAAa;AAAA,MACjG,WAAWC,EAAKD,EAAS,WAAW,GAAGV,CAAS,cAAcG,GAAY,QAAQ;AAAA,MAClF,OAAO;AAAA,QACL,GAAGO,EAAS;AAAA,QACZ,GAAGN,GAAQ;AAAA,MACnB;AAAA,IACA,EAAM,GAAGI,IAAcb,IAAqB,gBAAAG,EAAM,cAAc,QAAQ;AAAA,MAClE,WAAW,GAAGE,CAAS;AAAA,IAC7B,GAAOL,CAAK,CAAC;AAAA,EACX;AACA,QAAMiB,IAAed,EAAM,QAAQ,OAAO;AAAA,IACxC,GAAGD;AAAA,IACH,YAAY;AAAA,EAChB,IAAM,CAACA,CAAO,CAAC,GAEP,CAACgB,CAAM,IAAIC,EAAU,MAAM;AACjC,SAAoB,gBAAAhB,EAAM,cAAcC,EAAY,UAAU;AAAA,IAC5D,OAAOa;AAAA,EACX,GAAkB,gBAAAd,EAAM,cAAciB,GAAW;AAAA,IAC7C,GAAGC,EAAKxB,GAAO,CAAC,MAAM,CAAC;AAAA,IACvB,OAAOe;AAAA,IACP,YAAY;AAAA,MACV,MAAMJ,GAAY,SAAS;AAAA,MAC3B,WAAWA,GAAY,SAAS;AAAA,IACtC;AAAA,IACI,QAAQ;AAAA,MACN,MAAMC,GAAQ,SAAS;AAAA,MACvB,WAAWA,GAAQ,SAAS;AAAA,IAClC;AAAA,IACI,gBAAgBO,EAAKX,GAAWP,GAAgBU,GAAY,OAAO,MAAM,GAAGH,CAAS,IAAIJ,KAAeM,CAAY,EAAE;AAAA,IACtH,YAAY;AAAA,MACV,QAAAW;AAAA;AAAA,MAEA,GAAGrB,EAAM;AAAA,MACT,GAAGY,GAAQ,OAAO;AAAA,IACxB;AAAA,EACA,CAAG,CAAC;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -34,7 +34,7 @@ const b = (e) => {
|
|
|
34
34
|
backgroundColor: "transparent"
|
|
35
35
|
},
|
|
36
36
|
[`${o}-item, ${o}-submenu-title`]: {
|
|
37
|
-
transition: [`border-color ${t}`, `background ${t}`].join(",")
|
|
37
|
+
transition: [`border-color ${t}`, `background-color ${t}`].join(",")
|
|
38
38
|
},
|
|
39
39
|
// ===================== Sub Menu =====================
|
|
40
40
|
[`${o}-submenu-arrow`]: {
|