naive-ui 2.25.3 → 2.25.6
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/es/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
- package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -0
- package/es/_mixins/use-css-vars-class.js +2 -1
- package/es/button/src/styles/button-rtl.cssr.js +2 -2
- package/es/cascader/src/Cascader.d.ts +10 -0
- package/es/cascader/src/CascaderMenu.d.ts +1 -0
- package/es/cascader/src/CascaderOption.d.ts +1 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/cascader/styles/light.d.ts +1 -0
- package/es/checkbox/src/Checkbox.d.ts +12 -0
- package/es/checkbox/src/Checkbox.js +14 -7
- package/es/checkbox/src/styles/index.cssr.js +16 -8
- package/es/checkbox/src/styles/rtl.cssr.d.ts +2 -0
- package/es/checkbox/src/styles/rtl.cssr.js +4 -0
- package/es/checkbox/styles/index.d.ts +1 -0
- package/es/checkbox/styles/index.js +1 -0
- package/es/checkbox/styles/light.d.ts +1 -0
- package/es/checkbox/styles/light.js +2 -2
- package/es/checkbox/styles/rtl.d.ts +2 -0
- package/es/checkbox/styles/rtl.js +5 -0
- package/es/code/src/Code.js +3 -1
- package/es/collapse/src/Collapse.d.ts +1 -0
- package/es/collapse/src/Collapse.js +9 -2
- package/es/collapse/src/CollapseItem.d.ts +1 -0
- package/es/collapse/src/CollapseItem.js +8 -3
- package/es/collapse/src/styles/rtl.cssr.d.ts +2 -0
- package/es/collapse/src/styles/rtl.cssr.js +15 -0
- package/es/collapse/styles/index.d.ts +1 -0
- package/es/collapse/styles/index.js +1 -0
- package/es/collapse/styles/rtl.d.ts +2 -0
- package/es/collapse/styles/rtl.js +5 -0
- package/es/collapse-transition/src/CollapseTransition.d.ts +3 -1
- package/es/collapse-transition/src/CollapseTransition.js +27 -14
- package/es/config-provider/src/ConfigProvider.js +6 -0
- package/es/config-provider/src/internal-interface.d.ts +1 -0
- package/es/data-table/src/DataTable.d.ts +20 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +3 -0
- package/es/data-table/src/TableParts/Cell.d.ts +4 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/styles/light.d.ts +2 -0
- package/es/date-picker/src/DatePicker.d.ts +7 -2
- package/es/date-picker/src/DatePicker.js +80 -68
- package/es/date-picker/src/panel/date.d.ts +6 -0
- package/es/date-picker/src/panel/date.js +7 -2
- package/es/date-picker/src/panel/daterange.d.ts +4 -0
- package/es/date-picker/src/panel/daterange.js +7 -2
- package/es/date-picker/src/panel/datetime.d.ts +6 -0
- package/es/date-picker/src/panel/datetime.js +7 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +4 -0
- package/es/date-picker/src/panel/datetimerange.js +7 -2
- package/es/date-picker/src/panel/month.d.ts +6 -0
- package/es/date-picker/src/panel/month.js +4 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +10 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +4 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/es/date-picker/src/panel/use-panel-common.js +3 -1
- package/es/drawer/src/Drawer.d.ts +3 -1
- package/es/drawer/src/Drawer.js +39 -27
- package/es/dropdown/src/Dropdown.d.ts +7 -5
- package/es/dropdown/src/Dropdown.js +59 -52
- package/es/dynamic-input/src/DynamicInput.d.ts +3 -1
- package/es/dynamic-input/src/DynamicInput.js +17 -10
- package/es/form/src/FormItem.d.ts +3 -1
- package/es/form/src/FormItem.js +40 -33
- package/es/form/src/FormItemRow.js +1 -1
- package/es/gradient-text/src/GradientText.d.ts +3 -1
- package/es/gradient-text/src/GradientText.js +23 -15
- package/es/icon/src/Icon.d.ts +3 -5
- package/es/icon/src/Icon.js +29 -19
- package/es/image/src/ImagePreview.d.ts +3 -1
- package/es/image/src/ImagePreview.js +28 -15
- package/es/input/src/Input.d.ts +4 -1
- package/es/input/src/Input.js +27 -6
- package/es/input/src/InputGroupLabel.d.ts +3 -1
- package/es/input/src/InputGroupLabel.js +26 -19
- package/es/input/src/styles/input.cssr.js +1 -0
- package/es/input/src/styles/rtl.cssr.d.ts +2 -0
- package/es/input/src/styles/rtl.cssr.js +16 -0
- package/es/input/styles/index.d.ts +1 -0
- package/es/input/styles/index.js +1 -0
- package/es/input/styles/rtl.d.ts +2 -0
- package/es/input/styles/rtl.js +5 -0
- package/es/input-number/src/InputNumber.d.ts +1 -0
- package/es/input-number/src/InputNumber.js +8 -3
- package/es/input-number/src/styles/rtl.cssr.d.ts +2 -0
- package/es/input-number/src/styles/rtl.cssr.js +4 -0
- package/es/input-number/styles/index.d.ts +1 -0
- package/es/input-number/styles/index.js +1 -0
- package/es/input-number/styles/rtl.d.ts +2 -0
- package/es/input-number/styles/rtl.js +8 -0
- package/es/layout/src/Layout.d.ts +2 -0
- package/es/layout/src/LayoutContent.d.ts +1 -0
- package/es/layout/src/LayoutSider.d.ts +1 -0
- package/es/legacy-grid/src/styles/index.cssr.js +1 -1
- package/es/list/src/List.d.ts +3 -1
- package/es/list/src/List.js +27 -19
- package/es/loading-bar/src/LoadingBar.d.ts +3 -1
- package/es/loading-bar/src/LoadingBar.js +29 -15
- package/es/log/src/Log.d.ts +1 -0
- package/es/mention/src/Mention.d.ts +3 -1
- package/es/mention/src/Mention.js +20 -10
- package/es/message/src/Message.d.ts +12 -24
- package/es/message/src/Message.js +57 -40
- package/es/message/src/MessageEnvironment.d.ts +9 -0
- package/es/message/src/MessageEnvironment.js +1 -1
- package/es/message/src/MessageProvider.d.ts +67 -0
- package/es/message/src/MessageProvider.js +3 -0
- package/es/message/src/message-props.d.ts +4 -0
- package/es/message/src/message-props.js +4 -0
- package/es/message/src/styles/index.cssr.js +2 -1
- package/es/message/src/types.d.ts +3 -1
- package/es/message/styles/light.d.ts +7 -0
- package/es/message/styles/light.js +1 -1
- package/es/modal/src/BodyWrapper.d.ts +1 -0
- package/es/notification/src/Notification.d.ts +3 -1
- package/es/notification/src/Notification.js +44 -32
- package/es/notification/src/NotificationProvider.d.ts +1 -0
- package/es/notification/src/NotificationProvider.js +1 -0
- package/es/popconfirm/src/Popconfirm.d.ts +3 -2
- package/es/popconfirm/src/Popconfirm.js +2 -1
- package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -1
- package/es/popconfirm/src/PopconfirmPanel.js +32 -25
- package/es/popconfirm/src/interface.d.ts +2 -0
- package/es/popover/src/PopoverBody.d.ts +4 -0
- package/es/popover/src/PopoverBody.js +3 -2
- package/es/popover/src/styles/index.cssr.js +49 -29
- package/es/radio/src/Radio.d.ts +7 -0
- package/es/radio/src/Radio.js +14 -7
- package/es/radio/src/RadioGroup.d.ts +9 -0
- package/es/radio/src/styles/radio.cssr.js +16 -9
- package/es/radio/styles/dark.js +2 -2
- package/es/radio/styles/light.d.ts +1 -0
- package/es/radio/styles/light.js +2 -2
- package/es/scrollbar/src/ScrollBar.d.ts +1 -0
- package/es/select/src/Select.d.ts +3 -1
- package/es/select/src/Select.js +31 -23
- package/es/slider/src/Slider.d.ts +6 -2
- package/es/slider/src/Slider.js +74 -51
- package/es/steps/src/Step.d.ts +3 -1
- package/es/steps/src/Step.js +32 -20
- package/es/styles.d.ts +4 -4
- package/es/styles.js +4 -4
- package/es/tabs/src/styles/index.cssr.js +2 -0
- package/es/time-picker/src/Panel.js +4 -4
- package/es/time-picker/src/TimePicker.d.ts +12 -4
- package/es/time-picker/src/TimePicker.js +90 -35
- package/es/timeline/src/Timeline.d.ts +9 -9
- package/es/timeline/src/TimelineItem.d.ts +4 -2
- package/es/timeline/src/TimelineItem.js +34 -20
- package/es/timeline/styles/_common.d.ts +1 -1
- package/es/timeline/styles/_common.js +1 -1
- package/es/timeline/styles/light.d.ts +1 -1
- package/es/transfer/src/Transfer.d.ts +10 -0
- package/es/transfer/src/TransferFilter.d.ts +1 -0
- package/es/transfer/src/TransferList.d.ts +2 -0
- package/es/transfer/src/TransferListItem.d.ts +1 -0
- package/es/transfer/styles/light.d.ts +1 -0
- package/es/tree/src/Tree.d.ts +16 -3
- package/es/tree/src/Tree.js +50 -28
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/es/tree/styles/light.d.ts +1 -0
- package/es/tree-select/src/TreeSelect.d.ts +23 -10
- package/es/tree-select/src/TreeSelect.js +26 -17
- package/es/tree-select/styles/light.d.ts +1 -0
- package/es/upload/src/Upload.d.ts +3 -1
- package/es/upload/src/Upload.js +23 -13
- package/es/upload/src/UploadFileList.js +8 -3
- package/es/upload/src/interface.d.ts +3 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -0
- package/lib/_mixins/use-css-vars-class.js +2 -1
- package/lib/button/src/styles/button-rtl.cssr.js +2 -2
- package/lib/cascader/src/Cascader.d.ts +10 -0
- package/lib/cascader/src/CascaderMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderOption.d.ts +1 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/cascader/styles/light.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.d.ts +12 -0
- package/lib/checkbox/src/Checkbox.js +14 -7
- package/lib/checkbox/src/styles/index.cssr.js +16 -8
- package/lib/checkbox/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/checkbox/src/styles/rtl.cssr.js +11 -0
- package/lib/checkbox/styles/index.d.ts +1 -0
- package/lib/checkbox/styles/index.js +3 -1
- package/lib/checkbox/styles/light.d.ts +1 -0
- package/lib/checkbox/styles/light.js +2 -2
- package/lib/checkbox/styles/rtl.d.ts +2 -0
- package/lib/checkbox/styles/rtl.js +11 -0
- package/lib/code/src/Code.js +3 -1
- package/lib/collapse/src/Collapse.d.ts +1 -0
- package/lib/collapse/src/Collapse.js +9 -2
- package/lib/collapse/src/CollapseItem.d.ts +1 -0
- package/lib/collapse/src/CollapseItem.js +7 -2
- package/lib/collapse/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/collapse/src/styles/rtl.cssr.js +22 -0
- package/lib/collapse/styles/index.d.ts +1 -0
- package/lib/collapse/styles/index.js +3 -1
- package/lib/collapse/styles/rtl.d.ts +2 -0
- package/lib/collapse/styles/rtl.js +11 -0
- package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -1
- package/lib/collapse-transition/src/CollapseTransition.js +26 -13
- package/lib/config-provider/src/ConfigProvider.js +6 -0
- package/lib/config-provider/src/internal-interface.d.ts +1 -0
- package/lib/data-table/src/DataTable.d.ts +20 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +3 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/styles/light.d.ts +2 -0
- package/lib/date-picker/src/DatePicker.d.ts +7 -2
- package/lib/date-picker/src/DatePicker.js +79 -67
- package/lib/date-picker/src/panel/date.d.ts +6 -0
- package/lib/date-picker/src/panel/date.js +7 -2
- package/lib/date-picker/src/panel/daterange.d.ts +4 -0
- package/lib/date-picker/src/panel/daterange.js +7 -2
- package/lib/date-picker/src/panel/datetime.d.ts +6 -0
- package/lib/date-picker/src/panel/datetime.js +7 -2
- package/lib/date-picker/src/panel/datetimerange.d.ts +4 -0
- package/lib/date-picker/src/panel/datetimerange.js +7 -2
- package/lib/date-picker/src/panel/month.d.ts +6 -0
- package/lib/date-picker/src/panel/month.js +4 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +10 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +4 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.js +3 -1
- package/lib/drawer/src/Drawer.d.ts +4 -1
- package/lib/drawer/src/Drawer.js +38 -26
- package/lib/dropdown/src/Dropdown.d.ts +7 -5
- package/lib/dropdown/src/Dropdown.js +58 -51
- package/lib/dynamic-input/src/DynamicInput.d.ts +3 -1
- package/lib/dynamic-input/src/DynamicInput.js +16 -9
- package/lib/form/src/FormItem.d.ts +3 -1
- package/lib/form/src/FormItem.js +39 -32
- package/lib/form/src/FormItemRow.js +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +3 -1
- package/lib/gradient-text/src/GradientText.js +22 -14
- package/lib/icon/src/Icon.d.ts +3 -5
- package/lib/icon/src/Icon.js +28 -18
- package/lib/image/src/ImagePreview.d.ts +3 -1
- package/lib/image/src/ImagePreview.js +27 -14
- package/lib/input/src/Input.d.ts +4 -1
- package/lib/input/src/Input.js +27 -6
- package/lib/input/src/InputGroupLabel.d.ts +3 -1
- package/lib/input/src/InputGroupLabel.js +25 -18
- package/lib/input/src/styles/input.cssr.js +1 -0
- package/lib/input/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/input/src/styles/rtl.cssr.js +23 -0
- package/lib/input/styles/index.d.ts +1 -0
- package/lib/input/styles/index.js +3 -1
- package/lib/input/styles/rtl.d.ts +2 -0
- package/lib/input/styles/rtl.js +11 -0
- package/lib/input-number/src/InputNumber.d.ts +1 -0
- package/lib/input-number/src/InputNumber.js +8 -3
- package/lib/input-number/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/input-number/src/styles/rtl.cssr.js +11 -0
- package/lib/input-number/styles/index.d.ts +1 -0
- package/lib/input-number/styles/index.js +3 -1
- package/lib/input-number/styles/rtl.d.ts +2 -0
- package/lib/input-number/styles/rtl.js +14 -0
- package/lib/layout/src/Layout.d.ts +2 -0
- package/lib/layout/src/LayoutContent.d.ts +1 -0
- package/lib/layout/src/LayoutSider.d.ts +1 -0
- package/lib/legacy-grid/src/styles/index.cssr.js +1 -1
- package/lib/list/src/List.d.ts +3 -1
- package/lib/list/src/List.js +26 -18
- package/lib/loading-bar/src/LoadingBar.d.ts +3 -1
- package/lib/loading-bar/src/LoadingBar.js +28 -14
- package/lib/log/src/Log.d.ts +1 -0
- package/lib/mention/src/Mention.d.ts +3 -1
- package/lib/mention/src/Mention.js +19 -9
- package/lib/message/src/Message.d.ts +12 -24
- package/lib/message/src/Message.js +56 -39
- package/lib/message/src/MessageEnvironment.d.ts +9 -0
- package/lib/message/src/MessageEnvironment.js +1 -1
- package/lib/message/src/MessageProvider.d.ts +67 -0
- package/lib/message/src/MessageProvider.js +3 -0
- package/lib/message/src/message-props.d.ts +4 -0
- package/lib/message/src/message-props.js +4 -0
- package/lib/message/src/styles/index.cssr.js +2 -1
- package/lib/message/src/types.d.ts +3 -1
- package/lib/message/styles/light.d.ts +7 -0
- package/lib/message/styles/light.js +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +1 -0
- package/lib/notification/src/Notification.d.ts +3 -1
- package/lib/notification/src/Notification.js +44 -32
- package/lib/notification/src/NotificationProvider.d.ts +1 -0
- package/lib/notification/src/NotificationProvider.js +1 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +3 -2
- package/lib/popconfirm/src/Popconfirm.js +2 -1
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +3 -1
- package/lib/popconfirm/src/PopconfirmPanel.js +30 -23
- package/lib/popconfirm/src/interface.d.ts +2 -0
- package/lib/popover/src/PopoverBody.d.ts +4 -0
- package/lib/popover/src/PopoverBody.js +3 -2
- package/lib/popover/src/styles/index.cssr.js +50 -29
- package/lib/radio/src/Radio.d.ts +7 -0
- package/lib/radio/src/Radio.js +13 -6
- package/lib/radio/src/RadioGroup.d.ts +9 -0
- package/lib/radio/src/styles/radio.cssr.js +16 -9
- package/lib/radio/styles/dark.js +2 -2
- package/lib/radio/styles/light.d.ts +1 -0
- package/lib/radio/styles/light.js +2 -2
- package/lib/scrollbar/src/ScrollBar.d.ts +1 -0
- package/lib/select/src/Select.d.ts +3 -1
- package/lib/select/src/Select.js +30 -22
- package/lib/slider/src/Slider.d.ts +6 -2
- package/lib/slider/src/Slider.js +73 -50
- package/lib/steps/src/Step.d.ts +3 -1
- package/lib/steps/src/Step.js +32 -20
- package/lib/styles.d.ts +4 -4
- package/lib/styles.js +6 -2
- package/lib/tabs/src/styles/index.cssr.js +2 -0
- package/lib/time-picker/src/Panel.js +4 -4
- package/lib/time-picker/src/TimePicker.d.ts +12 -4
- package/lib/time-picker/src/TimePicker.js +89 -34
- package/lib/timeline/src/Timeline.d.ts +9 -9
- package/lib/timeline/src/TimelineItem.d.ts +4 -2
- package/lib/timeline/src/TimelineItem.js +34 -20
- package/lib/timeline/styles/_common.d.ts +1 -1
- package/lib/timeline/styles/_common.js +1 -1
- package/lib/timeline/styles/light.d.ts +1 -1
- package/lib/transfer/src/Transfer.d.ts +10 -0
- package/lib/transfer/src/TransferFilter.d.ts +1 -0
- package/lib/transfer/src/TransferList.d.ts +2 -0
- package/lib/transfer/src/TransferListItem.d.ts +1 -0
- package/lib/transfer/styles/light.d.ts +1 -0
- package/lib/tree/src/Tree.d.ts +16 -3
- package/lib/tree/src/Tree.js +49 -27
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/lib/tree/styles/light.d.ts +1 -0
- package/lib/tree-select/src/TreeSelect.d.ts +23 -10
- package/lib/tree-select/src/TreeSelect.js +25 -16
- package/lib/tree-select/styles/light.d.ts +1 -0
- package/lib/upload/src/Upload.d.ts +3 -1
- package/lib/upload/src/Upload.js +22 -12
- package/lib/upload/src/UploadFileList.js +8 -3
- package/lib/upload/src/interface.d.ts +3 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1859,6 +1859,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1859
1859
|
}, any>;
|
|
1860
1860
|
}>>>;
|
|
1861
1861
|
}, {
|
|
1862
|
+
focus: () => void;
|
|
1863
|
+
blur: () => void;
|
|
1862
1864
|
mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
|
|
1863
1865
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
1864
1866
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
@@ -1880,6 +1882,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1880
1882
|
panelInstRef: import("vue").Ref<{
|
|
1881
1883
|
$el: HTMLElement;
|
|
1882
1884
|
hourScrollRef?: {
|
|
1885
|
+
$el: HTMLElement;
|
|
1883
1886
|
containerRef: HTMLElement | null;
|
|
1884
1887
|
contentRef: HTMLElement | null;
|
|
1885
1888
|
containerScrollTop: number;
|
|
@@ -1891,6 +1894,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1891
1894
|
handleMouseLeaveWrapper: () => void;
|
|
1892
1895
|
} | undefined;
|
|
1893
1896
|
minuteScrollRef?: {
|
|
1897
|
+
$el: HTMLElement;
|
|
1894
1898
|
containerRef: HTMLElement | null;
|
|
1895
1899
|
contentRef: HTMLElement | null;
|
|
1896
1900
|
containerScrollTop: number;
|
|
@@ -1902,6 +1906,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1902
1906
|
handleMouseLeaveWrapper: () => void;
|
|
1903
1907
|
} | undefined;
|
|
1904
1908
|
secondScrollRef?: {
|
|
1909
|
+
$el: HTMLElement;
|
|
1905
1910
|
containerRef: HTMLElement | null;
|
|
1906
1911
|
contentRef: HTMLElement | null;
|
|
1907
1912
|
containerScrollTop: number;
|
|
@@ -1913,6 +1918,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1913
1918
|
handleMouseLeaveWrapper: () => void;
|
|
1914
1919
|
} | undefined;
|
|
1915
1920
|
amPmScrollRef?: {
|
|
1921
|
+
$el: HTMLElement;
|
|
1916
1922
|
containerRef: HTMLElement | null;
|
|
1917
1923
|
contentRef: HTMLElement | null;
|
|
1918
1924
|
containerScrollTop: number;
|
|
@@ -2377,7 +2383,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2377
2383
|
'--n-icon-color': string;
|
|
2378
2384
|
'--n-icon-color-disabled': string;
|
|
2379
2385
|
'--n-bezier': string;
|
|
2380
|
-
}
|
|
2386
|
+
}> | undefined;
|
|
2387
|
+
triggerThemeClass: import("vue").Ref<string> | undefined;
|
|
2388
|
+
triggerOnRender: (() => void) | undefined;
|
|
2381
2389
|
cssVars: import("vue").ComputedRef<{
|
|
2382
2390
|
'--n-bezier': string;
|
|
2383
2391
|
'--n-border-radius': string;
|
|
@@ -2393,9 +2401,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2393
2401
|
'--n-panel-color': string;
|
|
2394
2402
|
'--n-panel-divider-color': string;
|
|
2395
2403
|
'--n-item-border-radius': string;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
|
|
2404
|
+
}> | undefined;
|
|
2405
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
2406
|
+
onRender: (() => void) | undefined;
|
|
2399
2407
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2400
2408
|
to: {
|
|
2401
2409
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -8,7 +8,7 @@ import { strictParse } from '../../date-picker/src/utils';
|
|
|
8
8
|
import { TimeIcon } from '../../_internal/icons';
|
|
9
9
|
import { NInput } from '../../input';
|
|
10
10
|
import { NBaseIcon } from '../../_internal';
|
|
11
|
-
import { useConfig, useTheme, useLocale, useFormItem } from '../../_mixins';
|
|
11
|
+
import { useConfig, useTheme, useLocale, useFormItem, useThemeClass } from '../../_mixins';
|
|
12
12
|
import { call, useAdjustedTo, warnOnce } from '../../_utils';
|
|
13
13
|
import { timePickerLight } from '../styles';
|
|
14
14
|
import Panel from './Panel';
|
|
@@ -76,7 +76,7 @@ export default defineComponent({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef } = useConfig(props);
|
|
79
|
+
const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = useConfig(props);
|
|
80
80
|
const { localeRef, dateLocaleRef } = useLocale('TimePicker');
|
|
81
81
|
const formItem = useFormItem(props);
|
|
82
82
|
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
|
|
@@ -513,8 +513,74 @@ export default defineComponent({
|
|
|
513
513
|
(_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
|
-
|
|
517
|
-
|
|
516
|
+
const triggerCssVarsRef = computed(() => {
|
|
517
|
+
const { common: { cubicBezierEaseInOut }, self: { iconColor, iconColorDisabled } } = themeRef.value;
|
|
518
|
+
return {
|
|
519
|
+
'--n-icon-color': iconColor,
|
|
520
|
+
'--n-icon-color-disabled': iconColorDisabled,
|
|
521
|
+
'--n-bezier': cubicBezierEaseInOut
|
|
522
|
+
};
|
|
523
|
+
});
|
|
524
|
+
const triggerThemeClassHandle = inlineThemeDisabled
|
|
525
|
+
? useThemeClass('time-picker-trigger', undefined, triggerCssVarsRef, props)
|
|
526
|
+
: undefined;
|
|
527
|
+
const cssVarsRef = computed(() => {
|
|
528
|
+
const { self: { panelColor, itemTextColor, itemTextColorActive, itemColorHover, panelDividerColor, panelBoxShadow, itemOpacityDisabled, borderRadius, itemFontSize, itemWidth, itemHeight, panelActionPadding, itemBorderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
529
|
+
return {
|
|
530
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
531
|
+
'--n-border-radius': borderRadius,
|
|
532
|
+
'--n-item-color-hover': itemColorHover,
|
|
533
|
+
'--n-item-font-size': itemFontSize,
|
|
534
|
+
'--n-item-height': itemHeight,
|
|
535
|
+
'--n-item-opacity-disabled': itemOpacityDisabled,
|
|
536
|
+
'--n-item-text-color': itemTextColor,
|
|
537
|
+
'--n-item-text-color-active': itemTextColorActive,
|
|
538
|
+
'--n-item-width': itemWidth,
|
|
539
|
+
'--n-panel-action-padding': panelActionPadding,
|
|
540
|
+
'--n-panel-box-shadow': panelBoxShadow,
|
|
541
|
+
'--n-panel-color': panelColor,
|
|
542
|
+
'--n-panel-divider-color': panelDividerColor,
|
|
543
|
+
'--n-item-border-radius': itemBorderRadius
|
|
544
|
+
};
|
|
545
|
+
});
|
|
546
|
+
const themeClassHandle = inlineThemeDisabled
|
|
547
|
+
? useThemeClass('time-picker', undefined, cssVarsRef, props)
|
|
548
|
+
: undefined;
|
|
549
|
+
return {
|
|
550
|
+
focus: exposedMethods.focus,
|
|
551
|
+
blur: exposedMethods.blur,
|
|
552
|
+
mergedStatus: mergedStatusRef,
|
|
553
|
+
mergedBordered: mergedBorderedRef,
|
|
554
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
555
|
+
namespace: namespaceRef,
|
|
556
|
+
uncontrolledValue: uncontrolledValueRef,
|
|
557
|
+
mergedValue: mergedValueRef,
|
|
558
|
+
isMounted: useIsMounted(),
|
|
559
|
+
inputInstRef,
|
|
560
|
+
panelInstRef,
|
|
561
|
+
adjustedTo: useAdjustedTo(props),
|
|
562
|
+
mergedShow: mergedShowRef,
|
|
563
|
+
localizedNow: localizedNowRef,
|
|
564
|
+
localizedPlaceholder: localizedPlaceholderRef,
|
|
565
|
+
localizedNegativeText: localizedNegativeTextRef,
|
|
566
|
+
localizedPositiveText: localizedPositiveTextRef,
|
|
567
|
+
hourInFormat: hourInFormatRef,
|
|
568
|
+
minuteInFormat: minuteInFormatRef,
|
|
569
|
+
secondInFormat: secondInFormatRef,
|
|
570
|
+
mergedAttrSize: mergedAttrSizeRef,
|
|
571
|
+
displayTimeString: displayTimeStringRef,
|
|
572
|
+
mergedSize: mergedSizeRef,
|
|
573
|
+
mergedDisabled: mergedDisabledRef,
|
|
574
|
+
isValueInvalid: isValueInvalidRef,
|
|
575
|
+
isHourInvalid: isHourInvalidRef,
|
|
576
|
+
isMinuteInvalid: isMinuteInvalidRef,
|
|
577
|
+
isSecondInvalid: isSecondInvalidRef,
|
|
578
|
+
transitionDisabled: transitionDisabledRef,
|
|
579
|
+
hourValue: hourValueRef,
|
|
580
|
+
minuteValue: minuteValueRef,
|
|
581
|
+
secondValue: secondValueRef,
|
|
582
|
+
amPmValue: amPmValueRef,
|
|
583
|
+
handleTimeInputFocus,
|
|
518
584
|
handleTimeInputBlur,
|
|
519
585
|
handleNowClick,
|
|
520
586
|
handleConfirmClick,
|
|
@@ -531,36 +597,20 @@ export default defineComponent({
|
|
|
531
597
|
handleTimeInputClear,
|
|
532
598
|
handleFocusDetectorFocus,
|
|
533
599
|
handleMenuKeyDown,
|
|
534
|
-
handleTriggerClick,
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
return {
|
|
544
|
-
'--n-bezier': cubicBezierEaseInOut,
|
|
545
|
-
'--n-border-radius': borderRadius,
|
|
546
|
-
'--n-item-color-hover': itemColorHover,
|
|
547
|
-
'--n-item-font-size': itemFontSize,
|
|
548
|
-
'--n-item-height': itemHeight,
|
|
549
|
-
'--n-item-opacity-disabled': itemOpacityDisabled,
|
|
550
|
-
'--n-item-text-color': itemTextColor,
|
|
551
|
-
'--n-item-text-color-active': itemTextColorActive,
|
|
552
|
-
'--n-item-width': itemWidth,
|
|
553
|
-
'--n-panel-action-padding': panelActionPadding,
|
|
554
|
-
'--n-panel-box-shadow': panelBoxShadow,
|
|
555
|
-
'--n-panel-color': panelColor,
|
|
556
|
-
'--n-panel-divider-color': panelDividerColor,
|
|
557
|
-
'--n-item-border-radius': itemBorderRadius
|
|
558
|
-
};
|
|
559
|
-
}) });
|
|
600
|
+
handleTriggerClick,
|
|
601
|
+
mergedTheme: themeRef,
|
|
602
|
+
triggerCssVars: inlineThemeDisabled ? undefined : triggerCssVarsRef,
|
|
603
|
+
triggerThemeClass: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.themeClass,
|
|
604
|
+
triggerOnRender: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.onRender,
|
|
605
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
606
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
607
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
608
|
+
};
|
|
560
609
|
},
|
|
561
610
|
render() {
|
|
562
|
-
const { mergedClsPrefix, $slots } = this;
|
|
563
|
-
|
|
611
|
+
const { mergedClsPrefix, $slots, triggerOnRender } = this;
|
|
612
|
+
triggerOnRender === null || triggerOnRender === void 0 ? void 0 : triggerOnRender();
|
|
613
|
+
return (h("div", { class: [`${mergedClsPrefix}-time-picker`, this.triggerThemeClass], style: this.triggerCssVars },
|
|
564
614
|
h(VBinder, null, {
|
|
565
615
|
default: () => [
|
|
566
616
|
h(VTarget, null, {
|
|
@@ -574,9 +624,14 @@ export default defineComponent({
|
|
|
574
624
|
}),
|
|
575
625
|
h(VFollower, { teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey, show: this.mergedShow, to: this.adjustedTo, containerClass: this.namespace, placement: this.placement }, {
|
|
576
626
|
default: () => (h(Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
|
|
577
|
-
default: () =>
|
|
578
|
-
|
|
579
|
-
|
|
627
|
+
default: () => {
|
|
628
|
+
var _a;
|
|
629
|
+
if (this.mergedShow) {
|
|
630
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
631
|
+
return withDirectives(h(Panel, { ref: "panelInstRef", actions: this.actions, class: this.themeClass, style: this.cssVars, seconds: this.seconds, minutes: this.minutes, hours: this.hours, transitionDisabled: this.transitionDisabled, hourValue: this.hourValue, showHour: this.hourInFormat, isHourInvalid: this.isHourInvalid, isHourDisabled: this.isHourDisabled, minuteValue: this.minuteValue, showMinute: this.minuteInFormat, isMinuteInvalid: this.isMinuteInvalid, isMinuteDisabled: this.isMinuteDisabled, secondValue: this.secondValue, amPmValue: this.amPmValue, showSecond: this.secondInFormat, isSecondInvalid: this.isSecondInvalid, isSecondDisabled: this.isSecondDisabled, isValueInvalid: this.isValueInvalid, nowText: this.localizedNow, confirmText: this.localizedPositiveText, use12Hours: this.use12Hours, onFocusout: this.handleMenuFocusOut, onKeydown: this.handleMenuKeyDown, onHourClick: this.handleHourClick, onMinuteClick: this.handleMinuteClick, onSecondClick: this.handleSecondClick, onAmPmClick: this.handleAmPmClick, onNowClick: this.handleNowClick, onConfirmClick: this.handleConfirmClick, onFocusDetectorFocus: this.handleFocusDetectorFocus }), [[clickoutside, this.handleClickOutside]]);
|
|
632
|
+
}
|
|
633
|
+
return null;
|
|
634
|
+
}
|
|
580
635
|
}))
|
|
581
636
|
})
|
|
582
637
|
]
|
|
@@ -30,7 +30,7 @@ declare const timelineProps: {
|
|
|
30
30
|
contentTextColor: string;
|
|
31
31
|
metaTextColor: string;
|
|
32
32
|
lineColor: string;
|
|
33
|
-
titleMarginMedium:
|
|
33
|
+
titleMarginMedium: string;
|
|
34
34
|
titleMarginLarge: string;
|
|
35
35
|
titleFontSizeMedium: string;
|
|
36
36
|
titleFontSizeLarge: string;
|
|
@@ -54,7 +54,7 @@ declare const timelineProps: {
|
|
|
54
54
|
contentTextColor: string;
|
|
55
55
|
metaTextColor: string;
|
|
56
56
|
lineColor: string;
|
|
57
|
-
titleMarginMedium:
|
|
57
|
+
titleMarginMedium: string;
|
|
58
58
|
titleMarginLarge: string;
|
|
59
59
|
titleFontSizeMedium: string;
|
|
60
60
|
titleFontSizeLarge: string;
|
|
@@ -78,7 +78,7 @@ declare const timelineProps: {
|
|
|
78
78
|
contentTextColor: string;
|
|
79
79
|
metaTextColor: string;
|
|
80
80
|
lineColor: string;
|
|
81
|
-
titleMarginMedium:
|
|
81
|
+
titleMarginMedium: string;
|
|
82
82
|
titleMarginLarge: string;
|
|
83
83
|
titleFontSizeMedium: string;
|
|
84
84
|
titleFontSizeLarge: string;
|
|
@@ -121,7 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
121
|
contentTextColor: string;
|
|
122
122
|
metaTextColor: string;
|
|
123
123
|
lineColor: string;
|
|
124
|
-
titleMarginMedium:
|
|
124
|
+
titleMarginMedium: string;
|
|
125
125
|
titleMarginLarge: string;
|
|
126
126
|
titleFontSizeMedium: string;
|
|
127
127
|
titleFontSizeLarge: string;
|
|
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
145
|
contentTextColor: string;
|
|
146
146
|
metaTextColor: string;
|
|
147
147
|
lineColor: string;
|
|
148
|
-
titleMarginMedium:
|
|
148
|
+
titleMarginMedium: string;
|
|
149
149
|
titleMarginLarge: string;
|
|
150
150
|
titleFontSizeMedium: string;
|
|
151
151
|
titleFontSizeLarge: string;
|
|
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
contentTextColor: string;
|
|
170
170
|
metaTextColor: string;
|
|
171
171
|
lineColor: string;
|
|
172
|
-
titleMarginMedium:
|
|
172
|
+
titleMarginMedium: string;
|
|
173
173
|
titleMarginLarge: string;
|
|
174
174
|
titleFontSizeMedium: string;
|
|
175
175
|
titleFontSizeLarge: string;
|
|
@@ -204,7 +204,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
contentTextColor: string;
|
|
205
205
|
metaTextColor: string;
|
|
206
206
|
lineColor: string;
|
|
207
|
-
titleMarginMedium:
|
|
207
|
+
titleMarginMedium: string;
|
|
208
208
|
titleMarginLarge: string;
|
|
209
209
|
titleFontSizeMedium: string;
|
|
210
210
|
titleFontSizeLarge: string;
|
|
@@ -228,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
228
228
|
contentTextColor: string;
|
|
229
229
|
metaTextColor: string;
|
|
230
230
|
lineColor: string;
|
|
231
|
-
titleMarginMedium:
|
|
231
|
+
titleMarginMedium: string;
|
|
232
232
|
titleMarginLarge: string;
|
|
233
233
|
titleFontSizeMedium: string;
|
|
234
234
|
titleFontSizeLarge: string;
|
|
@@ -252,7 +252,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
252
252
|
contentTextColor: string;
|
|
253
253
|
metaTextColor: string;
|
|
254
254
|
lineColor: string;
|
|
255
|
-
titleMarginMedium:
|
|
255
|
+
titleMarginMedium: string;
|
|
256
256
|
titleMarginLarge: string;
|
|
257
257
|
titleFontSizeMedium: string;
|
|
258
258
|
titleFontSizeLarge: string;
|
|
@@ -32,10 +32,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
'--n-meta-text-color': string;
|
|
33
33
|
'--n-title-font-size': string;
|
|
34
34
|
'--n-title-font-weight': string;
|
|
35
|
-
'--n-title-margin': string
|
|
35
|
+
'--n-title-margin': string;
|
|
36
36
|
'--n-title-text-color': string;
|
|
37
37
|
'--n-icon-size': string;
|
|
38
|
-
}
|
|
38
|
+
}> | undefined;
|
|
39
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
40
|
+
onRender: (() => void) | undefined;
|
|
39
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
42
|
time: PropType<string | number>;
|
|
41
43
|
title: StringConstructor;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, inject, h } from 'vue';
|
|
2
2
|
import { createKey, formatLength, throwError } from '../../_utils';
|
|
3
3
|
import { timelineInjectionKey } from './Timeline';
|
|
4
|
+
import { useConfig, useThemeClass } from '../../_mixins';
|
|
4
5
|
const timelineItemProps = {
|
|
5
6
|
time: [String, Number],
|
|
6
7
|
title: String,
|
|
@@ -19,33 +20,46 @@ export default defineComponent({
|
|
|
19
20
|
if (!NTimeline) {
|
|
20
21
|
throwError('timeline-item', '`n-timeline-item` must be placed inside `n-timeline`.');
|
|
21
22
|
}
|
|
23
|
+
const { inlineThemeDisabled } = useConfig();
|
|
24
|
+
const cssVarsRef = computed(() => {
|
|
25
|
+
const { props: { size, iconSize: iconSizeProp }, mergedThemeRef } = NTimeline;
|
|
26
|
+
const { type } = props;
|
|
27
|
+
const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [createKey('iconSize', size)]: iconSize, [createKey('titleMargin', size)]: titleMargin, [createKey('titleFontSize', size)]: titleFontSize, [createKey('circleBorder', type)]: circleBorder, [createKey('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
|
|
28
|
+
return {
|
|
29
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
30
|
+
'--n-circle-border': circleBorder,
|
|
31
|
+
'--n-icon-color': iconColor,
|
|
32
|
+
'--n-content-font-size': contentFontSize,
|
|
33
|
+
'--n-content-text-color': contentTextColor,
|
|
34
|
+
'--n-line-color': lineColor,
|
|
35
|
+
'--n-meta-text-color': metaTextColor,
|
|
36
|
+
'--n-title-font-size': titleFontSize,
|
|
37
|
+
'--n-title-font-weight': titleFontWeight,
|
|
38
|
+
'--n-title-margin': titleMargin,
|
|
39
|
+
'--n-title-text-color': titleTextColor,
|
|
40
|
+
'--n-icon-size': formatLength(iconSizeProp) || iconSize
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
const themeClassHandle = inlineThemeDisabled
|
|
44
|
+
? useThemeClass('timeline-item', computed(() => {
|
|
45
|
+
const { props: { size, iconSize: iconSizeProp } } = NTimeline;
|
|
46
|
+
const { type } = props;
|
|
47
|
+
return `${size[0]}${iconSizeProp || 'a'}${type[0]}`;
|
|
48
|
+
}), cssVarsRef, NTimeline.props)
|
|
49
|
+
: undefined;
|
|
22
50
|
return {
|
|
23
51
|
mergedClsPrefix: NTimeline.mergedClsPrefixRef,
|
|
24
|
-
cssVars:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [createKey('iconSize', size)]: iconSize, [createKey('titleMargin', size)]: titleMargin, [createKey('titleFontSize', size)]: titleFontSize, [createKey('circleBorder', type)]: circleBorder, [createKey('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
|
|
28
|
-
return {
|
|
29
|
-
'--n-bezier': cubicBezierEaseInOut,
|
|
30
|
-
'--n-circle-border': circleBorder,
|
|
31
|
-
'--n-icon-color': iconColor,
|
|
32
|
-
'--n-content-font-size': contentFontSize,
|
|
33
|
-
'--n-content-text-color': contentTextColor,
|
|
34
|
-
'--n-line-color': lineColor,
|
|
35
|
-
'--n-meta-text-color': metaTextColor,
|
|
36
|
-
'--n-title-font-size': titleFontSize,
|
|
37
|
-
'--n-title-font-weight': titleFontWeight,
|
|
38
|
-
'--n-title-margin': titleMargin,
|
|
39
|
-
'--n-title-text-color': titleTextColor,
|
|
40
|
-
'--n-icon-size': formatLength(iconSizeProp) || iconSize
|
|
41
|
-
};
|
|
42
|
-
})
|
|
52
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
53
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
54
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
43
55
|
};
|
|
44
56
|
},
|
|
45
57
|
render() {
|
|
46
|
-
const { mergedClsPrefix, color, $slots } = this;
|
|
58
|
+
const { mergedClsPrefix, color, onRender, $slots } = this;
|
|
59
|
+
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
47
60
|
return (h("div", { class: [
|
|
48
61
|
`${mergedClsPrefix}-timeline-item`,
|
|
62
|
+
this.themeClass,
|
|
49
63
|
`${mergedClsPrefix}-timeline-item--${this.type}-type`
|
|
50
64
|
], style: this.cssVars },
|
|
51
65
|
h("div", { class: `${mergedClsPrefix}-timeline-item-timeline` },
|
|
@@ -17,7 +17,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
17
17
|
contentTextColor: string;
|
|
18
18
|
metaTextColor: string;
|
|
19
19
|
lineColor: string;
|
|
20
|
-
titleMarginMedium:
|
|
20
|
+
titleMarginMedium: string;
|
|
21
21
|
titleMarginLarge: string;
|
|
22
22
|
titleFontSizeMedium: string;
|
|
23
23
|
titleFontSizeLarge: string;
|
|
@@ -59,6 +59,7 @@ declare const transferProps: {
|
|
|
59
59
|
width: string;
|
|
60
60
|
}, {
|
|
61
61
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
62
|
+
labelLineHeight: string;
|
|
62
63
|
fontSizeSmall: string;
|
|
63
64
|
fontSizeMedium: string;
|
|
64
65
|
fontSizeLarge: string;
|
|
@@ -393,6 +394,7 @@ declare const transferProps: {
|
|
|
393
394
|
width: string;
|
|
394
395
|
}, {
|
|
395
396
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
397
|
+
labelLineHeight: string;
|
|
396
398
|
fontSizeSmall: string;
|
|
397
399
|
fontSizeMedium: string;
|
|
398
400
|
fontSizeLarge: string;
|
|
@@ -727,6 +729,7 @@ declare const transferProps: {
|
|
|
727
729
|
width: string;
|
|
728
730
|
}, {
|
|
729
731
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
732
|
+
labelLineHeight: string;
|
|
730
733
|
fontSizeSmall: string;
|
|
731
734
|
fontSizeMedium: string;
|
|
732
735
|
fontSizeLarge: string;
|
|
@@ -1095,6 +1098,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1095
1098
|
width: string;
|
|
1096
1099
|
}, {
|
|
1097
1100
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
1101
|
+
labelLineHeight: string;
|
|
1098
1102
|
fontSizeSmall: string;
|
|
1099
1103
|
fontSizeMedium: string;
|
|
1100
1104
|
fontSizeLarge: string;
|
|
@@ -1429,6 +1433,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1429
1433
|
width: string;
|
|
1430
1434
|
}, {
|
|
1431
1435
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
1436
|
+
labelLineHeight: string;
|
|
1432
1437
|
fontSizeSmall: string;
|
|
1433
1438
|
fontSizeMedium: string;
|
|
1434
1439
|
fontSizeLarge: string;
|
|
@@ -1763,6 +1768,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1763
1768
|
width: string;
|
|
1764
1769
|
}, {
|
|
1765
1770
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
1771
|
+
labelLineHeight: string;
|
|
1766
1772
|
fontSizeSmall: string;
|
|
1767
1773
|
fontSizeMedium: string;
|
|
1768
1774
|
fontSizeLarge: string;
|
|
@@ -2212,6 +2218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2212
2218
|
};
|
|
2213
2219
|
peers: {
|
|
2214
2220
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
2221
|
+
labelLineHeight: string;
|
|
2215
2222
|
fontSizeSmall: string;
|
|
2216
2223
|
fontSizeMedium: string;
|
|
2217
2224
|
fontSizeLarge: string;
|
|
@@ -2643,6 +2650,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2643
2650
|
width: string;
|
|
2644
2651
|
}, {
|
|
2645
2652
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
2653
|
+
labelLineHeight: string;
|
|
2646
2654
|
fontSizeSmall: string;
|
|
2647
2655
|
fontSizeMedium: string;
|
|
2648
2656
|
fontSizeLarge: string;
|
|
@@ -2977,6 +2985,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2977
2985
|
width: string;
|
|
2978
2986
|
}, {
|
|
2979
2987
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
2988
|
+
labelLineHeight: string;
|
|
2980
2989
|
fontSizeSmall: string;
|
|
2981
2990
|
fontSizeMedium: string;
|
|
2982
2991
|
fontSizeLarge: string;
|
|
@@ -3311,6 +3320,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3311
3320
|
width: string;
|
|
3312
3321
|
}, {
|
|
3313
3322
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
3323
|
+
labelLineHeight: string;
|
|
3314
3324
|
fontSizeSmall: string;
|
|
3315
3325
|
fontSizeMedium: string;
|
|
3316
3326
|
fontSizeLarge: string;
|
|
@@ -160,6 +160,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
160
|
};
|
|
161
161
|
peers: {
|
|
162
162
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
163
|
+
labelLineHeight: string;
|
|
163
164
|
fontSizeSmall: string;
|
|
164
165
|
fontSizeMedium: string;
|
|
165
166
|
fontSizeLarge: string;
|
|
@@ -499,6 +500,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
499
500
|
}>;
|
|
500
501
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
501
502
|
scrollerInstRef: import("vue").Ref<{
|
|
503
|
+
$el: HTMLElement;
|
|
502
504
|
containerRef: HTMLElement | null;
|
|
503
505
|
contentRef: HTMLElement | null;
|
|
504
506
|
containerScrollTop: number;
|
|
@@ -49,6 +49,7 @@ declare const transferLight: import("../../_mixins").Theme<"Transfer", {
|
|
|
49
49
|
width: string;
|
|
50
50
|
}, {
|
|
51
51
|
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
52
|
+
labelLineHeight: string;
|
|
52
53
|
fontSizeSmall: string;
|
|
53
54
|
fontSizeMedium: string;
|
|
54
55
|
fontSizeLarge: string;
|