@salutejs/plasma-new-hope 0.340.0-canary.2316.18997801446.0 → 0.340.0-canary.2317.19095667430.0
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/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/cjs/components/DatePicker/utils/normalizeDates.js +6 -3
- package/cjs/components/DatePicker/utils/normalizeDates.js.map +1 -1
- package/cjs/components/Tabs/tokens.js +1 -0
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/{base_kcn71r.css → base_y26jar.css} +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/{base_322rr.css → base_1yem60s.css} +1 -1
- package/cjs/components/TimePickerGrid/TimePickerGrid.js +276 -208
- package/cjs/components/TimePickerGrid/TimePickerGrid.js.map +1 -1
- package/cjs/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +1 -2
- package/cjs/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js.map +1 -1
- package/cjs/index.css +2 -31
- package/cjs/index.js +0 -6
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/emotion/cjs/components/DatePicker/utils/normalizeDates.js +6 -3
- package/emotion/cjs/components/Tabs/tokens.js +1 -0
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +1 -1
- package/emotion/cjs/components/TimePickerGrid/TimePickerGrid.js +282 -214
- package/emotion/cjs/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +2 -2
- package/emotion/cjs/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +16 -16
- package/emotion/cjs/examples/components/Tabs/vertical/VerticalTabItem.config.js +7 -7
- package/emotion/cjs/index.js +0 -1
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/emotion/es/components/DatePicker/utils/normalizeDates.js +6 -3
- package/emotion/es/components/Tabs/tokens.js +1 -0
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +2 -2
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +2 -2
- package/emotion/es/components/TimePickerGrid/TimePickerGrid.js +282 -214
- package/emotion/es/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +2 -2
- package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
- package/emotion/es/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +16 -16
- package/emotion/es/examples/components/Tabs/vertical/VerticalTabItem.config.js +7 -7
- package/emotion/es/index.js +0 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/es/components/DatePicker/utils/normalizeDates.js +6 -3
- package/es/components/DatePicker/utils/normalizeDates.js.map +1 -1
- package/es/components/Tabs/tokens.js +1 -0
- package/es/components/Tabs/tokens.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/{base_kcn71r.css → base_y26jar.css} +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/{base_322rr.css → base_1yem60s.css} +1 -1
- package/es/components/TimePickerGrid/TimePickerGrid.js +278 -210
- package/es/components/TimePickerGrid/TimePickerGrid.js.map +1 -1
- package/es/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +1 -2
- package/es/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js.map +1 -1
- package/es/index.css +2 -31
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/styled-components/cjs/components/DatePicker/utils/normalizeDates.js +6 -3
- package/styled-components/cjs/components/Tabs/tokens.js +1 -0
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +5 -2
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +5 -2
- package/styled-components/cjs/components/TimePickerGrid/TimePickerGrid.js +282 -214
- package/styled-components/cjs/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +2 -2
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +8 -4
- package/styled-components/cjs/examples/components/Tabs/vertical/VerticalTabItem.config.js +8 -4
- package/styled-components/cjs/index.js +0 -1
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/styled-components/es/components/DatePicker/utils/normalizeDates.js +6 -3
- package/styled-components/es/components/Tabs/tokens.js +1 -0
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.js +6 -3
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.js +6 -3
- package/styled-components/es/components/TimePickerGrid/TimePickerGrid.js +282 -214
- package/styled-components/es/components/TimePickerGrid/ui/TimeColumn/TimeColumn.js +2 -2
- package/styled-components/es/examples/components/Combobox/Combobox.js +7 -0
- package/styled-components/es/examples/components/Tabs/horizontal/HorizontalTabItem.config.js +8 -4
- package/styled-components/es/examples/components/Tabs/vertical/VerticalTabItem.config.js +8 -4
- package/styled-components/es/index.js +0 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
- package/types/components/DatePicker/utils/normalizeDates.d.ts.map +1 -1
- package/types/components/Tabs/tokens.d.ts +1 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_size/base.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_size/base.d.ts.map +1 -1
- package/types/components/TimePickerGrid/TimePickerGrid.d.ts.map +1 -1
- package/types/components/TimePickerGrid/ui/TimeColumn/TimeColumn.d.ts +1 -1
- package/types/components/TimePickerGrid/ui/TimeColumn/TimeColumn.d.ts.map +1 -1
- package/types/components/TimePickerGrid/ui/TimeColumn/TimeColumn.types.d.ts +1 -2
- package/types/components/TimePickerGrid/ui/TimeColumn/TimeColumn.types.d.ts.map +1 -1
- package/types/examples/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
- package/types/examples/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/DateTimePicker/DateTimePicker.css +0 -200
- package/cjs/components/DateTimePicker/DateTimePicker.js +0 -436
- package/cjs/components/DateTimePicker/DateTimePicker.js.map +0 -1
- package/cjs/components/DateTimePicker/DateTimePicker.styles.js +0 -23
- package/cjs/components/DateTimePicker/DateTimePicker.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/DateTimePicker.styles_x7parr.css +0 -3
- package/cjs/components/DateTimePicker/DateTimePicker.tokens.js +0 -264
- package/cjs/components/DateTimePicker/DateTimePicker.tokens.js.map +0 -1
- package/cjs/components/DateTimePicker/hooks/useDateTimePicker.js +0 -331
- package/cjs/components/DateTimePicker/hooks/useDateTimePicker.js.map +0 -1
- package/cjs/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -49
- package/cjs/components/DateTimePicker/hooks/useKeyboardNavigation.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.css +0 -82
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -41
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -83
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles_du69sn.css +0 -2
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.css +0 -34
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -44
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -92
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles_ubu846.css +0 -6
- package/cjs/components/DateTimePicker/ui/Input/Input.css +0 -80
- package/cjs/components/DateTimePicker/ui/Input/Input.js +0 -70
- package/cjs/components/DateTimePicker/ui/Input/Input.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/Input/Input.styles.js +0 -24
- package/cjs/components/DateTimePicker/ui/Input/Input.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/Input/Input.styles_1af0tdj.css +0 -1
- package/cjs/components/DateTimePicker/ui/Popover/Popover.css +0 -11
- package/cjs/components/DateTimePicker/ui/Popover/Popover.js +0 -37
- package/cjs/components/DateTimePicker/ui/Popover/Popover.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -44
- package/cjs/components/DateTimePicker/ui/Popover/Popover.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/Popover/Popover.styles_1v6vurg.css +0 -2
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.css +0 -12
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -30
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -40
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js.map +0 -1
- package/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles_31tnfx.css +0 -1
- package/cjs/components/DateTimePicker/utils/getFormattedDateTime.js +0 -81
- package/cjs/components/DateTimePicker/utils/getFormattedDateTime.js.map +0 -1
- package/cjs/components/DateTimePicker/utils/getMaskedValue.js +0 -53
- package/cjs/components/DateTimePicker/utils/getMaskedValue.js.map +0 -1
- package/cjs/components/DateTimePicker/utils/getOriginalDateTime.js +0 -77
- package/cjs/components/DateTimePicker/utils/getOriginalDateTime.js.map +0 -1
- package/cjs/components/DateTimePicker/utils/normalizeDateTime.js +0 -33
- package/cjs/components/DateTimePicker/utils/normalizeDateTime.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_disabled/base.js +0 -9
- package/cjs/components/DateTimePicker/variations/_disabled/base.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_disabled/base_7ophop.css +0 -1
- package/cjs/components/DateTimePicker/variations/_readonly/base.js +0 -9
- package/cjs/components/DateTimePicker/variations/_readonly/base.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_readonly/base_rrpgsr.css +0 -1
- package/cjs/components/DateTimePicker/variations/_size/base.js +0 -9
- package/cjs/components/DateTimePicker/variations/_size/base.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_size/base_19i3bl1.css +0 -1
- package/cjs/components/DateTimePicker/variations/_tooltip-size/base.js +0 -9
- package/cjs/components/DateTimePicker/variations/_tooltip-size/base.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_tooltip-size/base_x642ct.css +0 -1
- package/cjs/components/DateTimePicker/variations/_view/base.js +0 -9
- package/cjs/components/DateTimePicker/variations/_view/base.js.map +0 -1
- package/cjs/components/DateTimePicker/variations/_view/base_1a1ebsk.css +0 -1
- package/emotion/cjs/components/DateTimePicker/DateTimePicker.js +0 -569
- package/emotion/cjs/components/DateTimePicker/DateTimePicker.styles.js +0 -39
- package/emotion/cjs/components/DateTimePicker/DateTimePicker.tokens.js +0 -269
- package/emotion/cjs/components/DateTimePicker/DateTimePicker.types.js +0 -4
- package/emotion/cjs/components/DateTimePicker/hooks/useDateTimePicker.js +0 -339
- package/emotion/cjs/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -57
- package/emotion/cjs/components/DateTimePicker/index.js +0 -26
- package/emotion/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -98
- package/emotion/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -61
- package/emotion/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -53
- package/emotion/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -88
- package/emotion/cjs/components/DateTimePicker/ui/Input/Input.js +0 -167
- package/emotion/cjs/components/DateTimePicker/ui/Input/Input.styles.js +0 -25
- package/emotion/cjs/components/DateTimePicker/ui/Popover/Popover.js +0 -153
- package/emotion/cjs/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -43
- package/emotion/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -87
- package/emotion/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -31
- package/emotion/cjs/components/DateTimePicker/ui/index.js +0 -29
- package/emotion/cjs/components/DateTimePicker/utils/getFormattedDateTime.js +0 -118
- package/emotion/cjs/components/DateTimePicker/utils/getMaskedValue.js +0 -52
- package/emotion/cjs/components/DateTimePicker/utils/getOriginalDateTime.js +0 -132
- package/emotion/cjs/components/DateTimePicker/utils/index.js +0 -19
- package/emotion/cjs/components/DateTimePicker/utils/normalizeDateTime.js +0 -30
- package/emotion/cjs/components/DateTimePicker/variations/_disabled/base.js +0 -13
- package/emotion/cjs/components/DateTimePicker/variations/_readonly/base.js +0 -14
- package/emotion/cjs/components/DateTimePicker/variations/_size/base.js +0 -14
- package/emotion/cjs/components/DateTimePicker/variations/_tooltip-size/base.js +0 -12
- package/emotion/cjs/components/DateTimePicker/variations/_view/base.js +0 -14
- package/emotion/cjs/examples/components/DateTimePicker/DateTimePicker.config.js +0 -40
- package/emotion/cjs/examples/components/DateTimePicker/DateTimePicker.js +0 -15
- package/emotion/es/components/DateTimePicker/DateTimePicker.js +0 -505
- package/emotion/es/components/DateTimePicker/DateTimePicker.styles.js +0 -13
- package/emotion/es/components/DateTimePicker/DateTimePicker.tokens.js +0 -248
- package/emotion/es/components/DateTimePicker/DateTimePicker.types.js +0 -1
- package/emotion/es/components/DateTimePicker/hooks/useDateTimePicker.js +0 -329
- package/emotion/es/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -39
- package/emotion/es/components/DateTimePicker/index.js +0 -2
- package/emotion/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -83
- package/emotion/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -36
- package/emotion/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -38
- package/emotion/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -53
- package/emotion/es/components/DateTimePicker/ui/Input/Input.js +0 -111
- package/emotion/es/components/DateTimePicker/ui/Input/Input.styles.js +0 -11
- package/emotion/es/components/DateTimePicker/ui/Popover/Popover.js +0 -102
- package/emotion/es/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -20
- package/emotion/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -72
- package/emotion/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -16
- package/emotion/es/components/DateTimePicker/ui/index.js +0 -6
- package/emotion/es/components/DateTimePicker/utils/getFormattedDateTime.js +0 -108
- package/emotion/es/components/DateTimePicker/utils/getMaskedValue.js +0 -42
- package/emotion/es/components/DateTimePicker/utils/getOriginalDateTime.js +0 -122
- package/emotion/es/components/DateTimePicker/utils/index.js +0 -2
- package/emotion/es/components/DateTimePicker/utils/normalizeDateTime.js +0 -20
- package/emotion/es/components/DateTimePicker/variations/_disabled/base.js +0 -3
- package/emotion/es/components/DateTimePicker/variations/_readonly/base.js +0 -4
- package/emotion/es/components/DateTimePicker/variations/_size/base.js +0 -4
- package/emotion/es/components/DateTimePicker/variations/_tooltip-size/base.js +0 -2
- package/emotion/es/components/DateTimePicker/variations/_view/base.js +0 -4
- package/emotion/es/examples/components/DateTimePicker/DateTimePicker.config.js +0 -30
- package/emotion/es/examples/components/DateTimePicker/DateTimePicker.js +0 -5
- package/es/components/DateTimePicker/DateTimePicker.css +0 -200
- package/es/components/DateTimePicker/DateTimePicker.js +0 -426
- package/es/components/DateTimePicker/DateTimePicker.js.map +0 -1
- package/es/components/DateTimePicker/DateTimePicker.styles.js +0 -17
- package/es/components/DateTimePicker/DateTimePicker.styles.js.map +0 -1
- package/es/components/DateTimePicker/DateTimePicker.styles_x7parr.css +0 -3
- package/es/components/DateTimePicker/DateTimePicker.tokens.js +0 -259
- package/es/components/DateTimePicker/DateTimePicker.tokens.js.map +0 -1
- package/es/components/DateTimePicker/hooks/useDateTimePicker.js +0 -327
- package/es/components/DateTimePicker/hooks/useDateTimePicker.js.map +0 -1
- package/es/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -44
- package/es/components/DateTimePicker/hooks/useKeyboardNavigation.js.map +0 -1
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.css +0 -82
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -33
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js.map +0 -1
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -78
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js.map +0 -1
- package/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles_du69sn.css +0 -2
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.css +0 -34
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -35
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js.map +0 -1
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -83
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js.map +0 -1
- package/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles_ubu846.css +0 -6
- package/es/components/DateTimePicker/ui/Input/Input.css +0 -80
- package/es/components/DateTimePicker/ui/Input/Input.js +0 -61
- package/es/components/DateTimePicker/ui/Input/Input.js.map +0 -1
- package/es/components/DateTimePicker/ui/Input/Input.styles.js +0 -20
- package/es/components/DateTimePicker/ui/Input/Input.styles.js.map +0 -1
- package/es/components/DateTimePicker/ui/Input/Input.styles_1af0tdj.css +0 -1
- package/es/components/DateTimePicker/ui/Popover/Popover.css +0 -11
- package/es/components/DateTimePicker/ui/Popover/Popover.js +0 -29
- package/es/components/DateTimePicker/ui/Popover/Popover.js.map +0 -1
- package/es/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -39
- package/es/components/DateTimePicker/ui/Popover/Popover.styles.js.map +0 -1
- package/es/components/DateTimePicker/ui/Popover/Popover.styles_1v6vurg.css +0 -2
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.css +0 -12
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -22
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.js.map +0 -1
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -36
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js.map +0 -1
- package/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles_31tnfx.css +0 -1
- package/es/components/DateTimePicker/utils/getFormattedDateTime.js +0 -77
- package/es/components/DateTimePicker/utils/getFormattedDateTime.js.map +0 -1
- package/es/components/DateTimePicker/utils/getMaskedValue.js +0 -49
- package/es/components/DateTimePicker/utils/getMaskedValue.js.map +0 -1
- package/es/components/DateTimePicker/utils/getOriginalDateTime.js +0 -73
- package/es/components/DateTimePicker/utils/getOriginalDateTime.js.map +0 -1
- package/es/components/DateTimePicker/utils/normalizeDateTime.js +0 -29
- package/es/components/DateTimePicker/utils/normalizeDateTime.js.map +0 -1
- package/es/components/DateTimePicker/variations/_disabled/base.js +0 -5
- package/es/components/DateTimePicker/variations/_disabled/base.js.map +0 -1
- package/es/components/DateTimePicker/variations/_disabled/base_7ophop.css +0 -1
- package/es/components/DateTimePicker/variations/_readonly/base.js +0 -5
- package/es/components/DateTimePicker/variations/_readonly/base.js.map +0 -1
- package/es/components/DateTimePicker/variations/_readonly/base_rrpgsr.css +0 -1
- package/es/components/DateTimePicker/variations/_size/base.js +0 -5
- package/es/components/DateTimePicker/variations/_size/base.js.map +0 -1
- package/es/components/DateTimePicker/variations/_size/base_19i3bl1.css +0 -1
- package/es/components/DateTimePicker/variations/_tooltip-size/base.js +0 -5
- package/es/components/DateTimePicker/variations/_tooltip-size/base.js.map +0 -1
- package/es/components/DateTimePicker/variations/_tooltip-size/base_x642ct.css +0 -1
- package/es/components/DateTimePicker/variations/_view/base.js +0 -5
- package/es/components/DateTimePicker/variations/_view/base.js.map +0 -1
- package/es/components/DateTimePicker/variations/_view/base_1a1ebsk.css +0 -1
- package/styled-components/cjs/components/DateTimePicker/DateTimePicker.js +0 -569
- package/styled-components/cjs/components/DateTimePicker/DateTimePicker.styles.js +0 -89
- package/styled-components/cjs/components/DateTimePicker/DateTimePicker.tokens.js +0 -269
- package/styled-components/cjs/components/DateTimePicker/DateTimePicker.types.js +0 -4
- package/styled-components/cjs/components/DateTimePicker/hooks/useDateTimePicker.js +0 -339
- package/styled-components/cjs/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -57
- package/styled-components/cjs/components/DateTimePicker/index.js +0 -26
- package/styled-components/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -98
- package/styled-components/cjs/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -73
- package/styled-components/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -53
- package/styled-components/cjs/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -132
- package/styled-components/cjs/components/DateTimePicker/ui/Input/Input.js +0 -167
- package/styled-components/cjs/components/DateTimePicker/ui/Input/Input.styles.js +0 -176
- package/styled-components/cjs/components/DateTimePicker/ui/Popover/Popover.js +0 -153
- package/styled-components/cjs/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -56
- package/styled-components/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -87
- package/styled-components/cjs/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -69
- package/styled-components/cjs/components/DateTimePicker/ui/index.js +0 -29
- package/styled-components/cjs/components/DateTimePicker/utils/getFormattedDateTime.js +0 -118
- package/styled-components/cjs/components/DateTimePicker/utils/getMaskedValue.js +0 -52
- package/styled-components/cjs/components/DateTimePicker/utils/getOriginalDateTime.js +0 -132
- package/styled-components/cjs/components/DateTimePicker/utils/index.js +0 -19
- package/styled-components/cjs/components/DateTimePicker/utils/normalizeDateTime.js +0 -30
- package/styled-components/cjs/components/DateTimePicker/variations/_disabled/base.js +0 -16
- package/styled-components/cjs/components/DateTimePicker/variations/_readonly/base.js +0 -18
- package/styled-components/cjs/components/DateTimePicker/variations/_size/base.js +0 -24
- package/styled-components/cjs/components/DateTimePicker/variations/_tooltip-size/base.js +0 -14
- package/styled-components/cjs/components/DateTimePicker/variations/_view/base.js +0 -18
- package/styled-components/cjs/examples/components/DateTimePicker/DateTimePicker.config.js +0 -786
- package/styled-components/cjs/examples/components/DateTimePicker/DateTimePicker.js +0 -15
- package/styled-components/es/components/DateTimePicker/DateTimePicker.js +0 -505
- package/styled-components/es/components/DateTimePicker/DateTimePicker.styles.js +0 -28
- package/styled-components/es/components/DateTimePicker/DateTimePicker.tokens.js +0 -248
- package/styled-components/es/components/DateTimePicker/DateTimePicker.types.js +0 -1
- package/styled-components/es/components/DateTimePicker/hooks/useDateTimePicker.js +0 -329
- package/styled-components/es/components/DateTimePicker/hooks/useKeyboardNavigation.js +0 -39
- package/styled-components/es/components/DateTimePicker/index.js +0 -2
- package/styled-components/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.js +0 -83
- package/styled-components/es/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.js +0 -48
- package/styled-components/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.js +0 -38
- package/styled-components/es/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.js +0 -97
- package/styled-components/es/components/DateTimePicker/ui/Input/Input.js +0 -111
- package/styled-components/es/components/DateTimePicker/ui/Input/Input.styles.js +0 -162
- package/styled-components/es/components/DateTimePicker/ui/Popover/Popover.js +0 -102
- package/styled-components/es/components/DateTimePicker/ui/Popover/Popover.styles.js +0 -33
- package/styled-components/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.js +0 -72
- package/styled-components/es/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.js +0 -54
- package/styled-components/es/components/DateTimePicker/ui/index.js +0 -6
- package/styled-components/es/components/DateTimePicker/utils/getFormattedDateTime.js +0 -108
- package/styled-components/es/components/DateTimePicker/utils/getMaskedValue.js +0 -42
- package/styled-components/es/components/DateTimePicker/utils/getOriginalDateTime.js +0 -122
- package/styled-components/es/components/DateTimePicker/utils/index.js +0 -2
- package/styled-components/es/components/DateTimePicker/utils/normalizeDateTime.js +0 -20
- package/styled-components/es/components/DateTimePicker/variations/_disabled/base.js +0 -6
- package/styled-components/es/components/DateTimePicker/variations/_readonly/base.js +0 -8
- package/styled-components/es/components/DateTimePicker/variations/_size/base.js +0 -14
- package/styled-components/es/components/DateTimePicker/variations/_tooltip-size/base.js +0 -4
- package/styled-components/es/components/DateTimePicker/variations/_view/base.js +0 -8
- package/styled-components/es/examples/components/DateTimePicker/DateTimePicker.config.js +0 -776
- package/styled-components/es/examples/components/DateTimePicker/DateTimePicker.js +0 -5
- package/types/components/DateTimePicker/DateTimePicker.d.ts +0 -73
- package/types/components/DateTimePicker/DateTimePicker.d.ts.map +0 -1
- package/types/components/DateTimePicker/DateTimePicker.styles.d.ts +0 -4
- package/types/components/DateTimePicker/DateTimePicker.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/DateTimePicker.tokens.d.ts +0 -257
- package/types/components/DateTimePicker/DateTimePicker.tokens.d.ts.map +0 -1
- package/types/components/DateTimePicker/DateTimePicker.types.d.ts +0 -161
- package/types/components/DateTimePicker/DateTimePicker.types.d.ts.map +0 -1
- package/types/components/DateTimePicker/hooks/useDateTimePicker.d.ts +0 -18
- package/types/components/DateTimePicker/hooks/useDateTimePicker.d.ts.map +0 -1
- package/types/components/DateTimePicker/hooks/useKeyboardNavigation.d.ts +0 -18
- package/types/components/DateTimePicker/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/types/components/DateTimePicker/index.d.ts +0 -4
- package/types/components/DateTimePicker/index.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.d.ts +0 -11
- package/types/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.d.ts +0 -10
- package/types/components/DateTimePicker/ui/CalendarGrid/CalendarGrid.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/DateShortcut/DateShortcutList.d.ts +0 -12
- package/types/components/DateTimePicker/ui/DateShortcut/DateShortcutList.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.d.ts +0 -44
- package/types/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/Input/Input.d.ts +0 -8
- package/types/components/DateTimePicker/ui/Input/Input.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/Input/Input.styles.d.ts +0 -298
- package/types/components/DateTimePicker/ui/Input/Input.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/Popover/Popover.d.ts +0 -8
- package/types/components/DateTimePicker/ui/Popover/Popover.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/Popover/Popover.styles.d.ts +0 -6
- package/types/components/DateTimePicker/ui/Popover/Popover.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/TimeGrid/TimeGrid.d.ts +0 -9
- package/types/components/DateTimePicker/ui/TimeGrid/TimeGrid.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.d.ts +0 -23
- package/types/components/DateTimePicker/ui/TimeGrid/TimeGrid.styles.d.ts.map +0 -1
- package/types/components/DateTimePicker/ui/index.d.ts +0 -7
- package/types/components/DateTimePicker/ui/index.d.ts.map +0 -1
- package/types/components/DateTimePicker/utils/getFormattedDateTime.d.ts +0 -27
- package/types/components/DateTimePicker/utils/getFormattedDateTime.d.ts.map +0 -1
- package/types/components/DateTimePicker/utils/getMaskedValue.d.ts +0 -13
- package/types/components/DateTimePicker/utils/getMaskedValue.d.ts.map +0 -1
- package/types/components/DateTimePicker/utils/getOriginalDateTime.d.ts +0 -19
- package/types/components/DateTimePicker/utils/getOriginalDateTime.d.ts.map +0 -1
- package/types/components/DateTimePicker/utils/index.d.ts +0 -3
- package/types/components/DateTimePicker/utils/index.d.ts.map +0 -1
- package/types/components/DateTimePicker/utils/normalizeDateTime.d.ts +0 -15
- package/types/components/DateTimePicker/utils/normalizeDateTime.d.ts.map +0 -1
- package/types/components/DateTimePicker/variations/_disabled/base.d.ts +0 -2
- package/types/components/DateTimePicker/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/DateTimePicker/variations/_readonly/base.d.ts +0 -2
- package/types/components/DateTimePicker/variations/_readonly/base.d.ts.map +0 -1
- package/types/components/DateTimePicker/variations/_size/base.d.ts +0 -2
- package/types/components/DateTimePicker/variations/_size/base.d.ts.map +0 -1
- package/types/components/DateTimePicker/variations/_tooltip-size/base.d.ts +0 -2
- package/types/components/DateTimePicker/variations/_tooltip-size/base.d.ts.map +0 -1
- package/types/components/DateTimePicker/variations/_view/base.d.ts +0 -2
- package/types/components/DateTimePicker/variations/_view/base.d.ts.map +0 -1
- package/types/examples/components/DateTimePicker/DateTimePicker.config.d.ts +0 -29
- package/types/examples/components/DateTimePicker/DateTimePicker.config.d.ts.map +0 -1
- package/types/examples/components/DateTimePicker/DateTimePicker.d.ts +0 -42
- package/types/examples/components/DateTimePicker/DateTimePicker.d.ts.map +0 -1
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
function _object_without_properties(source, excluded) {
|
|
54
|
-
if (source == null) return {};
|
|
55
|
-
var target = _object_without_properties_loose(source, excluded);
|
|
56
|
-
var key, i;
|
|
57
|
-
if (Object.getOwnPropertySymbols) {
|
|
58
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
59
|
-
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
60
|
-
key = sourceSymbolKeys[i];
|
|
61
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
62
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
63
|
-
target[key] = source[key];
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return target;
|
|
67
|
-
}
|
|
68
|
-
function _object_without_properties_loose(source, excluded) {
|
|
69
|
-
if (source == null) return {};
|
|
70
|
-
var target = {};
|
|
71
|
-
var sourceKeys = Object.keys(source);
|
|
72
|
-
var key, i;
|
|
73
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
74
|
-
key = sourceKeys[i];
|
|
75
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
76
|
-
target[key] = source[key];
|
|
77
|
-
}
|
|
78
|
-
return target;
|
|
79
|
-
}
|
|
80
|
-
import React, { forwardRef } from "react";
|
|
81
|
-
import { getPlacements, getSizeValueFromProp } from "../../../../utils";
|
|
82
|
-
import { StyledPopover } from "./Popover.styles";
|
|
83
|
-
export var Popover = /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
84
|
-
var children = _param.children, placement = _param.placement, calendarContainerWidth = _param.calendarContainerWidth, calendarContainerHeight = _param.calendarContainerHeight, rest = _object_without_properties(_param, [
|
|
85
|
-
"children",
|
|
86
|
-
"placement",
|
|
87
|
-
"calendarContainerWidth",
|
|
88
|
-
"calendarContainerHeight"
|
|
89
|
-
]);
|
|
90
|
-
var calendarContainerWidthValue = calendarContainerWidth ? getSizeValueFromProp(calendarContainerWidth, 'rem') : undefined;
|
|
91
|
-
var calendarContainerHeightValue = calendarContainerHeight ? getSizeValueFromProp(calendarContainerHeight, 'rem') : undefined;
|
|
92
|
-
return /*#__PURE__*/ React.createElement(StyledPopover, _object_spread_props(_object_spread({
|
|
93
|
-
ref: ref
|
|
94
|
-
}, rest), {
|
|
95
|
-
innerWidth: calendarContainerWidthValue,
|
|
96
|
-
innerHeight: calendarContainerHeightValue,
|
|
97
|
-
placement: getPlacements(placement, false),
|
|
98
|
-
trigger: "click",
|
|
99
|
-
isFocusTrapped: false,
|
|
100
|
-
preventOverflow: false
|
|
101
|
-
}), children);
|
|
102
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import { component, mergeConfig } from "../../../../engines";
|
|
3
|
-
import { popoverConfig } from "../../../Popover";
|
|
4
|
-
import { classes, tokens } from "../../DateTimePicker.tokens";
|
|
5
|
-
var mergedPopoverConfig = mergeConfig(popoverConfig);
|
|
6
|
-
var Popover = component(mergedPopoverConfig);
|
|
7
|
-
export var StyledPopover = /*#__PURE__*/ styled(Popover, {
|
|
8
|
-
target: "e15ohdkd0",
|
|
9
|
-
label: "StyledPopover"
|
|
10
|
-
})(".", classes.root, "{box-sizing:border-box;display:flex;gap:var(", tokens.popoverGap, ");border-radius:var(", tokens.popoverBorderRadius, ");padding:var(", tokens.popoverPadding, ");background:var(", tokens.popoverBackgroundColor, ");box-shadow:var(", tokens.popoverShadow, ");overflow:hidden;width:", function(param) {
|
|
11
|
-
var innerWidth = param.innerWidth;
|
|
12
|
-
return innerWidth || 'fit-content';
|
|
13
|
-
}, ";height:", function(param) {
|
|
14
|
-
var innerHeight = param.innerHeight;
|
|
15
|
-
return innerHeight || 'fit-content';
|
|
16
|
-
}, ";}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci91aS9Qb3BvdmVyL1BvcG92ZXIuc3R5bGVzLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0RhdGVUaW1lUGlja2VyL3VpL1BvcG92ZXIvUG9wb3Zlci5zdHlsZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJ3NyYy9lbmdpbmVzJztcblxuaW1wb3J0IHsgcG9wb3ZlckNvbmZpZyB9IGZyb20gJy4uLy4uLy4uL1BvcG92ZXInO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vRGF0ZVRpbWVQaWNrZXIudG9rZW5zJztcblxuY29uc3QgbWVyZ2VkUG9wb3ZlckNvbmZpZyA9IG1lcmdlQ29uZmlnKHBvcG92ZXJDb25maWcpO1xuY29uc3QgUG9wb3ZlciA9IGNvbXBvbmVudChtZXJnZWRQb3BvdmVyQ29uZmlnKTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFBvcG92ZXIgPSBzdHlsZWQoUG9wb3Zlcik8eyBpbm5lcldpZHRoPzogc3RyaW5nOyBpbm5lckhlaWdodD86IHN0cmluZyB9PmBcbiAgICAuJHtjbGFzc2VzLnJvb3R9IHtcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcblxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBnYXA6IHZhcigke3Rva2Vucy5wb3BvdmVyR2FwfSk7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5wb3BvdmVyQm9yZGVyUmFkaXVzfSk7XG4gICAgICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wb3BvdmVyUGFkZGluZ30pO1xuXG4gICAgICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5wb3BvdmVyQmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IHZhcigke3Rva2Vucy5wb3BvdmVyU2hhZG93fSk7XG5cbiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxuICAgICAgICB3aWR0aDogJHsoeyBpbm5lcldpZHRoIH0pID0+IGlubmVyV2lkdGggfHwgJ2ZpdC1jb250ZW50J307XG4gICAgICAgIGhlaWdodDogJHsoeyBpbm5lckhlaWdodCB9KSA9PiBpbm5lckhlaWdodCB8fCAnZml0LWNvbnRlbnQnfTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMucG9wb3ZlclNlcGFyYXRvckJhY2tncm91bmR9KTtcbiAgICBtaW4td2lkdGg6IDAuMDYzcmVtO1xuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTNkIifQ== */");
|
|
17
|
-
export var StyledSeparator = /*#__PURE__*/ styled("div", {
|
|
18
|
-
target: "e15ohdkd1",
|
|
19
|
-
label: "StyledSeparator"
|
|
20
|
-
})("background-color:var(", tokens.popoverSeparatorBackground, ");min-width:0.063rem;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci91aS9Qb3BvdmVyL1BvcG92ZXIuc3R5bGVzLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0RhdGVUaW1lUGlja2VyL3VpL1BvcG92ZXIvUG9wb3Zlci5zdHlsZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJ3NyYy9lbmdpbmVzJztcblxuaW1wb3J0IHsgcG9wb3ZlckNvbmZpZyB9IGZyb20gJy4uLy4uLy4uL1BvcG92ZXInO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vRGF0ZVRpbWVQaWNrZXIudG9rZW5zJztcblxuY29uc3QgbWVyZ2VkUG9wb3ZlckNvbmZpZyA9IG1lcmdlQ29uZmlnKHBvcG92ZXJDb25maWcpO1xuY29uc3QgUG9wb3ZlciA9IGNvbXBvbmVudChtZXJnZWRQb3BvdmVyQ29uZmlnKTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFBvcG92ZXIgPSBzdHlsZWQoUG9wb3Zlcik8eyBpbm5lcldpZHRoPzogc3RyaW5nOyBpbm5lckhlaWdodD86IHN0cmluZyB9PmBcbiAgICAuJHtjbGFzc2VzLnJvb3R9IHtcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcblxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBnYXA6IHZhcigke3Rva2Vucy5wb3BvdmVyR2FwfSk7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5wb3BvdmVyQm9yZGVyUmFkaXVzfSk7XG4gICAgICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wb3BvdmVyUGFkZGluZ30pO1xuXG4gICAgICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5wb3BvdmVyQmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IHZhcigke3Rva2Vucy5wb3BvdmVyU2hhZG93fSk7XG5cbiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxuICAgICAgICB3aWR0aDogJHsoeyBpbm5lcldpZHRoIH0pID0+IGlubmVyV2lkdGggfHwgJ2ZpdC1jb250ZW50J307XG4gICAgICAgIGhlaWdodDogJHsoeyBpbm5lckhlaWdodCB9KSA9PiBpbm5lckhlaWdodCB8fCAnZml0LWNvbnRlbnQnfTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMucG9wb3ZlclNlcGFyYXRvckJhY2tncm91bmR9KTtcbiAgICBtaW4td2lkdGg6IDAuMDYzcmVtO1xuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0QitCIn0= */");
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function _object_without_properties(source, excluded) {
|
|
30
|
-
if (source == null) return {};
|
|
31
|
-
var target = _object_without_properties_loose(source, excluded);
|
|
32
|
-
var key, i;
|
|
33
|
-
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
35
|
-
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
36
|
-
key = sourceSymbolKeys[i];
|
|
37
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
38
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
|
-
target[key] = source[key];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return target;
|
|
43
|
-
}
|
|
44
|
-
function _object_without_properties_loose(source, excluded) {
|
|
45
|
-
if (source == null) return {};
|
|
46
|
-
var target = {};
|
|
47
|
-
var sourceKeys = Object.keys(source);
|
|
48
|
-
var key, i;
|
|
49
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
50
|
-
key = sourceKeys[i];
|
|
51
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
52
|
-
target[key] = source[key];
|
|
53
|
-
}
|
|
54
|
-
return target;
|
|
55
|
-
}
|
|
56
|
-
import React from "react";
|
|
57
|
-
import { getSizeValueFromProp } from "../../../../utils";
|
|
58
|
-
import { StyledTimeGrid } from "./TimeGrid.styles";
|
|
59
|
-
export var TimeGrid = function(_param) {
|
|
60
|
-
var columns = _param.columns, calendarContainerWidth = _param.calendarContainerWidth, calendarContainerHeight = _param.calendarContainerHeight, rest = _object_without_properties(_param, [
|
|
61
|
-
"columns",
|
|
62
|
-
"calendarContainerWidth",
|
|
63
|
-
"calendarContainerHeight"
|
|
64
|
-
]);
|
|
65
|
-
var calendarContainerWidthValue = calendarContainerWidth ? getSizeValueFromProp(calendarContainerWidth, 'rem') : undefined;
|
|
66
|
-
var calendarContainerHeightValue = calendarContainerHeight ? getSizeValueFromProp(calendarContainerHeight, 'rem') : undefined;
|
|
67
|
-
return /*#__PURE__*/ React.createElement(StyledTimeGrid, _object_spread({
|
|
68
|
-
columns: columns,
|
|
69
|
-
innerWidth: calendarContainerWidthValue,
|
|
70
|
-
innerHeight: calendarContainerHeightValue
|
|
71
|
-
}, rest));
|
|
72
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import { timePickerGridConfig, timePickerGridTokens } from "../../../TimePickerGrid";
|
|
3
|
-
import { component, mergeConfig } from "../../../../engines";
|
|
4
|
-
import { tokens } from "../../DateTimePicker.tokens";
|
|
5
|
-
var mergedTimePickerGrid = mergeConfig(timePickerGridConfig);
|
|
6
|
-
var TimePickerGrid = component(mergedTimePickerGrid);
|
|
7
|
-
export var StyledTimeGrid = /*#__PURE__*/ styled(TimePickerGrid, {
|
|
8
|
-
target: "e1qww9lh0",
|
|
9
|
-
label: "StyledTimeGrid"
|
|
10
|
-
})("flex-shrink:2;", timePickerGridTokens.timePickerGridWidth, ":", function(param) {
|
|
11
|
-
var innerWidth = param.innerWidth, columns = param.columns;
|
|
12
|
-
return innerWidth && innerWidth !== '0' ? '100%' : "calc(var(".concat(tokens.timePickerColumnWidth, ") * ").concat(columns, " + var(").concat(tokens.timePickerColumnGap, ") * ").concat(columns - 1, ")");
|
|
13
|
-
}, ";", timePickerGridTokens.columnHeight, ":", function(param) {
|
|
14
|
-
var innerHeight = param.innerHeight;
|
|
15
|
-
return innerHeight && innerHeight !== '0' ? "calc(".concat(innerHeight, " - var(").concat(tokens.popoverVerticalPadding, "))") : "var(".concat(tokens.timePickerColumnHeight, ")");
|
|
16
|
-
}, ";", timePickerGridTokens.itemHeight, ":var(", tokens.timePickerItemHeight, ");", timePickerGridTokens.itemBorderRadius, ":var(", tokens.timePickerItemBorderRadius, ");", timePickerGridTokens.itemPadding, ":var(", tokens.timePickerItemPadding, ");", timePickerGridTokens.itemBackgroundHover, ":var(", tokens.timePickerItemBackgroundHover, ");", timePickerGridTokens.itemBackgroundActive, ":var(", tokens.timePickerItemBackgroundActive, ");", timePickerGridTokens.itemFontFamily, ":var(", tokens.timePickerItemFontFamily, ");", timePickerGridTokens.itemFontSize, ":var(", tokens.timePickerItemFontSize, ");", timePickerGridTokens.itemFontStyle, ":var(", tokens.timePickerItemFontStyle, ");", timePickerGridTokens.itemFontWeight, ":var(", tokens.timePickerItemFontWeight, ");", timePickerGridTokens.itemLetterSpacing, ":var(", tokens.timePickerItemLetterSpacing, ");", timePickerGridTokens.itemLineHeight, ":var(", tokens.timePickerItemLineHeight, ");", timePickerGridTokens.scrollbarWidth, ":var(", tokens.timePickerScrollbarWidth, ");", timePickerGridTokens.scrollbarColor, ":var(", tokens.timePickerScrollbarColor, ");", timePickerGridTokens.scrollbarTrackColor, ":var(", tokens.timePickerScrollbarTrackColor, ");", timePickerGridTokens.scrollbarMargin, ":var(", tokens.timePickerScrollbarMargin, ");", timePickerGridTokens.disabledOpacity, ":var(", tokens.disabledOpacity, ");", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci91aS9UaW1lR3JpZC9UaW1lR3JpZC5zdHlsZXMudHMiLCJzb3VyY2VzIjpbInNyYy1lbW90aW9uL2NvbXBvbmVudHMvRGF0ZVRpbWVQaWNrZXIvdWkvVGltZUdyaWQvVGltZUdyaWQuc3R5bGVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IHRpbWVQaWNrZXJHcmlkQ29uZmlnLCB0aW1lUGlja2VyR3JpZFRva2VucyB9IGZyb20gJ3NyYy9jb21wb25lbnRzL1RpbWVQaWNrZXJHcmlkJztcbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICdzcmMvZW5naW5lcyc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL0RhdGVUaW1lUGlja2VyLnRva2Vucyc7XG5cbmNvbnN0IG1lcmdlZFRpbWVQaWNrZXJHcmlkID0gbWVyZ2VDb25maWcodGltZVBpY2tlckdyaWRDb25maWcpO1xuY29uc3QgVGltZVBpY2tlckdyaWQgPSBjb21wb25lbnQobWVyZ2VkVGltZVBpY2tlckdyaWQpO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGltZUdyaWQgPSBzdHlsZWQoVGltZVBpY2tlckdyaWQpPHtcbiAgICBjb2x1bW5zOiBudW1iZXI7XG4gICAgaW5uZXJXaWR0aD86IHN0cmluZyB8IG51bWJlcjtcbiAgICBpbm5lckhlaWdodD86IHN0cmluZyB8IG51bWJlcjtcbn0+YFxuICAgIGZsZXgtc2hyaW5rOiAyO1xuXG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy50aW1lUGlja2VyR3JpZFdpZHRofTogJHsoeyBpbm5lcldpZHRoLCBjb2x1bW5zIH0pID0+XG4gICAgaW5uZXJXaWR0aCAmJiBpbm5lcldpZHRoICE9PSAnMCdcbiAgICAgICAgPyAnMTAwJSdcbiAgICAgICAgOiBgY2FsYyh2YXIoJHt0b2tlbnMudGltZVBpY2tlckNvbHVtbldpZHRofSkgKiAke2NvbHVtbnN9ICsgdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJDb2x1bW5HYXB9KSAqICR7XG4gICAgICAgICAgICAgIGNvbHVtbnMgLSAxXG4gICAgICAgICAgfSlgfTtcbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLmNvbHVtbkhlaWdodH06ICR7KHsgaW5uZXJIZWlnaHQgfSkgPT5cbiAgICBpbm5lckhlaWdodCAmJiBpbm5lckhlaWdodCAhPT0gJzAnXG4gICAgICAgID8gYGNhbGMoJHtpbm5lckhlaWdodH0gLSB2YXIoJHt0b2tlbnMucG9wb3ZlclZlcnRpY2FsUGFkZGluZ30pKWBcbiAgICAgICAgOiBgdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJDb2x1bW5IZWlnaHR9KWB9O1xuXG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtSGVpZ2h0fTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJJdGVtSGVpZ2h0fSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtQm9yZGVyUmFkaXVzfTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJJdGVtQm9yZGVyUmFkaXVzfSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtUGFkZGluZ306IHZhcigke3Rva2Vucy50aW1lUGlja2VySXRlbVBhZGRpbmd9KTtcbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLml0ZW1CYWNrZ3JvdW5kSG92ZXJ9OiB2YXIoJHt0b2tlbnMudGltZVBpY2tlckl0ZW1CYWNrZ3JvdW5kSG92ZXJ9KTtcbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLml0ZW1CYWNrZ3JvdW5kQWN0aXZlfTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJJdGVtQmFja2dyb3VuZEFjdGl2ZX0pO1xuXG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtRm9udEZhbWlseX06IHZhcigke3Rva2Vucy50aW1lUGlja2VySXRlbUZvbnRGYW1pbHl9KTtcbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLml0ZW1Gb250U2l6ZX06IHZhcigke3Rva2Vucy50aW1lUGlja2VySXRlbUZvbnRTaXplfSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtRm9udFN0eWxlfTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJJdGVtRm9udFN0eWxlfSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5pdGVtRm9udFdlaWdodH06IHZhcigke3Rva2Vucy50aW1lUGlja2VySXRlbUZvbnRXZWlnaHR9KTtcbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLml0ZW1MZXR0ZXJTcGFjaW5nfTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJJdGVtTGV0dGVyU3BhY2luZ30pO1xuICAgICR7dGltZVBpY2tlckdyaWRUb2tlbnMuaXRlbUxpbmVIZWlnaHR9OiB2YXIoJHt0b2tlbnMudGltZVBpY2tlckl0ZW1MaW5lSGVpZ2h0fSk7XG5cbiAgICAke3RpbWVQaWNrZXJHcmlkVG9rZW5zLnNjcm9sbGJhcldpZHRofTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJTY3JvbGxiYXJXaWR0aH0pO1xuICAgICR7dGltZVBpY2tlckdyaWRUb2tlbnMuc2Nyb2xsYmFyQ29sb3J9OiB2YXIoJHt0b2tlbnMudGltZVBpY2tlclNjcm9sbGJhckNvbG9yfSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5zY3JvbGxiYXJUcmFja0NvbG9yfTogdmFyKCR7dG9rZW5zLnRpbWVQaWNrZXJTY3JvbGxiYXJUcmFja0NvbG9yfSk7XG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5zY3JvbGxiYXJNYXJnaW59OiB2YXIoJHt0b2tlbnMudGltZVBpY2tlclNjcm9sbGJhck1hcmdpbn0pO1xuXG4gICAgJHt0aW1lUGlja2VyR3JpZFRva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiB2YXIoJHt0b2tlbnMuZGlzYWJsZWRPcGFjaXR5fSk7XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVM4QiJ9 */");
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
import { needFullMonth } from "../../DatePicker/utils/dateHelper";
|
|
54
|
-
import { getOriginalDateTime } from "./getOriginalDateTime";
|
|
55
|
-
import { normalizeDateTime } from "./normalizeDateTime";
|
|
56
|
-
export var getFormattedDateTime = function(param) {
|
|
57
|
-
var value = param.value, lang = param.lang, format = param.format, dateFormat = param.dateFormat, timeFormat = param.timeFormat, includeEdgeDates = param.includeEdgeDates, min = param.min, max = param.max;
|
|
58
|
-
var withFullMonth = needFullMonth(format || '');
|
|
59
|
-
var _getOriginalDateTime = getOriginalDateTime({
|
|
60
|
-
value: value,
|
|
61
|
-
lang: lang,
|
|
62
|
-
fullFormat: format,
|
|
63
|
-
dateFormat: dateFormat,
|
|
64
|
-
timeFormat: timeFormat,
|
|
65
|
-
needFullMonth: withFullMonth
|
|
66
|
-
}), formattedDate = _getOriginalDateTime.formattedDate, isoDate = _getOriginalDateTime.isoDate, originalDate = _getOriginalDateTime.originalDate, timeValue = _getOriginalDateTime.timeValue, dateValue = _getOriginalDateTime.dateValue;
|
|
67
|
-
if (!originalDate) {
|
|
68
|
-
var innerValue = format && (needFullMonth(format) ? formattedDate : formattedDate.slice(0, format.length));
|
|
69
|
-
var result = {
|
|
70
|
-
formattedDate: innerValue || '',
|
|
71
|
-
isoDate: isoDate,
|
|
72
|
-
originalDate: originalDate,
|
|
73
|
-
timeValue: timeValue,
|
|
74
|
-
dateValue: dateValue
|
|
75
|
-
};
|
|
76
|
-
if (dateValue && !timeValue) {
|
|
77
|
-
var _normalizeDateTime = normalizeDateTime({
|
|
78
|
-
originalDate: dateValue,
|
|
79
|
-
lang: lang,
|
|
80
|
-
format: dateFormat,
|
|
81
|
-
includeEdgeDates: includeEdgeDates,
|
|
82
|
-
min: min,
|
|
83
|
-
max: max
|
|
84
|
-
}), normalizedDate = _normalizeDateTime.normalizedDate, formattedNormalizedDate = _normalizeDateTime.formattedNormalizedDate;
|
|
85
|
-
var parsedNormalizedDate = formattedNormalizedDate + (innerValue === null || innerValue === void 0 ? void 0 : innerValue.slice(formattedNormalizedDate.length));
|
|
86
|
-
return _object_spread_props(_object_spread({}, result), {
|
|
87
|
-
formattedDate: parsedNormalizedDate,
|
|
88
|
-
dateValue: normalizedDate
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
return result;
|
|
92
|
-
}
|
|
93
|
-
var _normalizeDateTime1 = normalizeDateTime({
|
|
94
|
-
originalDate: originalDate,
|
|
95
|
-
lang: lang,
|
|
96
|
-
format: format,
|
|
97
|
-
includeEdgeDates: includeEdgeDates,
|
|
98
|
-
min: min,
|
|
99
|
-
max: max
|
|
100
|
-
}), normalizedDate1 = _normalizeDateTime1.normalizedDate, formattedNormalizedDate1 = _normalizeDateTime1.formattedNormalizedDate;
|
|
101
|
-
return {
|
|
102
|
-
formattedDate: formattedNormalizedDate1,
|
|
103
|
-
isoDate: normalizedDate1.toISOString(),
|
|
104
|
-
originalDate: normalizedDate1,
|
|
105
|
-
timeValue: normalizedDate1,
|
|
106
|
-
dateValue: normalizedDate1
|
|
107
|
-
};
|
|
108
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export var getMaskedValue = function(param) {
|
|
2
|
-
var value = param.value, prevValue = param.prevValue, format = param.format, delimiters = param.delimiters, selectionStart = param.selectionStart;
|
|
3
|
-
if (!value) {
|
|
4
|
-
return {
|
|
5
|
-
formattedValue: '',
|
|
6
|
-
selectionStart: 0
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
if (!format || !(delimiters === null || delimiters === void 0 ? void 0 : delimiters.length)) {
|
|
10
|
-
return {
|
|
11
|
-
formattedValue: value,
|
|
12
|
-
selectionStart: selectionStart
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
var currentSelection = selectionStart || 0;
|
|
16
|
-
var dateRegExp = new RegExp("[^0-9".concat(delimiters.join(''), "]"), 'g');
|
|
17
|
-
var formattedValue = value.replace(dateRegExp, '');
|
|
18
|
-
if (formattedValue.length >= format.length) {
|
|
19
|
-
return {
|
|
20
|
-
formattedValue: formattedValue.slice(0, format.length),
|
|
21
|
-
selectionStart: selectionStart
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
if (prevValue && formattedValue.length < prevValue.length) {
|
|
25
|
-
if (delimiters.includes(format[currentSelection])) {
|
|
26
|
-
return {
|
|
27
|
-
formattedValue: formattedValue.slice(0, currentSelection - 1),
|
|
28
|
-
selectionStart: currentSelection - 1
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
if (delimiters.includes(format[currentSelection])) {
|
|
33
|
-
return {
|
|
34
|
-
formattedValue: formattedValue + format[currentSelection],
|
|
35
|
-
selectionStart: currentSelection + 1
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
formattedValue: formattedValue,
|
|
40
|
-
selectionStart: currentSelection
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _instanceof(left, right) {
|
|
15
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
16
|
-
return !!right[Symbol.hasInstance](left);
|
|
17
|
-
} else {
|
|
18
|
-
return left instanceof right;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function _object_spread(target) {
|
|
22
|
-
for(var i = 1; i < arguments.length; i++){
|
|
23
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
24
|
-
var ownKeys = Object.keys(source);
|
|
25
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
26
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
27
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
ownKeys.forEach(function(key) {
|
|
31
|
-
_define_property(target, key, source[key]);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
return target;
|
|
35
|
-
}
|
|
36
|
-
function ownKeys(object, enumerableOnly) {
|
|
37
|
-
var keys = Object.keys(object);
|
|
38
|
-
if (Object.getOwnPropertySymbols) {
|
|
39
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
40
|
-
if (enumerableOnly) {
|
|
41
|
-
symbols = symbols.filter(function(sym) {
|
|
42
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
keys.push.apply(keys, symbols);
|
|
46
|
-
}
|
|
47
|
-
return keys;
|
|
48
|
-
}
|
|
49
|
-
function _object_spread_props(target, source) {
|
|
50
|
-
source = source != null ? source : {};
|
|
51
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
52
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
53
|
-
} else {
|
|
54
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
55
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
return target;
|
|
59
|
-
}
|
|
60
|
-
import { customDayjs } from "../../../utils/datejs";
|
|
61
|
-
var initialValueStructure = {
|
|
62
|
-
isoDate: '',
|
|
63
|
-
originalDate: undefined,
|
|
64
|
-
dateValue: undefined,
|
|
65
|
-
timeValue: undefined,
|
|
66
|
-
formattedDate: ''
|
|
67
|
-
};
|
|
68
|
-
export var getOriginalDateTime = function(param) {
|
|
69
|
-
var value = param.value, lang = param.lang, fullFormat = param.fullFormat, dateFormat = param.dateFormat, timeFormat = param.timeFormat, needFullMonth = param.needFullMonth;
|
|
70
|
-
var _String;
|
|
71
|
-
if (!value || !lang || !fullFormat) {
|
|
72
|
-
return initialValueStructure;
|
|
73
|
-
}
|
|
74
|
-
customDayjs.locale(lang);
|
|
75
|
-
if (_instanceof(value, Date)) {
|
|
76
|
-
var currentDate = new Date(value);
|
|
77
|
-
return {
|
|
78
|
-
formattedDate: customDayjs(value).format(fullFormat),
|
|
79
|
-
isoDate: currentDate.toISOString(),
|
|
80
|
-
originalDate: currentDate,
|
|
81
|
-
dateValue: currentDate,
|
|
82
|
-
timeValue: currentDate
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
if (!needFullMonth && fullFormat.length !== ((_String = String(value)) === null || _String === void 0 ? void 0 : _String.length)) {
|
|
86
|
-
var baseValueStructure = _object_spread_props(_object_spread({}, initialValueStructure), {
|
|
87
|
-
formattedDate: value
|
|
88
|
-
});
|
|
89
|
-
if (dateFormat) {
|
|
90
|
-
var rawDate = value.slice(0, dateFormat === null || dateFormat === void 0 ? void 0 : dateFormat.length);
|
|
91
|
-
if (customDayjs(rawDate, dateFormat, true).isValid()) {
|
|
92
|
-
baseValueStructure = _object_spread_props(_object_spread({}, baseValueStructure), {
|
|
93
|
-
dateValue: customDayjs(rawDate, dateFormat).toDate()
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
if (timeFormat) {
|
|
98
|
-
var rawTime = value.slice(((dateFormat === null || dateFormat === void 0 ? void 0 : dateFormat.length) || 0) + 1);
|
|
99
|
-
if (customDayjs(rawTime, timeFormat, true).isValid()) {
|
|
100
|
-
baseValueStructure = _object_spread_props(_object_spread({}, baseValueStructure), {
|
|
101
|
-
timeValue: customDayjs(value, fullFormat).toDate()
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return baseValueStructure;
|
|
106
|
-
}
|
|
107
|
-
if (customDayjs(value, fullFormat).isValid()) {
|
|
108
|
-
var isoDate = customDayjs(value, fullFormat).toISOString();
|
|
109
|
-
var originalDate = customDayjs(value, fullFormat).toDate();
|
|
110
|
-
var formattedDate = customDayjs(value, fullFormat).format(fullFormat);
|
|
111
|
-
return {
|
|
112
|
-
formattedDate: formattedDate,
|
|
113
|
-
isoDate: isoDate,
|
|
114
|
-
originalDate: originalDate,
|
|
115
|
-
dateValue: originalDate,
|
|
116
|
-
timeValue: originalDate
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
return _object_spread_props(_object_spread({}, initialValueStructure), {
|
|
120
|
-
formattedDate: value
|
|
121
|
-
});
|
|
122
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { customDayjs } from "../../../utils/datejs";
|
|
2
|
-
export var normalizeDateTime = function(param) {
|
|
3
|
-
var originalDate = param.originalDate, lang = param.lang, format = param.format, includeEdgeDates = param.includeEdgeDates, min = param.min, max = param.max;
|
|
4
|
-
var dateCandidate = originalDate;
|
|
5
|
-
customDayjs.locale(lang);
|
|
6
|
-
if (min && includeEdgeDates && min > originalDate) {
|
|
7
|
-
dateCandidate = min;
|
|
8
|
-
} else if (min && !includeEdgeDates && min >= originalDate) {
|
|
9
|
-
dateCandidate = customDayjs(min).add(1, 's').toDate();
|
|
10
|
-
} else if (max && includeEdgeDates && max < originalDate) {
|
|
11
|
-
dateCandidate = max;
|
|
12
|
-
} else if (max && !includeEdgeDates && max <= originalDate) {
|
|
13
|
-
dateCandidate = customDayjs(max).subtract(1, 's').toDate();
|
|
14
|
-
}
|
|
15
|
-
var formattedDateCandidate = format ? customDayjs(dateCandidate).format(format) : dateCandidate.toString();
|
|
16
|
-
return {
|
|
17
|
-
normalizedDate: dateCandidate,
|
|
18
|
-
formattedNormalizedDate: formattedDateCandidate
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import { tokens } from "../../DateTimePicker.tokens";
|
|
3
|
-
export var base = /*#__PURE__*/ css("&[disabled]{opacity:var(", tokens.disabledOpacity, ");cursor:not-allowed;}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0RhdGVUaW1lUGlja2VyL3ZhcmlhdGlvbnMvX2Rpc2FibGVkL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9EYXRlVGltZVBpY2tlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmW2Rpc2FibGVkXSB7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlvQiJ9 */");
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import { tokens } from "../../DateTimePicker.tokens";
|
|
3
|
-
import { LeftHelper } from "../../DateTimePicker.styles";
|
|
4
|
-
export var base = /*#__PURE__*/ css("&[readonly]{cursor:default;", LeftHelper, "{color:var(", tokens.leftHelperColorReadOnly, ");}}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL19yZWFkb25seS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0RhdGVUaW1lUGlja2VyL3ZhcmlhdGlvbnMvX3JlYWRvbmx5L2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9EYXRlVGltZVBpY2tlci50b2tlbnMnO1xuaW1wb3J0IHsgTGVmdEhlbHBlciB9IGZyb20gJy4uLy4uL0RhdGVUaW1lUGlja2VyLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICZbcmVhZG9ubHldIHtcbiAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuXG4gICAgICAgICR7TGVmdEhlbHBlcn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyQ29sb3JSZWFkT25seX0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLb0IifQ== */");
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import { LeftHelper } from "../../DateTimePicker.styles";
|
|
3
|
-
import { tokens } from "../../DateTimePicker.tokens";
|
|
4
|
-
export var base = /*#__PURE__*/ css(LeftHelper, "{margin:var(", tokens.leftHelperOffset, ");font-family:var(", tokens.leftHelperFontFamily, ");font-size:var(", tokens.leftHelperFontSize, ");font-style:var(", tokens.leftHelperFontStyle, ");font-weight:var(", tokens.leftHelperFontWeight, ");letter-spacing:var(", tokens.leftHelperLetterSpacing, ");line-height:var(", tokens.leftHelperLineHeight, ");}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiLCJzb3VyY2VzIjpbInNyYy1lbW90aW9uL2NvbXBvbmVudHMvRGF0ZVRpbWVQaWNrZXIvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgTGVmdEhlbHBlciB9IGZyb20gJy4uLy4uL0RhdGVUaW1lUGlja2VyLnN0eWxlcyc7XG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9EYXRlVGltZVBpY2tlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0xlZnRIZWxwZXJ9IHtcbiAgICAgICAgbWFyZ2luOiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlck9mZnNldH0pO1xuXG4gICAgICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckZvbnRGYW1pbHl9KTtcbiAgICAgICAgZm9udC1zaXplOiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckZvbnRTaXplfSk7XG4gICAgICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyRm9udFN0eWxlfSk7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckZvbnRXZWlnaHR9KTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyTGV0dGVyU3BhY2luZ30pO1xuICAgICAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJMaW5lSGVpZ2h0fSk7XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLb0IifQ== */");
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
export var base = /*#__PURE__*/ css("base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL190b29sdGlwLXNpemUvYmFzZS50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL190b29sdGlwLXNpemUvYmFzZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRW9CIn0= */");
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import { LeftHelper } from "../../DateTimePicker.styles";
|
|
3
|
-
import { tokens } from "../../DateTimePicker.tokens";
|
|
4
|
-
export var base = /*#__PURE__*/ css(LeftHelper, "{color:var(", tokens.leftHelperColor, ");}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9EYXRlVGltZVBpY2tlci92YXJpYXRpb25zL192aWV3L2Jhc2UudHMiLCJzb3VyY2VzIjpbInNyYy1lbW90aW9uL2NvbXBvbmVudHMvRGF0ZVRpbWVQaWNrZXIvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgTGVmdEhlbHBlciB9IGZyb20gJy4uLy4uL0RhdGVUaW1lUGlja2VyLnN0eWxlcyc7XG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9EYXRlVGltZVBpY2tlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0xlZnRIZWxwZXJ9IHtcbiAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyQ29sb3J9KTtcbiAgICB9XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtvQiJ9 */");
|