1 line
3.4 KiB
JSON
1 line
3.4 KiB
JSON
|
{"ast":null,"code":"\"use client\";\n\nimport dayjsGenerateConfig from \"rc-picker/es/generate/dayjs\";\nimport genPurePanel from '../_util/PurePanel';\nimport generatePicker from './generatePicker';\nimport { transPlacement2DropdownAlign } from './util';\nconst DatePicker = generatePicker(dayjsGenerateConfig);\nfunction postPureProps(props) {\n const dropdownAlign = transPlacement2DropdownAlign(props.direction, props.placement);\n dropdownAlign.overflow.adjustY = false;\n dropdownAlign.overflow.adjustX = false;\n return Object.assign(Object.assign({}, props), {\n dropdownAlign\n });\n}\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(DatePicker, 'picker', null, postPureProps);\nDatePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nconst PureRangePanel = genPurePanel(DatePicker.RangePicker, 'picker', null, postPureProps);\nDatePicker._InternalRangePanelDoNotUseOrYouWillBeFired = PureRangePanel;\nDatePicker.generatePicker = generatePicker;\nexport default DatePicker;","map":{"version":3,"names":["dayjsGenerateConfig","genPurePanel","generatePicker","transPlacement2DropdownAlign","DatePicker","postPureProps","props","dropdownAlign","direction","placement","overflow","adjustY","adjustX","Object","assign","PurePanel","_InternalPanelDoNotUseOrYouWillBeFired","PureRangePanel","RangePicker","_InternalRangePanelDoNotUseOrYouWillBeFired"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/date-picker/index.js"],"sourcesContent":["\"use client\";\n\nimport dayjsGenerateConfig from \"rc-picker/es/generate/dayjs\";\nimport genPurePanel from '../_util/PurePanel';\nimport generatePicker from './generatePicker';\nimport { transPlacement2DropdownAlign } from './util';\nconst DatePicker = generatePicker(dayjsGenerateConfig);\nfunction postPureProps(props) {\n const dropdownAlign = transPlacement2DropdownAlign(props.direction, props.placement);\n dropdownAlign.overflow.adjustY = false;\n dropdownAlign.overflow.adjustX = false;\n return Object.assign(Object.assign({}, props), {\n dropdownAlign\n });\n}\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(DatePicker, 'picker', null, postPureProps);\nDatePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nconst PureRangePanel = genPurePanel(DatePicker.RangePicker, 'picker', null, postPureProps);\nDatePicker._InternalRangePanelDoNotUseOrYouWillBeFired = PureRangePanel;\nDatePicker.generatePicker = generatePicker;\nexport default DatePicker;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,mBAAmB,MAAM,6BAA6B;AAC7D,OAAOC,YAAY,MAAM,oBAAoB;AAC7C,OAAOC,cAAc,MAAM,kBAAkB;AAC7C,SAASC,4BAA4B,QAAQ,QAAQ;AACrD,MAAMC,UAAU,GAAGF,cAAc,CAACF,mBAAmB,CAAC;AACtD,SAASK,aAAaA,CAACC,KAAK,EAAE;EAC5B,MAAMC,aAAa,GAAGJ,4BAA4B,CAACG,KAAK,CAACE,SAAS,EAAEF,KAAK,CAACG,SAAS,CAAC;EACpFF,aAAa,CAACG,QAAQ,CAACC,OAAO,GAAG,KAAK;EACtCJ,aAAa,CAACG,QAAQ,CAACE,OAAO,GAAG,KAAK;EACtC,OAAOC,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,KAAK,CAAC,EAAE;IAC7CC;EACF,CAAC,CAAC;AACJ;AACA;AACA;AACA,MAAMQ,SAAS,GAAGd,YAAY,CAACG,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAEC,aAAa,CAAC;AACzED,UAAU,CAACY,sCAAsC,GAAGD,SAAS;AAC7D,MAAME,cAAc,GAAGhB,YAAY,CAACG,UAAU,CAACc,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAEb,aAAa,CAAC;AAC1FD,UAAU,CAACe,2CAA2C,GAAGF,cAAc;AACvEb,UAAU,CAACF,cAAc,GAAGA,cAAc;AAC1C,eAAeE,UAAU","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|