@uni-sw/u-design 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -0
- package/es/components/UAffix/index.d.ts +55 -0
- package/es/components/UAffix/index.js +272 -0
- package/es/components/UAffix/style/index.d.ts +2 -0
- package/es/components/UAffix/style/index.js +2 -0
- package/es/components/UAffix/style/index.less +6 -0
- package/es/components/UAffix/utils.d.ts +15 -0
- package/es/components/UAffix/utils.js +78 -0
- package/es/components/UAlert/ErrorBoundary.d.ts +23 -0
- package/es/components/UAlert/ErrorBoundary.js +62 -0
- package/es/components/UAlert/index.d.ts +39 -0
- package/es/components/UAlert/index.js +169 -0
- package/es/components/UAlert/style/index.d.ts +2 -0
- package/es/components/UAlert/style/index.js +2 -0
- package/es/components/UAlert/style/index.less +155 -0
- package/es/components/UAlert/style/rtl.less +40 -0
- package/es/components/UAnchor/Anchor.d.ts +44 -0
- package/es/components/UAnchor/Anchor.js +232 -0
- package/es/components/UAnchor/AnchorLink.d.ts +11 -0
- package/es/components/UAnchor/AnchorLink.js +54 -0
- package/es/components/UAnchor/context.d.ts +4 -0
- package/es/components/UAnchor/context.js +3 -0
- package/es/components/UAnchor/index.d.ts +11 -0
- package/es/components/UAnchor/index.js +6 -0
- package/es/components/UAnchor/style/index.d.ts +3 -0
- package/es/components/UAnchor/style/index.js +4 -0
- package/es/components/UAnchor/style/index.less +86 -0
- package/es/components/UAnchor/style/rtl.less +35 -0
- package/es/components/UAutoComplete/index.d.ts +36 -0
- package/es/components/UAutoComplete/index.js +96 -0
- package/es/components/UAutoComplete/style/index.d.ts +3 -0
- package/es/components/UAutoComplete/style/index.js +4 -0
- package/es/components/UAutoComplete/style/index.less +16 -0
- package/es/components/UAvatar/SizeContext.d.ts +10 -0
- package/es/components/UAvatar/SizeContext.js +12 -0
- package/es/components/UAvatar/avatar.d.ts +25 -0
- package/es/components/UAvatar/avatar.js +171 -0
- package/es/components/UAvatar/group.d.ts +15 -0
- package/es/components/UAvatar/group.js +62 -0
- package/es/components/UAvatar/index.d.ts +12 -0
- package/es/components/UAvatar/index.js +7 -0
- package/es/components/UAvatar/style/group.less +17 -0
- package/es/components/UAvatar/style/index.d.ts +3 -0
- package/es/components/UAvatar/style/index.js +5 -0
- package/es/components/UAvatar/style/index.less +70 -0
- package/es/components/UAvatar/style/rtl.less +15 -0
- package/es/components/UBackTop/index.d.ts +15 -0
- package/es/components/UBackTop/index.js +119 -0
- package/es/components/UBackTop/style/index.d.ts +2 -0
- package/es/components/UBackTop/style/index.js +2 -0
- package/es/components/UBackTop/style/index.less +49 -0
- package/es/components/UBackTop/style/responsive.less +21 -0
- package/es/components/UBadge/Ribbon.d.ts +15 -0
- package/es/components/UBadge/Ribbon.js +42 -0
- package/es/components/UBadge/ScrollNumber.d.ts +18 -0
- package/es/components/UBadge/ScrollNumber.js +60 -0
- package/es/components/UBadge/SingleNumber.d.ts +12 -0
- package/es/components/UBadge/SingleNumber.js +112 -0
- package/es/components/UBadge/index.d.ts +31 -0
- package/es/components/UBadge/index.js +152 -0
- package/es/components/UBadge/style/index.d.ts +2 -0
- package/es/components/UBadge/style/index.js +2 -0
- package/es/components/UBadge/style/index.less +281 -0
- package/es/components/UBadge/style/ribbon.less +86 -0
- package/es/components/UBadge/style/rtl.less +100 -0
- package/es/components/UBadge/utils.d.ts +1 -0
- package/es/components/UBadge/utils.js +5 -0
- package/es/components/UBreadcrumb/Breadcrumb.d.ts +24 -0
- package/es/components/UBreadcrumb/Breadcrumb.js +121 -0
- package/es/components/UBreadcrumb/BreadcrumbItem.d.ts +19 -0
- package/es/components/UBreadcrumb/BreadcrumbItem.js +56 -0
- package/es/components/UBreadcrumb/BreadcrumbSeparator.d.ts +6 -0
- package/es/components/UBreadcrumb/BreadcrumbSeparator.js +13 -0
- package/es/components/UBreadcrumb/index.d.ts +5 -0
- package/es/components/UBreadcrumb/index.js +3 -0
- package/es/components/UBreadcrumb/style/index.d.ts +4 -0
- package/es/components/UBreadcrumb/style/index.js +5 -0
- package/es/components/UBreadcrumb/style/index.less +64 -0
- package/es/components/UBreadcrumb/style/rtl.less +29 -0
- package/es/components/UButton/button/LoadingIcon.d.ts +8 -0
- package/es/components/UButton/button/LoadingIcon.js +51 -0
- package/es/components/UButton/button/button-group.d.ts +12 -0
- package/es/components/UButton/button/button-group.js +43 -0
- package/es/components/UButton/button/button.d.ts +47 -0
- package/es/components/UButton/button/button.js +226 -0
- package/es/components/UButton/button/index.d.ts +6 -0
- package/es/components/UButton/button/index.js +3 -0
- package/es/components/UButton/button/style/index.d.ts +2 -0
- package/es/components/UButton/button/style/index.js +3 -0
- package/es/components/UButton/button/style/index.less +293 -0
- package/es/components/UButton/button/style/mixin.less +484 -0
- package/es/components/UButton/button/style/rtl.less +90 -0
- package/es/components/UButton/button/style/space-compact.less +88 -0
- package/es/components/UButton/images/icon_add_default.png +0 -0
- package/es/components/UButton/images/icon_add_down.png +0 -0
- package/es/components/UButton/images/icon_add_hover.png +0 -0
- package/es/components/UButton/images/icon_arming_default.png +0 -0
- package/es/components/UButton/images/icon_arming_hover.png +0 -0
- package/es/components/UButton/images/icon_custom_default.png +0 -0
- package/es/components/UButton/images/icon_custom_hover.png +0 -0
- package/es/components/UButton/images/icon_delete-default.png +0 -0
- package/es/components/UButton/images/icon_delete_down.png +0 -0
- package/es/components/UButton/images/icon_delete_hover.png +0 -0
- package/es/components/UButton/images/icon_delete_no.png +0 -0
- package/es/components/UButton/images/icon_edit_default.png +0 -0
- package/es/components/UButton/images/icon_edit_down.png +0 -0
- package/es/components/UButton/images/icon_edit_hover.png +0 -0
- package/es/components/UButton/images/icon_export_default.png +0 -0
- package/es/components/UButton/images/icon_export_hover.png +0 -0
- package/es/components/UButton/images/icon_import_default.png +0 -0
- package/es/components/UButton/images/icon_import_hover.png +0 -0
- package/es/components/UButton/images/icon_modify.png +0 -0
- package/es/components/UButton/images/icon_refresh_default.png +0 -0
- package/es/components/UButton/images/icon_refresh_down.png +0 -0
- package/es/components/UButton/images/icon_refresh_hover.png +0 -0
- package/es/components/UButton/images/icon_template_default.png +0 -0
- package/es/components/UButton/images/icon_template_hover.png +0 -0
- package/es/components/UButton/images/icon_upload_default.png +0 -0
- package/es/components/UButton/images/icon_upload_hover.png +0 -0
- package/es/components/UButton/index.d.ts +43 -0
- package/es/components/UButton/index.js +163 -0
- package/es/components/UButton/style/index.d.ts +1 -0
- package/es/components/UButton/style/index.js +1 -0
- package/es/components/UButton/style/index.less +17 -0
- package/es/components/UButton/style/mixin.less +222 -0
- package/es/components/UButton/style/theme.less +144 -0
- package/es/components/UCalendar/Header.d.ts +16 -0
- package/es/components/UCalendar/Header.js +157 -0
- package/es/components/UCalendar/generateCalendar.d.ts +41 -0
- package/es/components/UCalendar/generateCalendar.js +177 -0
- package/es/components/UCalendar/index.d.ts +6 -0
- package/es/components/UCalendar/index.js +5 -0
- package/es/components/UCalendar/locale/en_US.d.ts +2 -0
- package/es/components/UCalendar/locale/en_US.js +2 -0
- package/es/components/UCalendar/locale/zh_CN.d.ts +2 -0
- package/es/components/UCalendar/locale/zh_CN.js +2 -0
- package/es/components/UCalendar/style/index.d.ts +5 -0
- package/es/components/UCalendar/style/index.js +7 -0
- package/es/components/UCalendar/style/index.less +196 -0
- package/es/components/UCalendar/style/rtl.less +46 -0
- package/es/components/UCard/Card.d.ts +35 -0
- package/es/components/UCard/Card.js +128 -0
- package/es/components/UCard/Grid.d.ts +9 -0
- package/es/components/UCard/Grid.js +24 -0
- package/es/components/UCard/Meta.d.ts +11 -0
- package/es/components/UCard/Meta.js +33 -0
- package/es/components/UCard/index.d.ts +14 -0
- package/es/components/UCard/index.js +8 -0
- package/es/components/UCard/style/index.d.ts +4 -0
- package/es/components/UCard/style/index.js +5 -0
- package/es/components/UCard/style/index.less +277 -0
- package/es/components/UCard/style/size.less +20 -0
- package/es/components/UCarousel/index.d.ts +25 -0
- package/es/components/UCarousel/index.js +69 -0
- package/es/components/UCarousel/style/index.d.ts +2 -0
- package/es/components/UCarousel/style/index.js +2 -0
- package/es/components/UCarousel/style/index.less +304 -0
- package/es/components/UCarousel/style/rtl.less +54 -0
- package/es/components/UCascader/index.d.ts +44 -0
- package/es/components/UCascader/index.js +210 -0
- package/es/components/UCascader/style/index.d.ts +4 -0
- package/es/components/UCascader/style/index.js +6 -0
- package/es/components/UCascader/style/index.less +169 -0
- package/es/components/UCascader/style/rtl.less +19 -0
- package/es/components/UCheckBoxGroup/UCheckBox.d.ts +14 -0
- package/es/components/UCheckBoxGroup/UCheckBox.js +66 -0
- package/es/components/UCheckBoxGroup/UCheckBoxGroup.d.ts +44 -0
- package/es/components/UCheckBoxGroup/UCheckBoxGroup.js +154 -0
- package/es/components/UCheckBoxGroup/checkbox/Checkbox.d.ts +37 -0
- package/es/components/UCheckBoxGroup/checkbox/Checkbox.js +93 -0
- package/es/components/UCheckBoxGroup/checkbox/Group.d.ts +35 -0
- package/es/components/UCheckBoxGroup/checkbox/Group.js +133 -0
- package/es/components/UCheckBoxGroup/checkbox/index.d.ts +11 -0
- package/es/components/UCheckBoxGroup/checkbox/index.js +7 -0
- package/es/components/UCheckBoxGroup/checkbox/style/index.d.ts +2 -0
- package/es/components/UCheckBoxGroup/checkbox/style/index.js +3 -0
- package/es/components/UCheckBoxGroup/checkbox/style/index.less +6 -0
- package/es/components/UCheckBoxGroup/checkbox/style/mixin.less +246 -0
- package/es/components/UCheckBoxGroup/checkbox/style/rtl.less +28 -0
- package/es/components/UCheckBoxGroup/index.d.ts +14 -0
- package/es/components/UCheckBoxGroup/index.js +12 -0
- package/es/components/UCheckBoxGroup/locale/en_US.d.ts +3 -0
- package/es/components/UCheckBoxGroup/locale/en_US.js +4 -0
- package/es/components/UCheckBoxGroup/locale/locale.d.ts +3 -0
- package/es/components/UCheckBoxGroup/locale/zh_CN.d.ts +3 -0
- package/es/components/UCheckBoxGroup/locale/zh_CN.js +4 -0
- package/es/components/UCheckBoxGroup/style/index.d.ts +1 -0
- package/es/components/UCheckBoxGroup/style/index.js +1 -0
- package/es/components/UCheckBoxGroup/style/index.less +26 -0
- package/es/components/UCheckBoxGroup/style/mixin.less +166 -0
- package/es/components/UCheckBoxGroup/style/theme.less +38 -0
- package/es/components/UCol/index.d.ts +4 -0
- package/es/components/UCol/index.js +3 -0
- package/es/components/UCol/style/index.d.ts +2 -0
- package/es/components/UCol/style/index.js +4 -0
- package/es/components/UCollapse/Collapse.d.ts +40 -0
- package/es/components/UCollapse/Collapse.js +82 -0
- package/es/components/UCollapse/CollapsePanel.d.ts +19 -0
- package/es/components/UCollapse/CollapsePanel.js +26 -0
- package/es/components/UCollapse/index.d.ts +5 -0
- package/es/components/UCollapse/index.js +3 -0
- package/es/components/UCollapse/style/index.d.ts +2 -0
- package/es/components/UCollapse/style/index.js +2 -0
- package/es/components/UCollapse/style/index.less +177 -0
- package/es/components/UCollapse/style/rtl.less +68 -0
- package/es/components/UColor/index.d.ts +15 -0
- package/es/components/UColor/index.js +248 -0
- package/es/components/UColor/style/index.d.ts +1 -0
- package/es/components/UColor/style/index.js +1 -0
- package/es/components/UColor/style/index.less +16 -0
- package/es/components/UColor/style/mixin.less +53 -0
- package/es/components/UColor/style/theme.less +9 -0
- package/es/components/UComment/index.d.ts +24 -0
- package/es/components/UComment/index.js +62 -0
- package/es/components/UComment/style/index.d.ts +2 -0
- package/es/components/UComment/style/index.js +2 -0
- package/es/components/UComment/style/index.less +105 -0
- package/es/components/UComment/style/rtl.less +51 -0
- package/es/components/UConfigProvider/CustomerContext.d.ts +11 -0
- package/es/components/UConfigProvider/CustomerContext.js +15 -0
- package/es/components/UConfigProvider/DisabledContext.d.ts +9 -0
- package/es/components/UConfigProvider/DisabledContext.js +11 -0
- package/es/components/UConfigProvider/SizeContext.d.ts +9 -0
- package/es/components/UConfigProvider/SizeContext.js +12 -0
- package/es/components/UConfigProvider/changeSkin.d.ts +62 -0
- package/es/components/UConfigProvider/changeSkin.js +197 -0
- package/es/components/UConfigProvider/changeTheme.d.ts +1 -0
- package/es/components/UConfigProvider/changeTheme.js +83 -0
- package/es/components/UConfigProvider/context.d.ts +60 -0
- package/es/components/UConfigProvider/context.js +35 -0
- package/es/components/UConfigProvider/convertColor.d.ts +4 -0
- package/es/components/UConfigProvider/convertColor.js +106 -0
- package/es/components/UConfigProvider/cssVariables.d.ts +3 -0
- package/es/components/UConfigProvider/cssVariables.js +72 -0
- package/es/components/UConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/es/components/UConfigProvider/defaultRenderEmpty.js +30 -0
- package/es/components/UConfigProvider/index.d.ts +64 -0
- package/es/components/UConfigProvider/index.js +195 -0
- package/es/components/UConfigProvider/style/index.d.ts +1 -0
- package/es/components/UConfigProvider/style/index.js +1 -0
- package/es/components/UConfigProvider/style/index.less +2 -0
- package/es/components/UConfigProvider/theme.d.ts +11 -0
- package/es/components/UConfigProvider/theme.js +27 -0
- package/es/components/UDatePicker/date-picker/PickerButton.d.ts +2 -0
- package/es/components/UDatePicker/date-picker/PickerButton.js +8 -0
- package/es/components/UDatePicker/date-picker/PickerTag.d.ts +2 -0
- package/es/components/UDatePicker/date-picker/PickerTag.js +7 -0
- package/es/components/UDatePicker/date-picker/generatePicker/generateRangePicker.d.ts +17 -0
- package/es/components/UDatePicker/date-picker/generatePicker/generateRangePicker.js +219 -0
- package/es/components/UDatePicker/date-picker/generatePicker/generateSinglePicker.d.ts +101 -0
- package/es/components/UDatePicker/date-picker/generatePicker/generateSinglePicker.js +393 -0
- package/es/components/UDatePicker/date-picker/generatePicker/index.d.ts +252 -0
- package/es/components/UDatePicker/date-picker/generatePicker/index.js +77 -0
- package/es/components/UDatePicker/date-picker/generatePicker/interface.d.ts +12 -0
- package/es/components/UDatePicker/date-picker/generatePicker/interface.js +1 -0
- package/es/components/UDatePicker/date-picker/locale/en_US.d.ts +3 -0
- package/es/components/UDatePicker/date-picker/locale/en_US.js +22 -0
- package/es/components/UDatePicker/date-picker/locale/example.json +47 -0
- package/es/components/UDatePicker/date-picker/locale/zh_CN.d.ts +3 -0
- package/es/components/UDatePicker/date-picker/locale/zh_CN.js +24 -0
- package/es/components/UDatePicker/date-picker/style/index.d.ts +3 -0
- package/es/components/UDatePicker/date-picker/style/index.js +5 -0
- package/es/components/UDatePicker/date-picker/style/index.less +372 -0
- package/es/components/UDatePicker/date-picker/style/panel.less +678 -0
- package/es/components/UDatePicker/date-picker/style/rtl.less +246 -0
- package/es/components/UDatePicker/date-picker/style/status.less +39 -0
- package/es/components/UDatePicker/date-picker/util.d.ts +15 -0
- package/es/components/UDatePicker/date-picker/util.js +121 -0
- package/es/components/UDatePicker/index.d.ts +199 -0
- package/es/components/UDatePicker/index.js +61 -0
- package/es/components/UDatePicker/locale/en_US.d.ts +3 -0
- package/es/components/UDatePicker/locale/en_US.js +6 -0
- package/es/components/UDatePicker/locale/locale.d.ts +5 -0
- package/es/components/UDatePicker/locale/zh_CN.d.ts +3 -0
- package/es/components/UDatePicker/locale/zh_CN.js +6 -0
- package/es/components/UDatePicker/style/index.d.ts +1 -0
- package/es/components/UDatePicker/style/index.js +1 -0
- package/es/components/UDatePicker/style/index.less +28 -0
- package/es/components/UDatePicker/style/mixin.less +217 -0
- package/es/components/UDatePicker/style/theme.less +72 -0
- package/es/components/UDatePicker/time-picker/locale/en_US.d.ts +3 -0
- package/es/components/UDatePicker/time-picker/locale/en_US.js +5 -0
- package/es/components/UDatePicker/time-picker/locale/zh_CN.d.ts +3 -0
- package/es/components/UDatePicker/time-picker/locale/zh_CN.js +5 -0
- package/es/components/UDatePicker/time-picker/style/index.d.ts +3 -0
- package/es/components/UDatePicker/time-picker/style/index.js +4 -0
- package/es/components/UDatePicker/time-picker/style/index.less +3 -0
- package/es/components/UDescriptions/Cell.d.ts +16 -0
- package/es/components/UDescriptions/Cell.js +48 -0
- package/es/components/UDescriptions/Item.d.ts +13 -0
- package/es/components/UDescriptions/Item.js +5 -0
- package/es/components/UDescriptions/Row.d.ts +13 -0
- package/es/components/UDescriptions/Row.js +99 -0
- package/es/components/UDescriptions/index.d.ts +28 -0
- package/es/components/UDescriptions/index.js +155 -0
- package/es/components/UDescriptions/style/index.d.ts +2 -0
- package/es/components/UDescriptions/style/index.js +2 -0
- package/es/components/UDescriptions/style/index.less +179 -0
- package/es/components/UDescriptions/style/rtl.less +33 -0
- package/es/components/UDivider/divider/index.d.ts +15 -0
- package/es/components/UDivider/divider/index.js +50 -0
- package/es/components/UDivider/divider/style/index.d.ts +2 -0
- package/es/components/UDivider/divider/style/index.js +2 -0
- package/es/components/UDivider/divider/style/index.less +133 -0
- package/es/components/UDivider/divider/style/rtl.less +38 -0
- package/es/components/UDivider/index.d.ts +16 -0
- package/es/components/UDivider/index.js +27 -0
- package/es/components/UDivider/style/index.d.ts +1 -0
- package/es/components/UDivider/style/index.js +1 -0
- package/es/components/UDivider/style/index.less +17 -0
- package/es/components/UDivider/style/mixin.less +8 -0
- package/es/components/UDivider/style/rtl.less +38 -0
- package/es/components/UDivider/style/theme.less +5 -0
- package/es/components/UDrawer/index.d.ts +39 -0
- package/es/components/UDrawer/index.js +168 -0
- package/es/components/UDrawer/style/drawer.less +160 -0
- package/es/components/UDrawer/style/index.d.ts +2 -0
- package/es/components/UDrawer/style/index.js +3 -0
- package/es/components/UDrawer/style/index.less +7 -0
- package/es/components/UDrawer/style/motion.less +146 -0
- package/es/components/UDrawer/style/rtl.less +16 -0
- package/es/components/UDropdown/dropdown-button.d.ts +22 -0
- package/es/components/UDropdown/dropdown-button.js +116 -0
- package/es/components/UDropdown/dropdown.d.ts +58 -0
- package/es/components/UDropdown/dropdown.js +171 -0
- package/es/components/UDropdown/index.d.ts +5 -0
- package/es/components/UDropdown/index.js +3 -0
- package/es/components/UDropdown/style/index.d.ts +5 -0
- package/es/components/UDropdown/style/index.js +6 -0
- package/es/components/UDropdown/style/index.less +390 -0
- package/es/components/UDropdown/style/rtl.less +90 -0
- package/es/components/UDropdown/style/status.less +14 -0
- package/es/components/UEcharts/index.d.ts +2 -0
- package/es/components/UEcharts/index.js +192 -0
- package/es/components/UEcharts/style/index.d.ts +1 -0
- package/es/components/UEcharts/style/index.js +1 -0
- package/es/components/UEcharts/style/index.less +16 -0
- package/es/components/UEcharts/style/mixin.less +7 -0
- package/es/components/UEcharts/style/theme.less +0 -0
- package/es/components/UEmpty/components/u404.d.ts +2 -0
- package/es/components/UEmpty/components/u404.js +18 -0
- package/es/components/UEmpty/components/uAccess.d.ts +2 -0
- package/es/components/UEmpty/components/uAccess.js +18 -0
- package/es/components/UEmpty/components/uDefault.d.ts +2 -0
- package/es/components/UEmpty/components/uDefault.js +18 -0
- package/es/components/UEmpty/components/uDeveloping.d.ts +2 -0
- package/es/components/UEmpty/components/uDeveloping.js +18 -0
- package/es/components/UEmpty/components/uFavorite.d.ts +2 -0
- package/es/components/UEmpty/components/uFavorite.js +18 -0
- package/es/components/UEmpty/components/uListDefault.d.ts +2 -0
- package/es/components/UEmpty/components/uListDefault.js +18 -0
- package/es/components/UEmpty/components/uListSearch.d.ts +2 -0
- package/es/components/UEmpty/components/uListSearch.js +18 -0
- package/es/components/UEmpty/components/uMap.d.ts +2 -0
- package/es/components/UEmpty/components/uMap.js +18 -0
- package/es/components/UEmpty/components/uSearch.d.ts +2 -0
- package/es/components/UEmpty/components/uSearch.js +18 -0
- package/es/components/UEmpty/empty.d.ts +2 -0
- package/es/components/UEmpty/empty.js +42 -0
- package/es/components/UEmpty/images/defaultnodata.png +0 -0
- package/es/components/UEmpty/images/developing.png +0 -0
- package/es/components/UEmpty/images/listdefaultnodata.png +0 -0
- package/es/components/UEmpty/images/listsearchnodata.png +0 -0
- package/es/components/UEmpty/images/noaccess.png +0 -0
- package/es/components/UEmpty/images/nofavoritedata.png +0 -0
- package/es/components/UEmpty/images/nomap.png +0 -0
- package/es/components/UEmpty/images/notfound.png +0 -0
- package/es/components/UEmpty/images/searchnodata.png +0 -0
- package/es/components/UEmpty/index.d.ts +30 -0
- package/es/components/UEmpty/index.js +83 -0
- package/es/components/UEmpty/simple.d.ts +2 -0
- package/es/components/UEmpty/simple.js +22 -0
- package/es/components/UEmpty/style/index.d.ts +2 -0
- package/es/components/UEmpty/style/index.js +2 -0
- package/es/components/UEmpty/style/index.less +60 -0
- package/es/components/UEmpty/style/rtl.less +10 -0
- package/es/components/UExportExcel/getGuid.d.ts +13 -0
- package/es/components/UExportExcel/getGuid.js +22 -0
- package/es/components/UExportExcel/index.d.ts +60 -0
- package/es/components/UExportExcel/index.js +205 -0
- package/es/components/UExportExcel/index.less +24 -0
- package/es/components/UExportExcel/isDate.d.ts +6 -0
- package/es/components/UExportExcel/isDate.js +8 -0
- package/es/components/UExportExcel/locale/en_US.d.ts +3 -0
- package/es/components/UExportExcel/locale/en_US.js +7 -0
- package/es/components/UExportExcel/locale/locale.d.ts +6 -0
- package/es/components/UExportExcel/locale/zh_CN.d.ts +3 -0
- package/es/components/UExportExcel/locale/zh_CN.js +7 -0
- package/es/components/UFeature/USingleFeafure.d.ts +2 -0
- package/es/components/UFeature/USingleFeafure.js +75 -0
- package/es/components/UFeature/USingleFeafure.less +24 -0
- package/es/components/UFeature/index.d.ts +33 -0
- package/es/components/UFeature/index.js +115 -0
- package/es/components/UFeature/style/index.d.ts +1 -0
- package/es/components/UFeature/style/index.js +1 -0
- package/es/components/UFeature/style/index.less +16 -0
- package/es/components/UFeature/style/mixin.less +26 -0
- package/es/components/UFeature/style/theme.less +2 -0
- package/es/components/UFileSelect/index.d.ts +16 -0
- package/es/components/UFileSelect/index.js +133 -0
- package/es/components/UFileSelect/locale/en_US.d.ts +3 -0
- package/es/components/UFileSelect/locale/en_US.js +5 -0
- package/es/components/UFileSelect/locale/locale.d.ts +4 -0
- package/es/components/UFileSelect/locale/zh_CN.d.ts +3 -0
- package/es/components/UFileSelect/locale/zh_CN.js +5 -0
- package/es/components/UFileSelect/style/index.d.ts +1 -0
- package/es/components/UFileSelect/style/index.js +1 -0
- package/es/components/UFileSelect/style/index.less +14 -0
- package/es/components/UFileSelect/style/mixin.less +65 -0
- package/es/components/UFileSelect/style/theme.less +24 -0
- package/es/components/UForm/ErrorList.d.ts +12 -0
- package/es/components/UForm/ErrorList.js +91 -0
- package/es/components/UForm/Form.d.ts +59 -0
- package/es/components/UForm/Form.js +318 -0
- package/es/components/UForm/FormItem/ItemHolder.d.ts +20 -0
- package/es/components/UForm/FormItem/ItemHolder.js +246 -0
- package/es/components/UForm/FormItem/index.d.ts +42 -0
- package/es/components/UForm/FormItem/index.js +360 -0
- package/es/components/UForm/FormItemInput.d.ts +27 -0
- package/es/components/UForm/FormItemInput.js +119 -0
- package/es/components/UForm/FormItemLabel.d.ts +24 -0
- package/es/components/UForm/FormItemLabel.js +105 -0
- package/es/components/UForm/FormList.d.ts +25 -0
- package/es/components/UForm/FormList.js +34 -0
- package/es/components/UForm/context.d.ts +57 -0
- package/es/components/UForm/context.js +39 -0
- package/es/components/UForm/hooks/useDebounce.d.ts +1 -0
- package/es/components/UForm/hooks/useDebounce.js +22 -0
- package/es/components/UForm/hooks/useForm.d.ts +7 -0
- package/es/components/UForm/hooks/useForm.js +53 -0
- package/es/components/UForm/hooks/useFormInstance.d.ts +2 -0
- package/es/components/UForm/hooks/useFormInstance.js +7 -0
- package/es/components/UForm/hooks/useFormItemStatus.d.ts +6 -0
- package/es/components/UForm/hooks/useFormItemStatus.js +12 -0
- package/es/components/UForm/hooks/useFrameState.d.ts +3 -0
- package/es/components/UForm/hooks/useFrameState.js +46 -0
- package/es/components/UForm/hooks/useItemRef.d.ts +3 -0
- package/es/components/UForm/hooks/useItemRef.js +20 -0
- package/es/components/UForm/index.d.ts +23 -0
- package/es/components/UForm/index.js +21 -0
- package/es/components/UForm/interface.d.ts +3 -0
- package/es/components/UForm/interface.js +1 -0
- package/es/components/UForm/style/components.less +16 -0
- package/es/components/UForm/style/horizontal.less +23 -0
- package/es/components/UForm/style/index.d.ts +4 -0
- package/es/components/UForm/style/index.js +5 -0
- package/es/components/UForm/style/index.less +457 -0
- package/es/components/UForm/style/inline.less +38 -0
- package/es/components/UForm/style/mixin.less +85 -0
- package/es/components/UForm/style/rtl.less +200 -0
- package/es/components/UForm/style/status.less +42 -0
- package/es/components/UForm/style/theme.less +5 -0
- package/es/components/UForm/style/vertical.less +93 -0
- package/es/components/UForm/util.d.ts +3 -0
- package/es/components/UForm/util.js +18 -0
- package/es/components/UFramePanel/images/pic01.png +0 -0
- package/es/components/UFramePanel/images/pic011.png +0 -0
- package/es/components/UFramePanel/images/pic02.png +0 -0
- package/es/components/UFramePanel/images/pic021.png +0 -0
- package/es/components/UFramePanel/images/pic03.png +0 -0
- package/es/components/UFramePanel/images/pic031.png +0 -0
- package/es/components/UFramePanel/images/pic04.png +0 -0
- package/es/components/UFramePanel/images/pic041.png +0 -0
- package/es/components/UFramePanel/index.d.ts +11 -0
- package/es/components/UFramePanel/index.js +130 -0
- package/es/components/UFramePanel/index.td.d.ts +17 -0
- package/es/components/UFramePanel/index.td.js +1 -0
- package/es/components/UFramePanel/style/index.d.ts +1 -0
- package/es/components/UFramePanel/style/index.js +1 -0
- package/es/components/UFramePanel/style/index.less +16 -0
- package/es/components/UFramePanel/style/mixin.less +87 -0
- package/es/components/UFramePanel/style/theme.less +21 -0
- package/es/components/UGrid/RowContext.d.ts +8 -0
- package/es/components/UGrid/RowContext.js +3 -0
- package/es/components/UGrid/col.d.ts +28 -0
- package/es/components/UGrid/col.js +83 -0
- package/es/components/UGrid/hooks/useBreakpoint.d.ts +3 -0
- package/es/components/UGrid/hooks/useBreakpoint.js +21 -0
- package/es/components/UGrid/index.d.ts +11 -0
- package/es/components/UGrid/index.js +12 -0
- package/es/components/UGrid/row.d.ts +20 -0
- package/es/components/UGrid/row.js +165 -0
- package/es/components/UGrid/style/index.d.ts +2 -0
- package/es/components/UGrid/style/index.js +2 -0
- package/es/components/UGrid/style/index.less +124 -0
- package/es/components/UGrid/style/mixin.less +56 -0
- package/es/components/UGrid/style/rtl.less +69 -0
- package/es/components/UIPInput/index.d.ts +19 -0
- package/es/components/UIPInput/index.js +392 -0
- package/es/components/UIPInput/locale/en_US.d.ts +3 -0
- package/es/components/UIPInput/locale/en_US.js +5 -0
- package/es/components/UIPInput/locale/locale.d.ts +4 -0
- package/es/components/UIPInput/locale/zh_CN.d.ts +3 -0
- package/es/components/UIPInput/locale/zh_CN.js +5 -0
- package/es/components/UIPInput/style/index.d.ts +1 -0
- package/es/components/UIPInput/style/index.js +1 -0
- package/es/components/UIPInput/style/index.less +14 -0
- package/es/components/UIPInput/style/mixin.less +115 -0
- package/es/components/UIPInput/style/theme.less +30 -0
- package/es/components/UIcon/icon/index.d.ts +4 -0
- package/es/components/UIcon/icon/index.js +7 -0
- package/es/components/UIcon/icon/style/index.d.ts +2 -0
- package/es/components/UIcon/icon/style/index.js +2 -0
- package/es/components/UIcon/icon/style/index.less +4 -0
- package/es/components/UIcon/icon.d.ts +916 -0
- package/es/components/UIcon/icon.js +4964 -0
- package/es/components/UIcon/index.d.ts +39 -0
- package/es/components/UIcon/index.js +75 -0
- package/es/components/UIcon/style/index.d.ts +1 -0
- package/es/components/UIcon/style/index.js +1 -0
- package/es/components/UIcon/style/index.less +16 -0
- package/es/components/UIcon/style/mixin.less +89 -0
- package/es/components/UIcon/style/theme.less +13 -0
- package/es/components/UImage/image/PreviewGroup.d.ts +13 -0
- package/es/components/UImage/image/PreviewGroup.js +47 -0
- package/es/components/UImage/image/index.d.ts +10 -0
- package/es/components/UImage/image/index.js +48 -0
- package/es/components/UImage/image/style/index.d.ts +2 -0
- package/es/components/UImage/image/style/index.js +2 -0
- package/es/components/UImage/image/style/index.less +203 -0
- package/es/components/UImage/index.d.ts +44 -0
- package/es/components/UImage/index.js +297 -0
- package/es/components/UImage/locale/en_US.d.ts +3 -0
- package/es/components/UImage/locale/en_US.js +4 -0
- package/es/components/UImage/locale/locale.d.ts +3 -0
- package/es/components/UImage/locale/zh_CN.d.ts +3 -0
- package/es/components/UImage/locale/zh_CN.js +4 -0
- package/es/components/UImage/style/index.d.ts +1 -0
- package/es/components/UImage/style/index.js +1 -0
- package/es/components/UImage/style/index.less +15 -0
- package/es/components/UImage/style/mixin.less +248 -0
- package/es/components/UImage/style/theme.less +7 -0
- package/es/components/UImageCropper/UImageCropper.js +300 -0
- package/es/components/UImageCropper/images/confirm.png +0 -0
- package/es/components/UImageCropper/images/empty.png +0 -0
- package/es/components/UImageCropper/images/enlarge.png +0 -0
- package/es/components/UImageCropper/images/frameSelection.png +0 -0
- package/es/components/UImageCropper/images/move.png +0 -0
- package/es/components/UImageCropper/images/narrow.png +0 -0
- package/es/components/UImageCropper/images/updata.png +0 -0
- package/es/components/UImageCropper/index.js +21 -0
- package/es/components/UImageCropper/locale/en_US.d.ts +3 -0
- package/es/components/UImageCropper/locale/en_US.js +12 -0
- package/es/components/UImageCropper/locale/locale.d.ts +11 -0
- package/es/components/UImageCropper/locale/zh_CN.d.ts +3 -0
- package/es/components/UImageCropper/locale/zh_CN.js +12 -0
- package/es/components/UImageCropper/style/index.d.ts +1 -0
- package/es/components/UImageCropper/style/index.js +1 -0
- package/es/components/UImageCropper/style/index.less +15 -0
- package/es/components/UImageCropper/style/mixin.less +57 -0
- package/es/components/UImageCropper/style/theme.less +2 -0
- package/es/components/UImageDetail/UImageBtm.d.ts +8 -0
- package/es/components/UImageDetail/UImageBtm.js +14 -0
- package/es/components/UImageDetail/UImageDetail.d.ts +25 -0
- package/es/components/UImageDetail/UImageDetail.js +105 -0
- package/es/components/UImageDetail/UImageHead.d.ts +8 -0
- package/es/components/UImageDetail/UImageHead.js +14 -0
- package/es/components/UImageDetail/UImageInfo.d.ts +8 -0
- package/es/components/UImageDetail/UImageInfo.js +14 -0
- package/es/components/UImageDetail/UImagePage.d.ts +12 -0
- package/es/components/UImageDetail/UImagePage.js +83 -0
- package/es/components/UImageDetail/UImageShow.d.ts +13 -0
- package/es/components/UImageDetail/UImageShow.js +97 -0
- package/es/components/UImageDetail/images/close_default.png +0 -0
- package/es/components/UImageDetail/images/close_hover.png +0 -0
- package/es/components/UImageDetail/images/empty.png +0 -0
- package/es/components/UImageDetail/images/next_default.png +0 -0
- package/es/components/UImageDetail/images/next_disable.png +0 -0
- package/es/components/UImageDetail/images/next_hover.png +0 -0
- package/es/components/UImageDetail/images/pre_default.png +0 -0
- package/es/components/UImageDetail/images/pre_disable.png +0 -0
- package/es/components/UImageDetail/images/pre_hover.png +0 -0
- package/es/components/UImageDetail/index.d.ts +3 -0
- package/es/components/UImageDetail/index.js +3 -0
- package/es/components/UImageDetail/locale/en_US.d.ts +3 -0
- package/es/components/UImageDetail/locale/en_US.js +11 -0
- package/es/components/UImageDetail/locale/locale.d.ts +7 -0
- package/es/components/UImageDetail/locale/zh_CN.d.ts +3 -0
- package/es/components/UImageDetail/locale/zh_CN.js +8 -0
- package/es/components/UImageDetail/style/index.d.ts +1 -0
- package/es/components/UImageDetail/style/index.js +1 -0
- package/es/components/UImageDetail/style/index.less +28 -0
- package/es/components/UImageDetail/style/mixin.less +210 -0
- package/es/components/UImageDetail/style/theme.less +21 -0
- package/es/components/UImportExcel/getGuid.d.ts +13 -0
- package/es/components/UImportExcel/getGuid.js +22 -0
- package/es/components/UImportExcel/index.d.ts +88 -0
- package/es/components/UImportExcel/index.js +1117 -0
- package/es/components/UImportExcel/isDate.d.ts +6 -0
- package/es/components/UImportExcel/isDate.js +8 -0
- package/es/components/UImportExcel/locale/en_US.d.ts +3 -0
- package/es/components/UImportExcel/locale/en_US.js +7 -0
- package/es/components/UImportExcel/locale/locale.d.ts +6 -0
- package/es/components/UImportExcel/locale/zh_CN.d.ts +3 -0
- package/es/components/UImportExcel/locale/zh_CN.js +7 -0
- package/es/components/UImportExcel/style/index.d.ts +1 -0
- package/es/components/UImportExcel/style/index.js +1 -0
- package/es/components/UImportExcel/style/index.less +33 -0
- package/es/components/UImportExcel/style/mixin.less +169 -0
- package/es/components/UImportExcel/style/theme.less +9 -0
- package/es/components/UInput/index.d.ts +36 -0
- package/es/components/UInput/index.js +256 -0
- package/es/components/UInput/input/ClearableLabeledInput.d.ts +39 -0
- package/es/components/UInput/input/ClearableLabeledInput.js +99 -0
- package/es/components/UInput/input/Group.d.ts +15 -0
- package/es/components/UInput/input/Group.js +36 -0
- package/es/components/UInput/input/Input.d.ts +20 -0
- package/es/components/UInput/input/Input.js +194 -0
- package/es/components/UInput/input/Password.d.ts +14 -0
- package/es/components/UInput/input/Password.js +111 -0
- package/es/components/UInput/input/Search.d.ts +10 -0
- package/es/components/UInput/input/Search.js +132 -0
- package/es/components/UInput/input/TextArea.d.ts +28 -0
- package/es/components/UInput/input/TextArea.js +206 -0
- package/es/components/UInput/input/hooks/useRemovePasswordTimeout.d.ts +3 -0
- package/es/components/UInput/input/hooks/useRemovePasswordTimeout.js +25 -0
- package/es/components/UInput/input/index.d.ts +20 -0
- package/es/components/UInput/input/index.js +12 -0
- package/es/components/UInput/input/style/IE11.less +20 -0
- package/es/components/UInput/input/style/affix.less +79 -0
- package/es/components/UInput/input/style/allow-clear.less +43 -0
- package/es/components/UInput/input/style/index.d.ts +3 -0
- package/es/components/UInput/input/style/index.js +5 -0
- package/es/components/UInput/input/style/index.less +88 -0
- package/es/components/UInput/input/style/mixin.less +457 -0
- package/es/components/UInput/input/style/rtl.less +210 -0
- package/es/components/UInput/input/style/search-input.less +121 -0
- package/es/components/UInput/input/style/status.less +42 -0
- package/es/components/UInput/input/utils.d.ts +3 -0
- package/es/components/UInput/input/utils.js +3 -0
- package/es/components/UInput/locale/en_US.d.ts +3 -0
- package/es/components/UInput/locale/en_US.js +4 -0
- package/es/components/UInput/locale/locale.d.ts +3 -0
- package/es/components/UInput/locale/zh_CN.d.ts +3 -0
- package/es/components/UInput/locale/zh_CN.js +4 -0
- package/es/components/UInput/style/index.d.ts +1 -0
- package/es/components/UInput/style/index.js +1 -0
- package/es/components/UInput/style/index.less +14 -0
- package/es/components/UInput/style/mixin.less +165 -0
- package/es/components/UInput/style/theme.less +46 -0
- package/es/components/UInputNumber/index.d.ts +31 -0
- package/es/components/UInputNumber/index.js +299 -0
- package/es/components/UInputNumber/input-number/index.d.ts +28 -0
- package/es/components/UInputNumber/input-number/index.js +148 -0
- package/es/components/UInputNumber/input-number/style/affix.less +84 -0
- package/es/components/UInputNumber/input-number/style/index.d.ts +2 -0
- package/es/components/UInputNumber/input-number/style/index.js +3 -0
- package/es/components/UInputNumber/input-number/style/index.less +249 -0
- package/es/components/UInputNumber/input-number/style/rtl.less +73 -0
- package/es/components/UInputNumber/input-number/style/status.less +31 -0
- package/es/components/UInputNumber/style/index.d.ts +1 -0
- package/es/components/UInputNumber/style/index.js +1 -0
- package/es/components/UInputNumber/style/index.less +16 -0
- package/es/components/UInputNumber/style/mixin.less +143 -0
- package/es/components/UInputNumber/style/theme.less +37 -0
- package/es/components/ULayout/Sider.d.ts +28 -0
- package/es/components/ULayout/Sider.js +184 -0
- package/es/components/ULayout/index.d.ts +14 -0
- package/es/components/ULayout/index.js +9 -0
- package/es/components/ULayout/layout.d.ts +23 -0
- package/es/components/ULayout/layout.js +124 -0
- package/es/components/ULayout/style/index.d.ts +2 -0
- package/es/components/ULayout/style/index.js +2 -0
- package/es/components/ULayout/style/index.less +145 -0
- package/es/components/ULayout/style/light.less +11 -0
- package/es/components/ULayout/style/rtl.less +10 -0
- package/es/components/ULazyPanel/LazyLoad.d.ts +42 -0
- package/es/components/ULazyPanel/LazyLoad.js +131 -0
- package/es/components/ULazyPanel/index.d.ts +21 -0
- package/es/components/ULazyPanel/index.js +336 -0
- package/es/components/ULazyPanel/style/index.d.ts +1 -0
- package/es/components/ULazyPanel/style/index.js +1 -0
- package/es/components/ULazyPanel/style/index.less +16 -0
- package/es/components/ULazyPanel/style/mixin.less +127 -0
- package/es/components/ULazyPanel/style/theme.less +71 -0
- package/es/components/ULazyPanel/utils/index.js +25 -0
- package/es/components/UList/Item.d.ts +26 -0
- package/es/components/UList/Item.js +101 -0
- package/es/components/UList/index.d.ts +55 -0
- package/es/components/UList/index.js +214 -0
- package/es/components/UList/style/bordered.less +44 -0
- package/es/components/UList/style/customize.less +4 -0
- package/es/components/UList/style/index.d.ts +6 -0
- package/es/components/UList/style/index.js +7 -0
- package/es/components/UList/style/index.less +249 -0
- package/es/components/UList/style/responsive.less +43 -0
- package/es/components/UList/style/rtl.less +139 -0
- package/es/components/ULoading/index.d.ts +15 -0
- package/es/components/ULoading/index.js +89 -0
- package/es/components/ULoading/style/index.d.ts +1 -0
- package/es/components/ULoading/style/index.js +1 -0
- package/es/components/ULoading/style/index.less +14 -0
- package/es/components/ULoading/style/mixin.less +144 -0
- package/es/components/ULoading/style/theme.less +7 -0
- package/es/components/UMap/index.js +30 -0
- package/es/components/UMap/locale/en_US.d.ts +3 -0
- package/es/components/UMap/locale/en_US.js +134 -0
- package/es/components/UMap/locale/locale.d.ts +148 -0
- package/es/components/UMap/locale/zh_CN.d.ts +3 -0
- package/es/components/UMap/locale/zh_CN.js +134 -0
- package/es/components/UMap/map/api/MapApi.js +299 -0
- package/es/components/UMap/map/assets/SvgIcon.js +1561 -0
- package/es/components/UMap/map/assets/images/bg.png +0 -0
- package/es/components/UMap/map/assets/images/cameraBg.png +0 -0
- package/es/components/UMap/map/assets/images/cluster.png +0 -0
- package/es/components/UMap/map/assets/images/deleteImg.png +0 -0
- package/es/components/UMap/map/assets/images/devIconDefault.png +0 -0
- package/es/components/UMap/map/assets/images/index.js +3 -0
- package/es/components/UMap/map/assets/images/location.png +0 -0
- package/es/components/UMap/map/assets/images/point-end.png +0 -0
- package/es/components/UMap/map/assets/images/point-start.png +0 -0
- package/es/components/UMap/map/assets/images/underfloor.png +0 -0
- package/es/components/UMap/map/assets/images/underfloorGrey.png +0 -0
- package/es/components/UMap/map/assets/images/underfloorHover.png +0 -0
- package/es/components/UMap/map/assets/images/upstair.png +0 -0
- package/es/components/UMap/map/assets/images/upstairGrey.png +0 -0
- package/es/components/UMap/map/assets/images/upstairHover.png +0 -0
- package/es/components/UMap/map/components/BuildFloor/index.js +166 -0
- package/es/components/UMap/map/components/BuildFloor/index.less +134 -0
- package/es/components/UMap/map/components/Bus/BusKey.d.ts +33 -0
- package/es/components/UMap/map/components/Bus/BusKey.js +51 -0
- package/es/components/UMap/map/components/Bus/DataBus.d.ts +34 -0
- package/es/components/UMap/map/components/Bus/DataBus.js +80 -0
- package/es/components/UMap/map/components/Bus/EventBus.d.ts +45 -0
- package/es/components/UMap/map/components/Bus/EventBus.js +145 -0
- package/es/components/UMap/map/components/ComInterface.d.ts +42 -0
- package/es/components/UMap/map/components/ComInterface.js +7 -0
- package/es/components/UMap/map/components/FloorSelect/index.js +92 -0
- package/es/components/UMap/map/components/FloorSelect/index.less +84 -0
- package/es/components/UMap/map/components/MapSelect/index.js +340 -0
- package/es/components/UMap/map/components/MapServerPointManage/CommonFunc.js +337 -0
- package/es/components/UMap/map/components/MapServerPointManage/Enum.js +133 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/GPS-Off-line.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/GPS-On-line.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/GPS32.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/GPS48.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/GPS64.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/btndel.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/btndelover.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/cam_qiang.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/cameraCluster48.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/cameraCluster64.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/commit.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/commitover.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/customer.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/customerImage.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/defence.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/folder.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/gps.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/rotate.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/tollgate.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/tollgateCluster48.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Image/tollgateCluster64.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/ArchivesCamera/ArchivesCamera.js +956 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Camera/Camera.js +856 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Camera/CameraMenu.js +467 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Camera/CameraViewShed.js +522 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Customer/Customer.js +526 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Customer/CustomerMenu.js +611 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Defence/Defence.js +234 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Defence/DefenceMenu.js +264 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Dictionary.js +259 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Gps/Gps.js +893 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Gps/GpsMenu.js +333 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Gps/SubSocketCenter.js +519 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/LayerTree.js +363 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Tollgate/Tollgate.js +456 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/Tollgate/TollgateMenu.js +593 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/ToolTipForm.js +15 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/ToolTipInfo.less +19 -0
- package/es/components/UMap/map/components/MapServerPointManage/Layers/layer.less +119 -0
- package/es/components/UMap/map/components/MapServerPointManage/MapLayer.js +541 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-1-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-2-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-3007-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-7-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20000-8-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20001-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20001-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20001-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20001-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20001-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20002-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20002-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20002-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20002-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20002-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20003-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20003-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20003-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20003-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20003-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20004-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20004-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20004-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20004-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20004-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20005-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20005-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20005-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20005-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20005-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20006-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20006-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20006-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20006-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20006-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20007-1-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20007-2-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20007-3007-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20007-7-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/20007-8-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CameraIcon/CameraIcon.js +93 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/10.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/11.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/12.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/13.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/14.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/15.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/16.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/17.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/18.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/19.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/20.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/21.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/22.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/23.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/24.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/25.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/26.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/27.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/28.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/29.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/3-offline.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/3-online.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/3.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/30.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/31.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/32.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/4.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/40.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/41.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/5.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/6.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/7.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/8.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/9.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/CustomIcon/CustomImg.js +77 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons/GpsImg.js +77 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons/point.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-351.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-363.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-364.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-365.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-366.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-367.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-368.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23724-369.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-733.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-734.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-735.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-736.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-737.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-738.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-739.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/345/257/23732-740.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-352.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-353.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-354.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-355.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-356.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-357.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-358.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-359.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-360.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24624-362.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-723.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-724.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-725.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-726.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-727.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-728.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-729.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-730.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-731.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/GpsIcons//350/255/246/350/275/24632-732.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30000-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30000-31-2.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30001-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30002-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30003-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30004-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30005-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30006-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/30007-31-1.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/TollgateIcon/TollgateIcon.js +21 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerIcon/upright.png +0 -0
- package/es/components/UMap/map/components/MapServerPointManage/MarkerMenu/MarkerMenu.js +95 -0
- package/es/components/UMap/map/components/MapServerPointManage/RequestFunc.js +803 -0
- package/es/components/UMap/map/components/MapServerPointManage/style/index.d.ts +1 -0
- package/es/components/UMap/map/components/MapServerPointManage/style/index.js +1 -0
- package/es/components/UMap/map/components/MapServerPointManage/style/index.less +26 -0
- package/es/components/UMap/map/components/MapServerPointManage/style/mixin.less +51 -0
- package/es/components/UMap/map/components/MapServerPointManage/style/theme.less +129 -0
- package/es/components/UMap/map/components/MapServerPointSearch/index.js +445 -0
- package/es/components/UMap/map/components/MapServerPointSearch/index.less +102 -0
- package/es/components/UMap/map/components/MapSwitch/index.d.ts +12 -0
- package/es/components/UMap/map/components/MapSwitch/index.js +525 -0
- package/es/components/UMap/map/components/MapSwitch/index.less +77 -0
- package/es/components/UMap/map/components/MapToolMenu/Map3D.js +1603 -0
- package/es/components/UMap/map/components/MapToolMenu/index.js +1267 -0
- package/es/components/UMap/map/components/MapToolMenu/index.less +537 -0
- package/es/components/UMap/map/components/PointDraw/PointStyle.d.ts +40 -0
- package/es/components/UMap/map/components/PointDraw/PointStyle.js +163 -0
- package/es/components/UMap/map/components/PointDraw/core.d.ts +330 -0
- package/es/components/UMap/map/components/PointDraw/core.js +364 -0
- package/es/components/UMap/map/components/PointDraw/index.d.ts +214 -0
- package/es/components/UMap/map/components/PointDraw/index.js +968 -0
- package/es/components/UMap/map/components/PointDraw/index.less +95 -0
- package/es/components/UMap/map/components/PointDraw/loaders/ILoader.d.ts +35 -0
- package/es/components/UMap/map/components/PointDraw/loaders/ILoader.js +16 -0
- package/es/components/UMap/map/components/PointDraw/loaders/index.d.ts +6 -0
- package/es/components/UMap/map/components/PointDraw/loaders/index.js +3 -0
- package/es/components/UMap/map/components/PointDraw/loaders/loader2d.d.ts +48 -0
- package/es/components/UMap/map/components/PointDraw/loaders/loader2d.js +243 -0
- package/es/components/UMap/map/components/PointDraw/loaders/loader3d.d.ts +33 -0
- package/es/components/UMap/map/components/PointDraw/loaders/loader3d.js +220 -0
- package/es/components/UMap/map/components/PointDraw/modelcluster/index.d.ts +107 -0
- package/es/components/UMap/map/components/PointDraw/modelcluster/index.js +534 -0
- package/es/components/UMap/map/components/PointDraw/renderers/DomPointRenderer.d.ts +17 -0
- package/es/components/UMap/map/components/PointDraw/renderers/DomPointRenderer.js +163 -0
- package/es/components/UMap/map/components/PointDraw/renderers/IPointRenderer.d.ts +81 -0
- package/es/components/UMap/map/components/PointDraw/renderers/IPointRenderer.js +38 -0
- package/es/components/UMap/map/components/PointDraw/renderers/LabelPointRenderer.d.ts +18 -0
- package/es/components/UMap/map/components/PointDraw/renderers/LabelPointRenderer.js +273 -0
- package/es/components/UMap/map/components/PointDraw/renderers/ModelPointRenderer.d.ts +18 -0
- package/es/components/UMap/map/components/PointDraw/renderers/ModelPointRenderer.js +341 -0
- package/es/components/UMap/map/components/PointDraw/renderers/index.d.ts +6 -0
- package/es/components/UMap/map/components/PointDraw/renderers/index.js +5 -0
- package/es/components/UMap/map/components/PointDraw/renderers/outBindPointRenderer.d.ts +14 -0
- package/es/components/UMap/map/components/PointDraw/renderers/outBindPointRenderer.js +96 -0
- package/es/components/UMap/map/components/Track/index.js +1051 -0
- package/es/components/UMap/map/components/Track/index.less +60 -0
- package/es/components/UMap/map/components/VisualConfig/index.d.ts +11 -0
- package/es/components/UMap/map/components/VisualConfig/index.js +179 -0
- package/es/components/UMap/map/components/VisualConfig/index.less +30 -0
- package/es/components/UMap/map/components/independentMode/index.d.ts +20 -0
- package/es/components/UMap/map/components/independentMode/index.js +57 -0
- package/es/components/UMap/map/images/CustomIcon/1.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/10.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/1000001.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/1000002.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/1001.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/11.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/12.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/13.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/14.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/15.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/16.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/17.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/18.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/19.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/2.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/20.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/21.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/22.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/23.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/24.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/25.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/26.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/27.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/28.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/29.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/3-offline.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/3-online.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/3.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/30.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/31.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/32.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/4.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/40.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/41.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/5.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/6.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/7.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/8.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/9.png +0 -0
- package/es/components/UMap/map/images/CustomIcon/CustomImg.js +81 -0
- package/es/components/UMap/map/images/centerPoint.png +0 -0
- package/es/components/UMap/map/images/icon16.png +0 -0
- package/es/components/UMap/map/images/icon24.png +0 -0
- package/es/components/UMap/map/images/imosMap24.png +0 -0
- package/es/components/UMap/map/images/layer.png +0 -0
- package/es/components/UMap/map/images/layer_hover.png +0 -0
- package/es/components/UMap/map/images/local-hover.png +0 -0
- package/es/components/UMap/map/images/local.png +0 -0
- package/es/components/UMap/map/images/mapLocationSecu.png +0 -0
- package/es/components/UMap/map/images/moveDefault.png +0 -0
- package/es/components/UMap/map/images/poi.png +0 -0
- package/es/components/UMap/map/images/point_blue.png +0 -0
- package/es/components/UMap/map/images/point_red.png +0 -0
- package/es/components/UMap/map/images/pop.png +0 -0
- package/es/components/UMap/map/images/searchEmpty.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_1_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_1_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_2_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_2_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_3007_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_3007_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_7_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_7_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_8_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/1001_8_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/119_42_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/119_42_2.png +0 -0
- package/es/components/UMap/map/images/searchIcon/2200_29_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/2200_30_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/31_31_1.png +0 -0
- package/es/components/UMap/map/images/searchIcon/31_31_2.png +0 -0
- package/es/components/UMap/map/images/sprites.png +0 -0
- package/es/components/UMap/map/index.js +1 -0
- package/es/components/UMap/map/pages/Map.js +2860 -0
- package/es/components/UMap/map/pages/Map.less +194 -0
- package/es/components/UMap/map/util/MapControl.d.ts +43 -0
- package/es/components/UMap/map/util/MapControl.js +90 -0
- package/es/components/UMap/map/util/ScreenMapControl.d.ts +511 -0
- package/es/components/UMap/map/util/ScreenMapControl.js +2162 -0
- package/es/components/UMap/map/util/StreamMapControl.d.ts +414 -0
- package/es/components/UMap/map/util/StreamMapControl.js +1315 -0
- package/es/components/UMap/map/util/constants.js +137 -0
- package/es/components/UMap/map/util/eventBus.js +26 -0
- package/es/components/UMap/map/util/log.d.ts +19 -0
- package/es/components/UMap/map/util/log.js +42 -0
- package/es/components/UMap/map/util/mapEnv.d.ts +34 -0
- package/es/components/UMap/map/util/mapEnv.js +53 -0
- package/es/components/UMap/map/util/publicFun.js +505 -0
- package/es/components/UMap/map/util/request.js +101 -0
- package/es/components/UMap/style/index.d.ts +1 -0
- package/es/components/UMap/style/index.js +1 -0
- package/es/components/UMap/style/index.less +26 -0
- package/es/components/UMap/style/mixin.less +257 -0
- package/es/components/UMap/style/theme.less +137 -0
- package/es/components/UMentions/index.d.ts +36 -0
- package/es/components/UMentions/index.js +159 -0
- package/es/components/UMentions/style/index.d.ts +3 -0
- package/es/components/UMentions/style/index.js +5 -0
- package/es/components/UMentions/style/index.less +179 -0
- package/es/components/UMentions/style/rtl.less +10 -0
- package/es/components/UMentions/style/status.less +16 -0
- package/es/components/UMenu/MenuContext.d.ts +12 -0
- package/es/components/UMenu/MenuContext.js +7 -0
- package/es/components/UMenu/MenuDivider.d.ts +9 -0
- package/es/components/UMenu/MenuDivider.js +23 -0
- package/es/components/UMenu/MenuItem.d.ts +16 -0
- package/es/components/UMenu/MenuItem.js +110 -0
- package/es/components/UMenu/OverrideContext.d.ts +11 -0
- package/es/components/UMenu/OverrideContext.js +21 -0
- package/es/components/UMenu/SubMenu.d.ts +23 -0
- package/es/components/UMenu/SubMenu.js +47 -0
- package/es/components/UMenu/hooks/useItems.d.ts +26 -0
- package/es/components/UMenu/hooks/useItems.js +62 -0
- package/es/components/UMenu/index.d.ts +27 -0
- package/es/components/UMenu/index.js +169 -0
- package/es/components/UMenu/style/dark.less +186 -0
- package/es/components/UMenu/style/index.d.ts +3 -0
- package/es/components/UMenu/style/index.js +5 -0
- package/es/components/UMenu/style/index.less +709 -0
- package/es/components/UMenu/style/light.less +12 -0
- package/es/components/UMenu/style/rtl.less +165 -0
- package/es/components/UMenu/style/status.less +49 -0
- package/es/components/UMessageBox/images/msgDark.png +0 -0
- package/es/components/UMessageBox/images/msgIcon.png +0 -0
- package/es/components/UMessageBox/index.d.ts +32 -0
- package/es/components/UMessageBox/index.js +118 -0
- package/es/components/UMessageBox/message/hooks/useMessage.d.ts +7 -0
- package/es/components/UMessageBox/message/hooks/useMessage.js +79 -0
- package/es/components/UMessageBox/message/index.d.ts +62 -0
- package/es/components/UMessageBox/message/index.js +226 -0
- package/es/components/UMessageBox/message/style/index.d.ts +2 -0
- package/es/components/UMessageBox/message/style/index.js +2 -0
- package/es/components/UMessageBox/message/style/index.less +98 -0
- package/es/components/UMessageBox/message/style/rtl.less +17 -0
- package/es/components/UMessageBox/style/index.d.ts +1 -0
- package/es/components/UMessageBox/style/index.js +1 -0
- package/es/components/UMessageBox/style/index.less +16 -0
- package/es/components/UMessageBox/style/mixin.less +86 -0
- package/es/components/UMessageBox/style/theme.less +12 -0
- package/es/components/UModal/images/form_delete_default.png +0 -0
- package/es/components/UModal/images/form_delete_hover.png +0 -0
- package/es/components/UModal/images/icon_delete_default.png +0 -0
- package/es/components/UModal/images/icon_delete_down.png +0 -0
- package/es/components/UModal/images/icon_delete_hover.png +0 -0
- package/es/components/UModal/index.d.ts +40 -0
- package/es/components/UModal/index.js +322 -0
- package/es/components/UModal/modal/ConfirmDialog.d.ts +12 -0
- package/es/components/UModal/modal/ConfirmDialog.js +125 -0
- package/es/components/UModal/modal/Modal.d.ts +120 -0
- package/es/components/UModal/modal/Modal.js +116 -0
- package/es/components/UModal/modal/confirm.d.ts +22 -0
- package/es/components/UModal/modal/confirm.js +179 -0
- package/es/components/UModal/modal/destroyFns.d.ts +2 -0
- package/es/components/UModal/modal/destroyFns.js +2 -0
- package/es/components/UModal/modal/index.d.ts +13 -0
- package/es/components/UModal/modal/index.js +34 -0
- package/es/components/UModal/modal/locale.d.ts +8 -0
- package/es/components/UModal/modal/locale.js +12 -0
- package/es/components/UModal/modal/style/confirm.less +79 -0
- package/es/components/UModal/modal/style/index.d.ts +3 -0
- package/es/components/UModal/modal/style/index.js +5 -0
- package/es/components/UModal/modal/style/index.less +7 -0
- package/es/components/UModal/modal/style/modal.less +134 -0
- package/es/components/UModal/modal/style/rtl.less +74 -0
- package/es/components/UModal/modal/useModal/HookModal.d.ts +12 -0
- package/es/components/UModal/modal/useModal/HookModal.js +71 -0
- package/es/components/UModal/modal/useModal/index.d.ts +3 -0
- package/es/components/UModal/modal/useModal/index.js +104 -0
- package/es/components/UModal/style/index.d.ts +1 -0
- package/es/components/UModal/style/index.js +1 -0
- package/es/components/UModal/style/index.less +14 -0
- package/es/components/UModal/style/mixin.less +401 -0
- package/es/components/UModal/style/theme.less +23 -0
- package/es/components/UNotification/hooks/useNotification.d.ts +7 -0
- package/es/components/UNotification/hooks/useNotification.js +55 -0
- package/es/components/UNotification/index.d.ts +56 -0
- package/es/components/UNotification/index.js +275 -0
- package/es/components/UNotification/style/index.d.ts +2 -0
- package/es/components/UNotification/style/index.js +2 -0
- package/es/components/UNotification/style/index.less +205 -0
- package/es/components/UNotification/style/placement.less +68 -0
- package/es/components/UNotification/style/rtl.less +53 -0
- package/es/components/UPageHeader/index.d.ts +25 -0
- package/es/components/UPageHeader/index.js +150 -0
- package/es/components/UPageHeader/style/index.d.ts +4 -0
- package/es/components/UPageHeader/style/index.js +5 -0
- package/es/components/UPageHeader/style/index.less +122 -0
- package/es/components/UPageHeader/style/rtl.less +77 -0
- package/es/components/UPagination/index.d.ts +20 -0
- package/es/components/UPagination/index.js +60 -0
- package/es/components/UPagination/pagination/Pagination.d.ts +19 -0
- package/es/components/UPagination/pagination/Pagination.js +99 -0
- package/es/components/UPagination/pagination/Select.d.ts +9 -0
- package/es/components/UPagination/pagination/Select.js +15 -0
- package/es/components/UPagination/pagination/index.d.ts +4 -0
- package/es/components/UPagination/pagination/index.js +3 -0
- package/es/components/UPagination/pagination/style/index.d.ts +3 -0
- package/es/components/UPagination/pagination/style/index.js +5 -0
- package/es/components/UPagination/pagination/style/index.less +482 -0
- package/es/components/UPagination/pagination/style/rtl.less +55 -0
- package/es/components/UPagination/style/index.d.ts +1 -0
- package/es/components/UPagination/style/index.js +1 -0
- package/es/components/UPagination/style/index.less +16 -0
- package/es/components/UPagination/style/mixin.less +249 -0
- package/es/components/UPagination/style/theme.less +148 -0
- package/es/components/UPanel/UContent.d.ts +3 -0
- package/es/components/UPanel/UContent.js +14 -0
- package/es/components/UPanel/UFooter.d.ts +3 -0
- package/es/components/UPanel/UFooter.js +14 -0
- package/es/components/UPanel/UHeader.d.ts +3 -0
- package/es/components/UPanel/UHeader.js +14 -0
- package/es/components/UPanel/UPanel.d.ts +13 -0
- package/es/components/UPanel/UPanel.js +37 -0
- package/es/components/UPanel/USider.d.ts +18 -0
- package/es/components/UPanel/USider.js +67 -0
- package/es/components/UPanel/images/cllapse.png +0 -0
- package/es/components/UPanel/images/cllapse_hover.png +0 -0
- package/es/components/UPanel/images/open.png +0 -0
- package/es/components/UPanel/images/open_hover.png +0 -0
- package/es/components/UPanel/index.d.ts +3 -0
- package/es/components/UPanel/index.js +3 -0
- package/es/components/UPanel/style/index.d.ts +1 -0
- package/es/components/UPanel/style/index.js +1 -0
- package/es/components/UPanel/style/index.less +15 -0
- package/es/components/UPanel/style/mixin.less +73 -0
- package/es/components/UPanel/style/theme.less +3 -0
- package/es/components/UPanel/td.d.ts +5 -0
- package/es/components/UPanel/td.js +1 -0
- package/es/components/UPopconfirm/PurePanel.d.ts +13 -0
- package/es/components/UPopconfirm/PurePanel.js +53 -0
- package/es/components/UPopconfirm/index.d.ts +31 -0
- package/es/components/UPopconfirm/index.js +111 -0
- package/es/components/UPopconfirm/style/index.d.ts +4 -0
- package/es/components/UPopconfirm/style/index.js +6 -0
- package/es/components/UPopconfirm/style/index.less +36 -0
- package/es/components/UPopover/index.d.ts +10 -0
- package/es/components/UPopover/index.js +61 -0
- package/es/components/UPopover/style/index.d.ts +2 -0
- package/es/components/UPopover/style/index.js +4 -0
- package/es/components/UPopover/style/index.less +262 -0
- package/es/components/UPopover/style/rtl.less +39 -0
- package/es/components/UProgress/image/progressDark.png +0 -0
- package/es/components/UProgress/image/progressIcon.png +0 -0
- package/es/components/UProgress/index.d.ts +38 -0
- package/es/components/UProgress/index.js +118 -0
- package/es/components/UProgress/progress/Circle.d.ts +10 -0
- package/es/components/UProgress/progress/Circle.js +80 -0
- package/es/components/UProgress/progress/Line.d.ts +38 -0
- package/es/components/UProgress/progress/Line.js +113 -0
- package/es/components/UProgress/progress/Steps.d.ts +10 -0
- package/es/components/UProgress/progress/Steps.js +38 -0
- package/es/components/UProgress/progress/index.d.ts +4 -0
- package/es/components/UProgress/progress/index.js +3 -0
- package/es/components/UProgress/progress/progress.d.ts +46 -0
- package/es/components/UProgress/progress/progress.js +104 -0
- package/es/components/UProgress/progress/style/index.d.ts +2 -0
- package/es/components/UProgress/progress/style/index.js +2 -0
- package/es/components/UProgress/progress/style/index.less +210 -0
- package/es/components/UProgress/progress/style/rtl.less +37 -0
- package/es/components/UProgress/progress/utils.d.ts +8 -0
- package/es/components/UProgress/progress/utils.js +24 -0
- package/es/components/UProgress/style/index.d.ts +1 -0
- package/es/components/UProgress/style/index.js +1 -0
- package/es/components/UProgress/style/index.less +50 -0
- package/es/components/UProgress/style/mixin.less +303 -0
- package/es/components/UProgress/style/theme.less +73 -0
- package/es/components/URadioGroup/UGroup.d.ts +23 -0
- package/es/components/URadioGroup/UGroup.js +78 -0
- package/es/components/URadioGroup/URadio.d.ts +11 -0
- package/es/components/URadioGroup/URadio.js +43 -0
- package/es/components/URadioGroup/index.d.ts +8 -0
- package/es/components/URadioGroup/index.js +6 -0
- package/es/components/URadioGroup/locale/en_US.d.ts +3 -0
- package/es/components/URadioGroup/locale/en_US.js +4 -0
- package/es/components/URadioGroup/locale/locale.d.ts +3 -0
- package/es/components/URadioGroup/locale/zh_CN.d.ts +3 -0
- package/es/components/URadioGroup/locale/zh_CN.js +4 -0
- package/es/components/URadioGroup/radio/context.d.ts +7 -0
- package/es/components/URadioGroup/radio/context.js +6 -0
- package/es/components/URadioGroup/radio/group.d.ts +4 -0
- package/es/components/URadioGroup/radio/group.js +104 -0
- package/es/components/URadioGroup/radio/index.d.ts +13 -0
- package/es/components/URadioGroup/radio/index.js +10 -0
- package/es/components/URadioGroup/radio/interface.d.ts +40 -0
- package/es/components/URadioGroup/radio/interface.js +1 -0
- package/es/components/URadioGroup/radio/radio.d.ts +4 -0
- package/es/components/URadioGroup/radio/radio.js +66 -0
- package/es/components/URadioGroup/radio/radioButton.d.ts +6 -0
- package/es/components/URadioGroup/radio/radioButton.js +21 -0
- package/es/components/URadioGroup/radio/style/index.d.ts +2 -0
- package/es/components/URadioGroup/radio/style/index.js +3 -0
- package/es/components/URadioGroup/radio/style/index.less +371 -0
- package/es/components/URadioGroup/radio/style/rtl.less +61 -0
- package/es/components/URadioGroup/style/index.d.ts +1 -0
- package/es/components/URadioGroup/style/index.js +1 -0
- package/es/components/URadioGroup/style/index.less +16 -0
- package/es/components/URadioGroup/style/mixin.less +88 -0
- package/es/components/URadioGroup/style/theme.less +29 -0
- package/es/components/URate/index.d.ts +8 -0
- package/es/components/URate/index.js +39 -0
- package/es/components/URate/style/index.d.ts +3 -0
- package/es/components/URate/style/index.js +4 -0
- package/es/components/URate/style/index.less +91 -0
- package/es/components/URate/style/rtl.less +21 -0
- package/es/components/UResTree/Component/LivePlayTreeLoader.js +79 -0
- package/es/components/UResTree/Component/LivePlayTreeLoader.js.bak +72 -0
- package/es/components/UResTree/Tree/Demo.js +56 -0
- package/es/components/UResTree/Tree/Tree.js +3917 -0
- package/es/components/UResTree/Tree/TreeIcon.js +36 -0
- package/es/components/UResTree/Tree/TreeLoader.js +140 -0
- package/es/components/UResTree/Tree/TreeNode.js +102 -0
- package/es/components/UResTree/Tree/UTreeIcon.js +647 -0
- package/es/components/UResTree/Tree/UTreeLoader.js +1081 -0
- package/es/components/UResTree/Tree/UTreeNode.js +94 -0
- package/es/components/UResTree/Tree/images/DVI.png +0 -0
- package/es/components/UResTree/Tree/images/DVIAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/DVIOffline.png +0 -0
- package/es/components/UResTree/Tree/images/DrivebyCamera.png +0 -0
- package/es/components/UResTree/Tree/images/DrivebyCameraOffline.png +0 -0
- package/es/components/UResTree/Tree/images/IPC.png +0 -0
- package/es/components/UResTree/Tree/images/IPC_offline.png +0 -0
- package/es/components/UResTree/Tree/images/Imagestitch.png +0 -0
- package/es/components/UResTree/Tree/images/LED.png +0 -0
- package/es/components/UResTree/Tree/images/LEDOffline.png +0 -0
- package/es/components/UResTree/Tree/images/NVR.png +0 -0
- package/es/components/UResTree/Tree/images/NVROffline.png +0 -0
- package/es/components/UResTree/Tree/images/NVR_offline.png +0 -0
- package/es/components/UResTree/Tree/images/VGA.png +0 -0
- package/es/components/UResTree/Tree/images/VGAOffline.png +0 -0
- package/es/components/UResTree/Tree/images/alarmOffline.png +0 -0
- package/es/components/UResTree/Tree/images/alarmshebei.png +0 -0
- package/es/components/UResTree/Tree/images/banqiubianjiao-err.png +0 -0
- package/es/components/UResTree/Tree/images/banqiubianjiao-offLine.png +0 -0
- package/es/components/UResTree/Tree/images/banqiubianjiao.png +0 -0
- package/es/components/UResTree/Tree/images/baojingshebei.png +0 -0
- package/es/components/UResTree/Tree/images/baojingshebeiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/bukekonggaoqingqiuji.png +0 -0
- package/es/components/UResTree/Tree/images/bukekonggaoqingqiujiOffLine.png +0 -0
- package/es/components/UResTree/Tree/images/bukekongqiuji.png +0 -0
- package/es/components/UResTree/Tree/images/bukekongqiujiAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/bukekongqiujiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/caijishebei.png +0 -0
- package/es/components/UResTree/Tree/images/caijishebeiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/caijixitong.png +0 -0
- package/es/components/UResTree/Tree/images/caijixitongOffline.png +0 -0
- package/es/components/UResTree/Tree/images/chezaishexiangji.png +0 -0
- package/es/components/UResTree/Tree/images/chezaishexiangjiAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/chezaishexiangjiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/dae.png +0 -0
- package/es/components/UResTree/Tree/images/daeOffline.png +0 -0
- package/es/components/UResTree/Tree/images/device_icon-24x24.png +0 -0
- package/es/components/UResTree/Tree/images/duijiangfenji.png +0 -0
- package/es/components/UResTree/Tree/images/duijiangfenjiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/fenxixitong.png +0 -0
- package/es/components/UResTree/Tree/images/fenxixitongOffline.png +0 -0
- package/es/components/UResTree/Tree/images/foldClose.png +0 -0
- package/es/components/UResTree/Tree/images/foldOpen.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingqiangji.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingqiangjiAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingqiangjiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuntai.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuntaiAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuntaiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuyan.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuyanAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/gaoqingyuyanOffline.png +0 -0
- package/es/components/UResTree/Tree/images/hemisphere-err.png +0 -0
- package/es/components/UResTree/Tree/images/hemisphere-offline.png +0 -0
- package/es/components/UResTree/Tree/images/hemisphere.png +0 -0
- package/es/components/UResTree/Tree/images/icon16.png +0 -0
- package/es/components/UResTree/Tree/images/kaiguanliang.png +0 -0
- package/es/components/UResTree/Tree/images/laiguanlaingOffline.png +0 -0
- package/es/components/UResTree/Tree/images/lunqie.png +0 -0
- package/es/components/UResTree/Tree/images/menjin.png +0 -0
- package/es/components/UResTree/Tree/images/menjinOffline.png +0 -0
- package/es/components/UResTree/Tree/images/monitor.png +0 -0
- package/es/components/UResTree/Tree/images/monitorOffLine.png +0 -0
- package/es/components/UResTree/Tree/images/qiangji.png +0 -0
- package/es/components/UResTree/Tree/images/qiangjiAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/qiangjiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/qiangqiuliandong.png +0 -0
- package/es/components/UResTree/Tree/images/qiangqiuliandongOffline.png +0 -0
- package/es/components/UResTree/Tree/images/radar-offline.png +0 -0
- package/es/components/UResTree/Tree/images/radar.png +0 -0
- package/es/components/UResTree/Tree/images/rfid.png +0 -0
- package/es/components/UResTree/Tree/images/root.png +0 -0
- package/es/components/UResTree/Tree/images/spriteIcon.png +0 -0
- package/es/components/UResTree/Tree/images/stkIcon.png +0 -0
- package/es/components/UResTree/Tree/images/stkTollgate.png +0 -0
- package/es/components/UResTree/Tree/images/tollgate.png +0 -0
- package/es/components/UResTree/Tree/images/tollgateOffLine.png +0 -0
- package/es/components/UResTree/Tree/images/user.png +0 -0
- package/es/components/UResTree/Tree/images/videoGroup.png +0 -0
- package/es/components/UResTree/Tree/images/waiyu.png +0 -0
- package/es/components/UResTree/Tree/images/waiyuOffline.png +0 -0
- package/es/components/UResTree/Tree/images/wifi.png +0 -0
- package/es/components/UResTree/Tree/images/yingyongpingtai.png +0 -0
- package/es/components/UResTree/Tree/images/yingyongpingtaiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/yuntai.png +0 -0
- package/es/components/UResTree/Tree/images/yuntaiOffline.png +0 -0
- package/es/components/UResTree/Tree/images/yuyan.png +0 -0
- package/es/components/UResTree/Tree/images/yuyanAlarm.png +0 -0
- package/es/components/UResTree/Tree/images/yuyanOffline.png +0 -0
- package/es/components/UResTree/Tree/images/ziyuanlunxun.png +0 -0
- package/es/components/UResTree/Tree/images/zulunxunTV.png +0 -0
- package/es/components/UResTree/Tree/images/zulunxunTVPlay.png +0 -0
- package/es/components/UResTree/Tree/images/zulunxunXP.png +0 -0
- package/es/components/UResTree/Tree/images/zulunxunXPPlay.png +0 -0
- package/es/components/UResTree/Tree/images/zulunxunziyuan.png +0 -0
- package/es/components/UResTree/Tree/images/zuxianshiTV.png +0 -0
- package/es/components/UResTree/Tree/images/zuxianshiXP.png +0 -0
- package/es/components/UResTree/Tree/style/index.js +2 -0
- package/es/components/UResTree/Tree/style/tree.less +278 -0
- package/es/components/UResTree/Tree/style/treeIcon.less +635 -0
- package/es/components/UResTree/Tree/treeResTypes.js +272 -0
- package/es/components/UResTree/index.js +405 -0
- package/es/components/UResTree/locale/en_US.d.ts +3 -0
- package/es/components/UResTree/locale/en_US.js +8 -0
- package/es/components/UResTree/locale/locale.d.ts +7 -0
- package/es/components/UResTree/locale/zh_CN.d.ts +3 -0
- package/es/components/UResTree/locale/zh_CN.js +8 -0
- package/es/components/UResTree/style/index.d.ts +1 -0
- package/es/components/UResTree/style/index.js +1 -0
- package/es/components/UResTree/style/index.less +16 -0
- package/es/components/UResTree/style/mixin.less +157 -0
- package/es/components/UResTree/style/theme.less +68 -0
- package/es/components/UResult/index.d.ts +33 -0
- package/es/components/UResult/index.js +97 -0
- package/es/components/UResult/noFound.d.ts +2 -0
- package/es/components/UResult/noFound.js +237 -0
- package/es/components/UResult/serverError.d.ts +2 -0
- package/es/components/UResult/serverError.js +277 -0
- package/es/components/UResult/style/index.d.ts +2 -0
- package/es/components/UResult/style/index.js +2 -0
- package/es/components/UResult/style/index.less +75 -0
- package/es/components/UResult/style/rtl.less +25 -0
- package/es/components/UResult/unauthorized.d.ts +2 -0
- package/es/components/UResult/unauthorized.js +227 -0
- package/es/components/URow/index.d.ts +4 -0
- package/es/components/URow/index.js +3 -0
- package/es/components/URow/style/index.d.ts +2 -0
- package/es/components/URow/style/index.js +4 -0
- package/es/components/USegmented/index.d.ts +23 -0
- package/es/components/USegmented/index.js +58 -0
- package/es/components/USegmented/style/index.d.ts +2 -0
- package/es/components/USegmented/style/index.js +2 -0
- package/es/components/USegmented/style/index.less +139 -0
- package/es/components/USegmented/style/mixins.less +24 -0
- package/es/components/USegmented/style/rtl.less +15 -0
- package/es/components/USelect/images/arrow.png +0 -0
- package/es/components/USelect/images/empty.png +0 -0
- package/es/components/USelect/index.d.ts +4 -0
- package/es/components/USelect/index.js +3 -0
- package/es/components/USelect/locale/en_US.d.ts +3 -0
- package/es/components/USelect/locale/en_US.js +4 -0
- package/es/components/USelect/locale/locale.d.ts +3 -0
- package/es/components/USelect/locale/zh_CN.d.ts +3 -0
- package/es/components/USelect/locale/zh_CN.js +4 -0
- package/es/components/USelect/select/index.d.ts +49 -0
- package/es/components/USelect/select/index.js +180 -0
- package/es/components/USelect/select/style/index.d.ts +3 -0
- package/es/components/USelect/select/style/index.js +5 -0
- package/es/components/USelect/select/style/index.less +342 -0
- package/es/components/USelect/select/style/multiple.less +222 -0
- package/es/components/USelect/select/style/rtl.less +170 -0
- package/es/components/USelect/select/style/single.less +172 -0
- package/es/components/USelect/select/style/status.less +51 -0
- package/es/components/USelect/select/utils/iconUtil.d.ts +21 -0
- package/es/components/USelect/select/utils/iconUtil.js +69 -0
- package/es/components/USelect/style/index.d.ts +1 -0
- package/es/components/USelect/style/index.js +1 -0
- package/es/components/USelect/style/index.less +25 -0
- package/es/components/USelect/style/mixin.less +264 -0
- package/es/components/USelect/style/theme.less +92 -0
- package/es/components/USkeleton/Avatar.d.ts +7 -0
- package/es/components/USkeleton/Avatar.js +31 -0
- package/es/components/USkeleton/Button.d.ts +8 -0
- package/es/components/USkeleton/Button.js +30 -0
- package/es/components/USkeleton/Element.d.ts +11 -0
- package/es/components/USkeleton/Element.js +27 -0
- package/es/components/USkeleton/Image.d.ts +6 -0
- package/es/components/USkeleton/Image.js +32 -0
- package/es/components/USkeleton/Input.d.ts +8 -0
- package/es/components/USkeleton/Input.js +29 -0
- package/es/components/USkeleton/Node.d.ts +8 -0
- package/es/components/USkeleton/Node.js +27 -0
- package/es/components/USkeleton/Paragraph.d.ts +11 -0
- package/es/components/USkeleton/Paragraph.js +44 -0
- package/es/components/USkeleton/Skeleton.d.ts +31 -0
- package/es/components/USkeleton/Skeleton.js +130 -0
- package/es/components/USkeleton/Title.d.ts +9 -0
- package/es/components/USkeleton/Title.js +16 -0
- package/es/components/USkeleton/index.d.ts +4 -0
- package/es/components/USkeleton/index.js +3 -0
- package/es/components/USkeleton/style/index.d.ts +2 -0
- package/es/components/USkeleton/style/index.js +2 -0
- package/es/components/USkeleton/style/index.less +290 -0
- package/es/components/USkeleton/style/rtl.less +48 -0
- package/es/components/USlider/index.d.ts +30 -0
- package/es/components/USlider/index.js +486 -0
- package/es/components/USlider/slider/SliderTooltip.d.ts +4 -0
- package/es/components/USlider/slider/SliderTooltip.js +33 -0
- package/es/components/USlider/slider/index.d.ts +90 -0
- package/es/components/USlider/slider/index.js +129 -0
- package/es/components/USlider/slider/style/index.d.ts +3 -0
- package/es/components/USlider/slider/style/index.js +4 -0
- package/es/components/USlider/slider/style/index.less +215 -0
- package/es/components/USlider/slider/style/rtl.less +49 -0
- package/es/components/USlider/style/index.d.ts +1 -0
- package/es/components/USlider/style/index.js +1 -0
- package/es/components/USlider/style/index.less +16 -0
- package/es/components/USlider/style/mixin.less +205 -0
- package/es/components/USlider/style/theme.less +38 -0
- package/es/components/USpace/Compact.d.ts +24 -0
- package/es/components/USpace/Compact.js +76 -0
- package/es/components/USpace/Item.d.ts +11 -0
- package/es/components/USpace/Item.js +44 -0
- package/es/components/USpace/index.d.ts +26 -0
- package/es/components/USpace/index.js +119 -0
- package/es/components/USpace/style/compact.less +17 -0
- package/es/components/USpace/style/index.d.ts +2 -0
- package/es/components/USpace/style/index.js +2 -0
- package/es/components/USpace/style/index.less +40 -0
- package/es/components/USpace/style/rtl.less +14 -0
- package/es/components/USpin/index.d.ts +25 -0
- package/es/components/USpin/index.js +131 -0
- package/es/components/USpin/style/index.d.ts +2 -0
- package/es/components/USpin/style/index.js +2 -0
- package/es/components/USpin/style/index.less +218 -0
- package/es/components/USpin/style/rtl.less +20 -0
- package/es/components/UStatistic/Countdown.d.ts +11 -0
- package/es/components/UStatistic/Countdown.js +61 -0
- package/es/components/UStatistic/Number.d.ts +7 -0
- package/es/components/UStatistic/Number.js +46 -0
- package/es/components/UStatistic/Statistic.d.ts +22 -0
- package/es/components/UStatistic/Statistic.js +60 -0
- package/es/components/UStatistic/index.d.ts +4 -0
- package/es/components/UStatistic/index.js +5 -0
- package/es/components/UStatistic/style/index.d.ts +3 -0
- package/es/components/UStatistic/style/index.js +4 -0
- package/es/components/UStatistic/style/index.less +44 -0
- package/es/components/UStatistic/style/rtl.less +21 -0
- package/es/components/UStatistic/utils.d.ts +16 -0
- package/es/components/UStatistic/utils.js +46 -0
- package/es/components/USteps/index.d.ts +39 -0
- package/es/components/USteps/index.js +83 -0
- package/es/components/USteps/style/custom-icon.less +32 -0
- package/es/components/USteps/style/index.d.ts +3 -0
- package/es/components/USteps/style/index.js +5 -0
- package/es/components/USteps/style/index.less +255 -0
- package/es/components/USteps/style/label-placement.less +45 -0
- package/es/components/USteps/style/nav.less +134 -0
- package/es/components/USteps/style/progress-dot.less +112 -0
- package/es/components/USteps/style/progress.less +49 -0
- package/es/components/USteps/style/rtl.less +287 -0
- package/es/components/USteps/style/small.less +48 -0
- package/es/components/USteps/style/vertical.less +73 -0
- package/es/components/USteps/useLegacyItems.d.ts +3 -0
- package/es/components/USteps/useLegacyItems.js +23 -0
- package/es/components/USwitch/index.d.ts +31 -0
- package/es/components/USwitch/index.js +95 -0
- package/es/components/USwitch/locale/en_US.d.ts +3 -0
- package/es/components/USwitch/locale/en_US.js +5 -0
- package/es/components/USwitch/locale/locale.d.ts +4 -0
- package/es/components/USwitch/locale/zh_CN.d.ts +3 -0
- package/es/components/USwitch/locale/zh_CN.js +5 -0
- package/es/components/USwitch/style/index.d.ts +1 -0
- package/es/components/USwitch/style/index.js +1 -0
- package/es/components/USwitch/style/index.less +16 -0
- package/es/components/USwitch/style/mixin.less +85 -0
- package/es/components/USwitch/style/theme.less +17 -0
- package/es/components/USwitch/switch/index.d.ts +26 -0
- package/es/components/USwitch/switch/index.js +53 -0
- package/es/components/USwitch/switch/style/index.d.ts +2 -0
- package/es/components/USwitch/switch/style/index.js +2 -0
- package/es/components/USwitch/switch/style/index.less +154 -0
- package/es/components/USwitch/switch/style/rtl.less +52 -0
- package/es/components/UTable/index.d.ts +52 -0
- package/es/components/UTable/index.js +420 -0
- package/es/components/UTable/style/index.d.ts +1 -0
- package/es/components/UTable/style/index.js +1 -0
- package/es/components/UTable/style/index.less +24 -0
- package/es/components/UTable/style/mixin.less +304 -0
- package/es/components/UTable/style/theme.less +87 -0
- package/es/components/UTable/table/Column.d.ts +7 -0
- package/es/components/UTable/table/Column.js +7 -0
- package/es/components/UTable/table/ColumnGroup.d.ts +9 -0
- package/es/components/UTable/table/ColumnGroup.js +7 -0
- package/es/components/UTable/table/ExpandIcon.d.ts +11 -0
- package/es/components/UTable/table/ExpandIcon.js +27 -0
- package/es/components/UTable/table/Table.d.ts +49 -0
- package/es/components/UTable/table/Table.js +400 -0
- package/es/components/UTable/table/hooks/useFilter/FilterDropdown.d.ts +27 -0
- package/es/components/UTable/table/hooks/useFilter/FilterDropdown.js +440 -0
- package/es/components/UTable/table/hooks/useFilter/FilterSearch.d.ts +11 -0
- package/es/components/UTable/table/hooks/useFilter/FilterSearch.js +25 -0
- package/es/components/UTable/table/hooks/useFilter/FilterWrapper.d.ts +7 -0
- package/es/components/UTable/table/hooks/useFilter/FilterWrapper.js +18 -0
- package/es/components/UTable/table/hooks/useFilter/index.d.ts +23 -0
- package/es/components/UTable/table/hooks/useFilter/index.js +193 -0
- package/es/components/UTable/table/hooks/useLazyKVMap.d.ts +2 -0
- package/es/components/UTable/table/hooks/useLazyKVMap.js +30 -0
- package/es/components/UTable/table/hooks/usePagination.d.ts +4 -0
- package/es/components/UTable/table/hooks/usePagination.js +86 -0
- package/es/components/UTable/table/hooks/useSelection.d.ts +19 -0
- package/es/components/UTable/table/hooks/useSelection.js +563 -0
- package/es/components/UTable/table/hooks/useSorter.d.ts +24 -0
- package/es/components/UTable/table/hooks/useSorter.js +337 -0
- package/es/components/UTable/table/hooks/useTitleColumns.d.ts +2 -0
- package/es/components/UTable/table/hooks/useTitleColumns.js +18 -0
- package/es/components/UTable/table/index.d.ts +6 -0
- package/es/components/UTable/table/index.js +3 -0
- package/es/components/UTable/table/interface.d.ts +165 -0
- package/es/components/UTable/table/interface.js +2 -0
- package/es/components/UTable/table/style/bordered.less +131 -0
- package/es/components/UTable/table/style/index.d.ts +12 -0
- package/es/components/UTable/table/style/index.js +15 -0
- package/es/components/UTable/table/style/index.less +854 -0
- package/es/components/UTable/table/style/radius.less +49 -0
- package/es/components/UTable/table/style/rtl.less +168 -0
- package/es/components/UTable/table/style/size.less +51 -0
- package/es/components/UTable/table/util.d.ts +14 -0
- package/es/components/UTable/table/util.js +31 -0
- package/es/components/UTabs/images/icon-delete-default.png +0 -0
- package/es/components/UTabs/images/icon-delete-hover.png +0 -0
- package/es/components/UTabs/index.d.ts +26 -0
- package/es/components/UTabs/index.js +53 -0
- package/es/components/UTabs/style/index.d.ts +1 -0
- package/es/components/UTabs/style/index.js +1 -0
- package/es/components/UTabs/style/index.less +24 -0
- package/es/components/UTabs/style/mixin.less +234 -0
- package/es/components/UTabs/style/theme.less +65 -0
- package/es/components/UTabs/tabs/TabPane.d.ts +5 -0
- package/es/components/UTabs/tabs/TabPane.js +7 -0
- package/es/components/UTabs/tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/es/components/UTabs/tabs/hooks/useAnimateConfig.js +35 -0
- package/es/components/UTabs/tabs/hooks/useLegacyItems.d.ts +4 -0
- package/es/components/UTabs/tabs/hooks/useLegacyItems.js +32 -0
- package/es/components/UTabs/tabs/index.d.ts +22 -0
- package/es/components/UTabs/tabs/index.js +73 -0
- package/es/components/UTabs/tabs/style/card.less +98 -0
- package/es/components/UTabs/tabs/style/dropdown.less +82 -0
- package/es/components/UTabs/tabs/style/index.d.ts +2 -0
- package/es/components/UTabs/tabs/style/index.js +2 -0
- package/es/components/UTabs/tabs/style/index.less +253 -0
- package/es/components/UTabs/tabs/style/position.less +198 -0
- package/es/components/UTabs/tabs/style/rtl.less +86 -0
- package/es/components/UTabs/tabs/style/size.less +42 -0
- package/es/components/UTags/images/gray_select.png +0 -0
- package/es/components/UTags/images/option_selected.png +0 -0
- package/es/components/UTags/index.d.ts +27 -0
- package/es/components/UTags/index.js +100 -0
- package/es/components/UTags/style/index.d.ts +1 -0
- package/es/components/UTags/style/index.js +1 -0
- package/es/components/UTags/style/index.less +22 -0
- package/es/components/UTags/style/mixin.less +94 -0
- package/es/components/UTags/style/theme.less +32 -0
- package/es/components/UTags/tag/CheckableTag.d.ts +17 -0
- package/es/components/UTags/tag/CheckableTag.js +29 -0
- package/es/components/UTags/tag/index.d.ts +23 -0
- package/es/components/UTags/tag/index.js +102 -0
- package/es/components/UTags/tag/style/index.d.ts +2 -0
- package/es/components/UTags/tag/style/index.js +2 -0
- package/es/components/UTags/tag/style/index.less +133 -0
- package/es/components/UTags/tag/style/rtl.less +28 -0
- package/es/components/UTextArea/index.d.ts +21 -0
- package/es/components/UTextArea/index.js +125 -0
- package/es/components/UTextArea/locale/en_US.d.ts +3 -0
- package/es/components/UTextArea/locale/en_US.js +4 -0
- package/es/components/UTextArea/locale/locale.d.ts +3 -0
- package/es/components/UTextArea/locale/zh_CN.d.ts +3 -0
- package/es/components/UTextArea/locale/zh_CN.js +4 -0
- package/es/components/UTextArea/style/index.d.ts +1 -0
- package/es/components/UTextArea/style/index.js +1 -0
- package/es/components/UTextArea/style/index.less +16 -0
- package/es/components/UTextArea/style/mixin.less +145 -0
- package/es/components/UTextArea/style/theme.less +62 -0
- package/es/components/UTimeline/Timeline.d.ts +18 -0
- package/es/components/UTimeline/Timeline.js +72 -0
- package/es/components/UTimeline/TimelineItem.d.ts +17 -0
- package/es/components/UTimeline/TimelineItem.js +43 -0
- package/es/components/UTimeline/index.d.ts +5 -0
- package/es/components/UTimeline/index.js +3 -0
- package/es/components/UTimeline/style/index.d.ts +2 -0
- package/es/components/UTimeline/style/index.js +2 -0
- package/es/components/UTimeline/style/index.less +185 -0
- package/es/components/UTimeline/style/rtl.less +135 -0
- package/es/components/UTipForm/UTips.js +160 -0
- package/es/components/UTipForm/index.js +34 -0
- package/es/components/UTipForm/style/index.d.ts +1 -0
- package/es/components/UTipForm/style/index.js +1 -0
- package/es/components/UTipForm/style/index.less +57 -0
- package/es/components/UTipForm/style/mixin.less +85 -0
- package/es/components/UTipForm/style/theme.less +16 -0
- package/es/components/UTooltip/index.d.ts +4 -0
- package/es/components/UTooltip/index.js +3 -0
- package/es/components/UTooltip/style/index.d.ts +1 -0
- package/es/components/UTooltip/style/index.js +1 -0
- package/es/components/UTooltip/style/index.less +16 -0
- package/es/components/UTooltip/style/mixin.less +15 -0
- package/es/components/UTooltip/style/theme.less +7 -0
- package/es/components/UTooltip/tooltip/index.d.ts +72 -0
- package/es/components/UTooltip/tooltip/index.js +220 -0
- package/es/components/UTooltip/tooltip/style/index.d.ts +2 -0
- package/es/components/UTooltip/tooltip/style/index.js +2 -0
- package/es/components/UTooltip/tooltip/style/index.less +226 -0
- package/es/components/UTooltip/tooltip/style/rtl.less +14 -0
- package/es/components/UTransfer/TransferPanel.d.ts +6 -0
- package/es/components/UTransfer/TransferPanel.js +324 -0
- package/es/components/UTransfer/TransferTable.d.ts +5 -0
- package/es/components/UTransfer/TransferTable.js +172 -0
- package/es/components/UTransfer/TransferTree.d.ts +4 -0
- package/es/components/UTransfer/TransferTree.js +32 -0
- package/es/components/UTransfer/images/arrow_default.png +0 -0
- package/es/components/UTransfer/images/arrow_down.png +0 -0
- package/es/components/UTransfer/images/arrow_hover.png +0 -0
- package/es/components/UTransfer/images/icon_delete-default.png +0 -0
- package/es/components/UTransfer/images/icon_delete_down.png +0 -0
- package/es/components/UTransfer/images/icon_delete_hover.png +0 -0
- package/es/components/UTransfer/images/item_delete-default.png +0 -0
- package/es/components/UTransfer/images/item_delete_hover.png +0 -0
- package/es/components/UTransfer/index.d.ts +16 -0
- package/es/components/UTransfer/index.js +1346 -0
- package/es/components/UTransfer/index.td.d.ts +106 -0
- package/es/components/UTransfer/index.td.js +1 -0
- package/es/components/UTransfer/locale/en_US.d.ts +3 -0
- package/es/components/UTransfer/locale/en_US.js +7 -0
- package/es/components/UTransfer/locale/locale.d.ts +6 -0
- package/es/components/UTransfer/locale/zh_CN.d.ts +3 -0
- package/es/components/UTransfer/locale/zh_CN.js +7 -0
- package/es/components/UTransfer/style/index.d.ts +1 -0
- package/es/components/UTransfer/style/index.js +1 -0
- package/es/components/UTransfer/style/index.less +16 -0
- package/es/components/UTransfer/style/mixin.less +366 -0
- package/es/components/UTransfer/style/theme.less +140 -0
- package/es/components/UTransfer/transfer/ListBody.d.ts +29 -0
- package/es/components/UTransfer/transfer/ListBody.js +147 -0
- package/es/components/UTransfer/transfer/ListItem.d.ts +15 -0
- package/es/components/UTransfer/transfer/ListItem.js +60 -0
- package/es/components/UTransfer/transfer/index.d.ts +141 -0
- package/es/components/UTransfer/transfer/index.js +400 -0
- package/es/components/UTransfer/transfer/interface.d.ts +6 -0
- package/es/components/UTransfer/transfer/interface.js +1 -0
- package/es/components/UTransfer/transfer/list.d.ts +75 -0
- package/es/components/UTransfer/transfer/list.js +362 -0
- package/es/components/UTransfer/transfer/operation.d.ts +17 -0
- package/es/components/UTransfer/transfer/operation.js +36 -0
- package/es/components/UTransfer/transfer/search.d.ts +10 -0
- package/es/components/UTransfer/transfer/search.js +29 -0
- package/es/components/UTransfer/transfer/style/customize.less +52 -0
- package/es/components/UTransfer/transfer/style/index.d.ts +8 -0
- package/es/components/UTransfer/transfer/style/index.js +10 -0
- package/es/components/UTransfer/transfer/style/index.less +293 -0
- package/es/components/UTransfer/transfer/style/rtl.less +71 -0
- package/es/components/UTransfer/transfer/style/status.less +31 -0
- package/es/components/UTree/DirectoryTree.d.ts +20 -0
- package/es/components/UTree/DirectoryTree.js +165 -0
- package/es/components/UTree/Tree.d.ts +162 -0
- package/es/components/UTree/Tree.js +303 -0
- package/es/components/UTree/index.d.ts +23 -0
- package/es/components/UTree/index.js +10 -0
- package/es/components/UTree/style/directory.less +72 -0
- package/es/components/UTree/style/index.d.ts +2 -0
- package/es/components/UTree/style/index.js +2 -0
- package/es/components/UTree/style/index.less +16 -0
- package/es/components/UTree/style/mixin.less +443 -0
- package/es/components/UTree/style/rtl.less +77 -0
- package/es/components/UTree/style/svg/caretDown.svg +4 -0
- package/es/components/UTree/style/svg/caretRight.svg +4 -0
- package/es/components/UTree/utils/dictUtil.d.ts +9 -0
- package/es/components/UTree/utils/dictUtil.js +73 -0
- package/es/components/UTree/utils/dropIndicator.d.ts +8 -0
- package/es/components/UTree/utils/dropIndicator.js +34 -0
- package/es/components/UTree/utils/iconUtil.d.ts +5 -0
- package/es/components/UTree/utils/iconUtil.js +63 -0
- package/es/components/UTree/utils/transToTreeData.d.ts +39 -0
- package/es/components/UTree/utils/transToTreeData.js +97 -0
- package/es/components/UTreeSelect/index.d.ts +49 -0
- package/es/components/UTreeSelect/index.js +151 -0
- package/es/components/UTreeSelect/style/index.d.ts +4 -0
- package/es/components/UTreeSelect/style/index.js +6 -0
- package/es/components/UTreeSelect/style/index.less +59 -0
- package/es/components/UTypography/Base/Ellipsis.d.ts +15 -0
- package/es/components/UTypography/Base/Ellipsis.js +176 -0
- package/es/components/UTypography/Base/EllipsisTooltip.d.ts +13 -0
- package/es/components/UTypography/Base/EllipsisTooltip.js +18 -0
- package/es/components/UTypography/Base/index.d.ts +52 -0
- package/es/components/UTypography/Base/index.js +449 -0
- package/es/components/UTypography/Editable.d.ts +20 -0
- package/es/components/UTypography/Editable.js +111 -0
- package/es/components/UTypography/Link.d.ts +7 -0
- package/es/components/UTypography/Link.js +22 -0
- package/es/components/UTypography/Paragraph.d.ts +6 -0
- package/es/components/UTypography/Paragraph.js +10 -0
- package/es/components/UTypography/Text.d.ts +7 -0
- package/es/components/UTypography/Text.js +24 -0
- package/es/components/UTypography/Title.d.ts +8 -0
- package/es/components/UTypography/Title.js +24 -0
- package/es/components/UTypography/Typography.d.ts +17 -0
- package/es/components/UTypography/Typography.js +44 -0
- package/es/components/UTypography/hooks/useMergedConfig.d.ts +1 -0
- package/es/components/UTypography/hooks/useMergedConfig.js +8 -0
- package/es/components/UTypography/hooks/useUpdatedEffect.d.ts +4 -0
- package/es/components/UTypography/hooks/useUpdatedEffect.js +13 -0
- package/es/components/UTypography/index.d.ts +14 -0
- package/es/components/UTypography/index.js +12 -0
- package/es/components/UTypography/style/index.d.ts +4 -0
- package/es/components/UTypography/style/index.js +5 -0
- package/es/components/UTypography/style/index.less +314 -0
- package/es/components/UTypography/style/rtl.less +54 -0
- package/es/components/UUpload/Dragger.d.ts +9 -0
- package/es/components/UUpload/Dragger.js +20 -0
- package/es/components/UUpload/Upload.d.ts +6 -0
- package/es/components/UUpload/Upload.js +406 -0
- package/es/components/UUpload/UploadList/ListItem.d.ts +27 -0
- package/es/components/UUpload/UploadList/ListItem.js +201 -0
- package/es/components/UUpload/UploadList/index.d.ts +4 -0
- package/es/components/UUpload/UploadList/index.js +234 -0
- package/es/components/UUpload/index.d.ts +15 -0
- package/es/components/UUpload/index.js +7 -0
- package/es/components/UUpload/interface.d.ts +134 -0
- package/es/components/UUpload/interface.js +1 -0
- package/es/components/UUpload/style/index.d.ts +5 -0
- package/es/components/UUpload/style/index.js +7 -0
- package/es/components/UUpload/style/index.less +564 -0
- package/es/components/UUpload/style/rtl.less +165 -0
- package/es/components/UUpload/utils.d.ts +8 -0
- package/es/components/UUpload/utils.js +123 -0
- package/es/components/UUploadFile/ThumnNail/images/download.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/download_hover.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_close_default.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_close_down.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_close_hover.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_delete_default.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_delete_hover.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_delete_small_default.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_delete_small_hover.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_large_default.png +0 -0
- package/es/components/UUploadFile/ThumnNail/images/icon_large_hover.png +0 -0
- package/es/components/UUploadFile/ThumnNail/index.d.ts +24 -0
- package/es/components/UUploadFile/ThumnNail/index.js +90 -0
- package/es/components/UUploadFile/ThumnNail/index.less +111 -0
- package/es/components/UUploadFile/UploadFile.js +1340 -0
- package/es/components/UUploadFile/Uploader.swf +0 -0
- package/es/components/UUploadFile/api.js +57 -0
- package/es/components/UUploadFile/getByteLength.d.ts +7 -0
- package/es/components/UUploadFile/getByteLength.js +36 -0
- package/es/components/UUploadFile/images/fileIcon/excel.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/exe.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/pdf.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/ppt.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/txt.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/word.png +0 -0
- package/es/components/UUploadFile/images/fileIcon/zip.png +0 -0
- package/es/components/UUploadFile/images/icon_add_default.png +0 -0
- package/es/components/UUploadFile/images/icon_add_hover.png +0 -0
- package/es/components/UUploadFile/index.js +153 -0
- package/es/components/UUploadFile/locale/en_US.d.ts +3 -0
- package/es/components/UUploadFile/locale/en_US.js +24 -0
- package/es/components/UUploadFile/locale/locale.d.ts +23 -0
- package/es/components/UUploadFile/locale/zh_CN.d.ts +3 -0
- package/es/components/UUploadFile/locale/zh_CN.js +24 -0
- package/es/components/UUploadFile/style/index.d.ts +1 -0
- package/es/components/UUploadFile/style/index.js +1 -0
- package/es/components/UUploadFile/style/index.less +15 -0
- package/es/components/UUploadFile/style/mixin.less +249 -0
- package/es/components/UUploadFile/style/theme.less +40 -0
- package/es/components/UUtils/index.d.ts +7 -0
- package/es/components/UUtils/index.js +152 -0
- package/es/components/UUtils/style/index.d.ts +1 -0
- package/es/components/UUtils/style/index.js +0 -0
- package/es/components/UVersion/index.d.ts +3 -0
- package/es/components/UVersion/index.js +3 -0
- package/es/components/UVersion/style/index.d.ts +1 -0
- package/es/components/UVersion/style/index.js +2 -0
- package/es/components/UVersion/token.d.ts +319 -0
- package/es/components/UVersion/token.js +318 -0
- package/es/components/UVersion/version.d.ts +2 -0
- package/es/components/UVersion/version.js +1 -0
- package/es/components/UVideo/HideDiv.js +260 -0
- package/es/components/UVideo/Images/3D_close.png +0 -0
- package/es/components/UVideo/Images/3D_close_gray.png +0 -0
- package/es/components/UVideo/Images/3D_close_hover.png +0 -0
- package/es/components/UVideo/Images/3D_open.png +0 -0
- package/es/components/UVideo/Images/3D_open_gray.png +0 -0
- package/es/components/UVideo/Images/3D_open_hover.png +0 -0
- package/es/components/UVideo/Images/3D_position.png +0 -0
- package/es/components/UVideo/Images/3D_position_active.png +0 -0
- package/es/components/UVideo/Images/3D_position_close.png +0 -0
- package/es/components/UVideo/Images/3D_position_close_active.png +0 -0
- package/es/components/UVideo/Images/3D_position_close_gray.png +0 -0
- package/es/components/UVideo/Images/3D_position_gray.png +0 -0
- package/es/components/UVideo/Images/@ant-designicons@2x.png +0 -0
- package/es/components/UVideo/Images/DVI.png +0 -0
- package/es/components/UVideo/Images/DVIAlarm.png +0 -0
- package/es/components/UVideo/Images/DVIOffline.png +0 -0
- package/es/components/UVideo/Images/DrivebyCamera.png +0 -0
- package/es/components/UVideo/Images/DrivebyCameraOffline.png +0 -0
- package/es/components/UVideo/Images/Imagestitch.png +0 -0
- package/es/components/UVideo/Images/LED.png +0 -0
- package/es/components/UVideo/Images/LEDOffline.png +0 -0
- package/es/components/UVideo/Images/NO VIDEO.bmp +0 -0
- package/es/components/UVideo/Images/NVR.png +0 -0
- package/es/components/UVideo/Images/NVROffline.png +0 -0
- package/es/components/UVideo/Images/VGA.png +0 -0
- package/es/components/UVideo/Images/VGAOffline.png +0 -0
- package/es/components/UVideo/Images/VideoReplayControl.png +0 -0
- package/es/components/UVideo/Images/VideoReplayNoTag.png +0 -0
- package/es/components/UVideo/Images/add_fav@2x.png +0 -0
- package/es/components/UVideo/Images/alarmOffline.png +0 -0
- package/es/components/UVideo/Images/alarmshebei.png +0 -0
- package/es/components/UVideo/Images/baojingshebei.png +0 -0
- package/es/components/UVideo/Images/baojingshebeiOffline.png +0 -0
- package/es/components/UVideo/Images/batch-live@2x.png +0 -0
- package/es/components/UVideo/Images/batchLiveWallBtn.png +0 -0
- package/es/components/UVideo/Images/batch_live_default@2x.png +0 -0
- package/es/components/UVideo/Images/bukekonggaoqingqiuji.png +0 -0
- package/es/components/UVideo/Images/bukekonggaoqingqiujiOffLine.png +0 -0
- package/es/components/UVideo/Images/bukekongqiuji.png +0 -0
- package/es/components/UVideo/Images/bukekongqiujiAlarm.png +0 -0
- package/es/components/UVideo/Images/bukekongqiujiOffline.png +0 -0
- package/es/components/UVideo/Images/caijishebei.png +0 -0
- package/es/components/UVideo/Images/caijishebeiOffline.png +0 -0
- package/es/components/UVideo/Images/caijixitong.png +0 -0
- package/es/components/UVideo/Images/caijixitongOffline.png +0 -0
- package/es/components/UVideo/Images/camera.png +0 -0
- package/es/components/UVideo/Images/camera_fix.png +0 -0
- package/es/components/UVideo/Images/camera_fix@2x.png +0 -0
- package/es/components/UVideo/Images/camera_fix_hd.png +0 -0
- package/es/components/UVideo/Images/camera_fix_hd@2x.png +0 -0
- package/es/components/UVideo/Images/camera_light.png +0 -0
- package/es/components/UVideo/Images/camera_ptz.png +0 -0
- package/es/components/UVideo/Images/camera_ptz@2x.png +0 -0
- package/es/components/UVideo/Images/camera_ptz_hd.png +0 -0
- package/es/components/UVideo/Images/camera_ptz_hd@2x.png +0 -0
- package/es/components/UVideo/Images/captureGrey.png +0 -0
- package/es/components/UVideo/Images/captureHover.png +0 -0
- package/es/components/UVideo/Images/captureIcon.png +0 -0
- package/es/components/UVideo/Images/centerPoint.png +0 -0
- package/es/components/UVideo/Images/chezaishexiangji.png +0 -0
- package/es/components/UVideo/Images/chezaishexiangjiAlarm.png +0 -0
- package/es/components/UVideo/Images/chezaishexiangjiOffline.png +0 -0
- package/es/components/UVideo/Images/choose@2x.png +0 -0
- package/es/components/UVideo/Images/choose@2x_light.png +0 -0
- package/es/components/UVideo/Images/choose_hover@2x.png +0 -0
- package/es/components/UVideo/Images/close.png +0 -0
- package/es/components/UVideo/Images/close_single.png +0 -0
- package/es/components/UVideo/Images/close_single_hover.png +0 -0
- package/es/components/UVideo/Images/closeall.png +0 -0
- package/es/components/UVideo/Images/closeall_light.png +0 -0
- package/es/components/UVideo/Images/closemodal.png +0 -0
- package/es/components/UVideo/Images/closemodal_light.png +0 -0
- package/es/components/UVideo/Images/confirm_fav.png +0 -0
- package/es/components/UVideo/Images/cruisePlan.png +0 -0
- package/es/components/UVideo/Images/cutimg.png +0 -0
- package/es/components/UVideo/Images/cutimg_hover.png +0 -0
- package/es/components/UVideo/Images/dae.png +0 -0
- package/es/components/UVideo/Images/daeOffline.png +0 -0
- package/es/components/UVideo/Images/defence@2x.png +0 -0
- package/es/components/UVideo/Images/defence_default@2x.png +0 -0
- package/es/components/UVideo/Images/defence_icon@2x.png +0 -0
- package/es/components/UVideo/Images/del_input@2x.png +0 -0
- package/es/components/UVideo/Images/delete.png +0 -0
- package/es/components/UVideo/Images/delete@2x.png +0 -0
- package/es/components/UVideo/Images/delete_img.png +0 -0
- package/es/components/UVideo/Images/delete_leve@2x.png +0 -0
- package/es/components/UVideo/Images/delete_light.png +0 -0
- package/es/components/UVideo/Images/detailFormIcon.png +0 -0
- package/es/components/UVideo/Images/device_icon-24x24.png +0 -0
- package/es/components/UVideo/Images/downLoadeGray.png +0 -0
- package/es/components/UVideo/Images/downLoadeHover.png +0 -0
- package/es/components/UVideo/Images/downLoadeIcon.png +0 -0
- package/es/components/UVideo/Images/download.png +0 -0
- package/es/components/UVideo/Images/download_light.png +0 -0
- package/es/components/UVideo/Images/duijiangfenji.png +0 -0
- package/es/components/UVideo/Images/duijiangfenjiOffline.png +0 -0
- package/es/components/UVideo/Images/emptyCamera.png +0 -0
- package/es/components/UVideo/Images/emptyMonitor.png +0 -0
- package/es/components/UVideo/Images/emptyPolice.png +0 -0
- package/es/components/UVideo/Images/emptyServer.png +0 -0
- package/es/components/UVideo/Images/favorites@2x.png +0 -0
- package/es/components/UVideo/Images/favorites_default@2x.png +0 -0
- package/es/components/UVideo/Images/fenxixitong.png +0 -0
- package/es/components/UVideo/Images/fenxixitongOffline.png +0 -0
- package/es/components/UVideo/Images/file_icon@2x.png +0 -0
- package/es/components/UVideo/Images/file_icon_open@2x.png +0 -0
- package/es/components/UVideo/Images/foldClose.png +0 -0
- package/es/components/UVideo/Images/foldOpen.png +0 -0
- package/es/components/UVideo/Images/fullscreen.png +0 -0
- package/es/components/UVideo/Images/fullscreen_light.png +0 -0
- package/es/components/UVideo/Images/gaoqingqiangji.png +0 -0
- package/es/components/UVideo/Images/gaoqingqiangjiAlarm.png +0 -0
- package/es/components/UVideo/Images/gaoqingqiangjiOffline.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuntai.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuntaiAlarm.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuntaiOffline.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuyan.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuyanAlarm.png +0 -0
- package/es/components/UVideo/Images/gaoqingyuyanOffline.png +0 -0
- package/es/components/UVideo/Images/gpsEndIcon.png +0 -0
- package/es/components/UVideo/Images/gpsStartIcon.png +0 -0
- package/es/components/UVideo/Images/gridsPlay@2x.png +0 -0
- package/es/components/UVideo/Images/gridsRecord@2x.png +0 -0
- package/es/components/UVideo/Images/hide_left.png +0 -0
- package/es/components/UVideo/Images/hide_left_hover.png +0 -0
- package/es/components/UVideo/Images/hide_right.png +0 -0
- package/es/components/UVideo/Images/hide_right_hover.png +0 -0
- package/es/components/UVideo/Images/icon-close.png +0 -0
- package/es/components/UVideo/Images/icon16 copy.png +0 -0
- package/es/components/UVideo/Images/icon16.png +0 -0
- package/es/components/UVideo/Images/icon24.png +0 -0
- package/es/components/UVideo/Images/kaiguanliang.png +0 -0
- package/es/components/UVideo/Images/laiguanlaingOffline.png +0 -0
- package/es/components/UVideo/Images/last.png +0 -0
- package/es/components/UVideo/Images/last_disable.png +0 -0
- package/es/components/UVideo/Images/last_hover.png +0 -0
- package/es/components/UVideo/Images/liveUnderList.png +0 -0
- package/es/components/UVideo/Images/location1@2x.png +0 -0
- package/es/components/UVideo/Images/location@2x.png +0 -0
- package/es/components/UVideo/Images/location_default@2x.png +0 -0
- package/es/components/UVideo/Images/lunqie.png +0 -0
- package/es/components/UVideo/Images/markerIcons/hd_qiang.png +0 -0
- package/es/components/UVideo/Images/markerIcons/hd_qiu.png +0 -0
- package/es/components/UVideo/Images/markerIcons/qiang.png +0 -0
- package/es/components/UVideo/Images/markerIcons/qiu.png +0 -0
- package/es/components/UVideo/Images/markerIcons/tollgate.png +0 -0
- package/es/components/UVideo/Images/maxmodal.png +0 -0
- package/es/components/UVideo/Images/maxmodal_light.png +0 -0
- package/es/components/UVideo/Images/menjin.png +0 -0
- package/es/components/UVideo/Images/menjinOffline.png +0 -0
- package/es/components/UVideo/Images/minmodal.png +0 -0
- package/es/components/UVideo/Images/minmodal_light.png +0 -0
- package/es/components/UVideo/Images/minscreen.png +0 -0
- package/es/components/UVideo/Images/minscreen_light.png +0 -0
- package/es/components/UVideo/Images/monitor.png +0 -0
- package/es/components/UVideo/Images/monitorOffLine.png +0 -0
- package/es/components/UVideo/Images/more.png +0 -0
- package/es/components/UVideo/Images/more@2x.png +0 -0
- package/es/components/UVideo/Images/more_default@2x.png +0 -0
- package/es/components/UVideo/Images/more_light.png +0 -0
- package/es/components/UVideo/Images/moveDefault.png +0 -0
- package/es/components/UVideo/Images/netgrid@2x.png +0 -0
- package/es/components/UVideo/Images/netgrid_default@2x.png +0 -0
- package/es/components/UVideo/Images/new_no_data.png +0 -0
- package/es/components/UVideo/Images/next.png +0 -0
- package/es/components/UVideo/Images/next_disable.png +0 -0
- package/es/components/UVideo/Images/next_hover.png +0 -0
- package/es/components/UVideo/Images/no_data@2x.png +0 -0
- package/es/components/UVideo/Images/no_picture.png +0 -0
- package/es/components/UVideo/Images/org.png +0 -0
- package/es/components/UVideo/Images/patrol_last.png +0 -0
- package/es/components/UVideo/Images/patrol_last_disable.png +0 -0
- package/es/components/UVideo/Images/patrol_last_light.png +0 -0
- package/es/components/UVideo/Images/patrol_next.png +0 -0
- package/es/components/UVideo/Images/patrol_next_disable.png +0 -0
- package/es/components/UVideo/Images/patrol_next_light.png +0 -0
- package/es/components/UVideo/Images/patrol_start.png +0 -0
- package/es/components/UVideo/Images/patrol_start_light.png +0 -0
- package/es/components/UVideo/Images/patrol_stop.png +0 -0
- package/es/components/UVideo/Images/patrol_stop_light.png +0 -0
- package/es/components/UVideo/Images/piliangbeifen.png +0 -0
- package/es/components/UVideo/Images/piliangshangqiang.png +0 -0
- package/es/components/UVideo/Images/play_b@3x.png +0 -0
- package/es/components/UVideo/Images/play_buck@2x.png +0 -0
- package/es/components/UVideo/Images/play_live@2x.png +0 -0
- package/es/components/UVideo/Images/play_live_default@2x.png +0 -0
- package/es/components/UVideo/Images/point_blue.png +0 -0
- package/es/components/UVideo/Images/point_red.png +0 -0
- package/es/components/UVideo/Images/police.png +0 -0
- package/es/components/UVideo/Images/policeAvatar.png +0 -0
- package/es/components/UVideo/Images/pop.png +0 -0
- package/es/components/UVideo/Images/pop_hover.png +0 -0
- package/es/components/UVideo/Images/position@2x.png +0 -0
- package/es/components/UVideo/Images/ptz-dir-icon.png +0 -0
- package/es/components/UVideo/Images/ptz-icon16.png +0 -0
- package/es/components/UVideo/Images/ptz-icon24.png +0 -0
- package/es/components/UVideo/Images/ptz-icon32.png +0 -0
- package/es/components/UVideo/Images/ptz-icon48.png +0 -0
- package/es/components/UVideo/Images/ptz-synchro-icon.gif +0 -0
- package/es/components/UVideo/Images/ptzPanelIcon.png +0 -0
- package/es/components/UVideo/Images/ptzPanelIconGrey.png +0 -0
- package/es/components/UVideo/Images/ptzPanelIconHover.png +0 -0
- package/es/components/UVideo/Images/ptz_icon_close.png +0 -0
- package/es/components/UVideo/Images/ptz_icon_close_gray.png +0 -0
- package/es/components/UVideo/Images/ptz_icon_close_hover.png +0 -0
- package/es/components/UVideo/Images/ptz_icon_open.png +0 -0
- package/es/components/UVideo/Images/ptz_icon_open_hover.png +0 -0
- package/es/components/UVideo/Images/qiangji.png +0 -0
- package/es/components/UVideo/Images/qiangjiAlarm.png +0 -0
- package/es/components/UVideo/Images/qiangjiOffline.png +0 -0
- package/es/components/UVideo/Images/qiangqiuliandong.png +0 -0
- package/es/components/UVideo/Images/qiangqiuliandongOffline.png +0 -0
- package/es/components/UVideo/Images/rate_slider.svg +1 -0
- package/es/components/UVideo/Images/record_close.png +0 -0
- package/es/components/UVideo/Images/record_close_gray.png +0 -0
- package/es/components/UVideo/Images/record_close_hover.png +0 -0
- package/es/components/UVideo/Images/record_open.png +0 -0
- package/es/components/UVideo/Images/record_open_gray.png +0 -0
- package/es/components/UVideo/Images/record_open_hover.png +0 -0
- package/es/components/UVideo/Images/redPonit.png +0 -0
- package/es/components/UVideo/Images/refresh@2x.png +0 -0
- package/es/components/UVideo/Images/refresh_default@2x.png +0 -0
- package/es/components/UVideo/Images/replayCurrentTime.svg +1 -0
- package/es/components/UVideo/Images/replayRate.png +0 -0
- package/es/components/UVideo/Images/rfid.png +0 -0
- package/es/components/UVideo/Images/rightFullScreen.png +0 -0
- package/es/components/UVideo/Images/rightFullScreenHover.png +0 -0
- package/es/components/UVideo/Images/root.png +0 -0
- package/es/components/UVideo/Images/round-live@2x.png +0 -0
- package/es/components/UVideo/Images/round_live_default@2x.png +0 -0
- package/es/components/UVideo/Images/savesplit.png +0 -0
- package/es/components/UVideo/Images/savesplit_light.png +0 -0
- package/es/components/UVideo/Images/schicht-hover.png +0 -0
- package/es/components/UVideo/Images/schicht.png +0 -0
- package/es/components/UVideo/Images/schicht_checked.png +0 -0
- package/es/components/UVideo/Images/searchEmpty.png +0 -0
- package/es/components/UVideo/Images/securityAppDraw.png +0 -0
- package/es/components/UVideo/Images/setting.png +0 -0
- package/es/components/UVideo/Images/setting_light.png +0 -0
- package/es/components/UVideo/Images/shipinxunluo.png +0 -0
- package/es/components/UVideo/Images/sliceTooltip.png +0 -0
- package/es/components/UVideo/Images/sound.png +0 -0
- package/es/components/UVideo/Images/sound_active.png +0 -0
- package/es/components/UVideo/Images/sound_close.png +0 -0
- package/es/components/UVideo/Images/sound_close_active.png +0 -0
- package/es/components/UVideo/Images/sound_close_gray.png +0 -0
- package/es/components/UVideo/Images/sound_gray.png +0 -0
- package/es/components/UVideo/Images/spirit1.png +0 -0
- package/es/components/UVideo/Images/splitScreen.png +0 -0
- package/es/components/UVideo/Images/split_1.png +0 -0
- package/es/components/UVideo/Images/split_4.png +0 -0
- package/es/components/UVideo/Images/split_9.png +0 -0
- package/es/components/UVideo/Images/splitctr.png +0 -0
- package/es/components/UVideo/Images/splitctr_litght.png +0 -0
- package/es/components/UVideo/Images/spriteIcon copy.png +0 -0
- package/es/components/UVideo/Images/spriteIcon.png +0 -0
- package/es/components/UVideo/Images/sprites.png +0 -0
- package/es/components/UVideo/Images/sprites_image.png +0 -0
- package/es/components/UVideo/Images/startBackUpBtn.png +0 -0
- package/es/components/UVideo/Images/startPatrolBtn.png +0 -0
- package/es/components/UVideo/Images/stkIcon.png +0 -0
- package/es/components/UVideo/Images/stkTollgate.png +0 -0
- package/es/components/UVideo/Images/stream1.png +0 -0
- package/es/components/UVideo/Images/stream1_gray.png +0 -0
- package/es/components/UVideo/Images/stream1_hover.png +0 -0
- package/es/components/UVideo/Images/stream2.png +0 -0
- package/es/components/UVideo/Images/stream2_gray.png +0 -0
- package/es/components/UVideo/Images/stream2_hover.png +0 -0
- package/es/components/UVideo/Images/stream3.png +0 -0
- package/es/components/UVideo/Images/stream3_gray.png +0 -0
- package/es/components/UVideo/Images/stream3_hover.png +0 -0
- package/es/components/UVideo/Images/tableLine.png +0 -0
- package/es/components/UVideo/Images/tackEndIcon.png +0 -0
- package/es/components/UVideo/Images/tackStartIcon.png +0 -0
- package/es/components/UVideo/Images/textNoticeIcon.png +0 -0
- package/es/components/UVideo/Images/timeLarge.svg +1 -0
- package/es/components/UVideo/Images/timeSmall.svg +1 -0
- package/es/components/UVideo/Images/tollgate.png +0 -0
- package/es/components/UVideo/Images/tollgateOffLine.png +0 -0
- package/es/components/UVideo/Images/treeIcon.less +508 -0
- package/es/components/UVideo/Images/user.png +0 -0
- package/es/components/UVideo/Images/videoGroup.png +0 -0
- package/es/components/UVideo/Images/videoUnderList.png +0 -0
- package/es/components/UVideo/Images/viewLib-online.png +0 -0
- package/es/components/UVideo/Images/waiyu.png +0 -0
- package/es/components/UVideo/Images/waiyuOffline.png +0 -0
- package/es/components/UVideo/Images/warn.png +0 -0
- package/es/components/UVideo/Images/wifi.png +0 -0
- package/es/components/UVideo/Images/yidongjingwu.png +0 -0
- package/es/components/UVideo/Images/yingyongpingtai.png +0 -0
- package/es/components/UVideo/Images/yingyongpingtaiOffline.png +0 -0
- package/es/components/UVideo/Images/yuntai.png +0 -0
- package/es/components/UVideo/Images/yuntaiOffline.png +0 -0
- package/es/components/UVideo/Images/yuyan.png +0 -0
- package/es/components/UVideo/Images/yuyanAlarm.png +0 -0
- package/es/components/UVideo/Images/yuyanOffline.png +0 -0
- package/es/components/UVideo/Images/zhian@2x.png +0 -0
- package/es/components/UVideo/Images/zhian_default@2x.png +0 -0
- package/es/components/UVideo/Images/ziyuanlunxun.png +0 -0
- package/es/components/UVideo/Images/zoom_close.png +0 -0
- package/es/components/UVideo/Images/zoom_close_gray.png +0 -0
- package/es/components/UVideo/Images/zoom_close_hover.png +0 -0
- package/es/components/UVideo/Images/zoom_open.png +0 -0
- package/es/components/UVideo/Images/zoom_open_gray.png +0 -0
- package/es/components/UVideo/Images/zoom_open_hover.png +0 -0
- package/es/components/UVideo/Images/zulunxunTV.png +0 -0
- package/es/components/UVideo/Images/zulunxunTVPlay.png +0 -0
- package/es/components/UVideo/Images/zulunxunXP.png +0 -0
- package/es/components/UVideo/Images/zulunxunXPPlay.png +0 -0
- package/es/components/UVideo/Images/zulunxunziyuan.png +0 -0
- package/es/components/UVideo/Images/zuxianshiTV.png +0 -0
- package/es/components/UVideo/Images/zuxianshiXP.png +0 -0
- package/es/components/UVideo/InitFunc/GlobalFunc.js +662 -0
- package/es/components/UVideo/InitFunc/imosSdkInit.js +17 -0
- package/es/components/UVideo/TextInputNotice/TextInputNotice.js +419 -0
- package/es/components/UVideo/TextInputNotice/TextInputNotice.less +95 -0
- package/es/components/UVideo/Tree/TreeIcon.js +36 -0
- package/es/components/UVideo/Tree/UTreeIcon.js +512 -0
- package/es/components/UVideo/Tree/treeIcon.less +1057 -0
- package/es/components/UVideo/Tree/treeResTypes.js +258 -0
- package/es/components/UVideo/UVideo.js +1530 -0
- package/es/components/UVideo/VideoComponent/OperatorItems.js +1716 -0
- package/es/components/UVideo/VideoComponent/OperatorItems.less +1250 -0
- package/es/components/UVideo/VideoComponent/PlayPanel.js +1471 -0
- package/es/components/UVideo/VideoComponent/PlayPanel.less +292 -0
- package/es/components/UVideo/VideoComponent/PlayWindow.js +1342 -0
- package/es/components/UVideo/VideoComponent/PlayWindow.less +47 -0
- package/es/components/UVideo/VideoComponent/PtzControl/CardTimePicker.js +754 -0
- package/es/components/UVideo/VideoComponent/PtzControl/CardTimePicker.less +197 -0
- package/es/components/UVideo/VideoComponent/PtzControl/ConfigCruisePathPlan.js +904 -0
- package/es/components/UVideo/VideoComponent/PtzControl/ConfigCruisePathPlan.less +135 -0
- package/es/components/UVideo/VideoComponent/PtzControl/HttpRequest.js +665 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzAddCruisePathCtr.js +1473 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzAddCruisePathCtr.less +336 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzCmd.js +66 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzControlPanel.js +2537 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzControlPanel.less +1447 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzPresetAddCtr.js +171 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzPresetAddCtr.less +37 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzSetGuardCtr.js +475 -0
- package/es/components/UVideo/VideoComponent/PtzControl/PtzSetGuardCtr.less +184 -0
- package/es/components/UVideo/VideoComponent/PtzControl/TimePickerTable.js +611 -0
- package/es/components/UVideo/VideoComponent/PtzControl/TimePickerTable.less +193 -0
- package/es/components/UVideo/VideoComponent/PtzControl/applyBusiness.js +75 -0
- package/es/components/UVideo/VideoComponent/RateSelect/index.js +151 -0
- package/es/components/UVideo/VideoComponent/RateSelect/index.less +106 -0
- package/es/components/UVideo/VideoComponent/SplitScreen.js +72 -0
- package/es/components/UVideo/VideoComponent/SplitScreen.less +116 -0
- package/es/components/UVideo/VideoLive/VideoLive.js +723 -0
- package/es/components/UVideo/VideoLive/VideoLive.less +378 -0
- package/es/components/UVideo/VideoReply/VideoReply.js +937 -0
- package/es/components/UVideo/VideoReply/VideoReply.less +352 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/HttpRequest.js +580 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/PtzCmd.js +66 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/PtzControlPanel.js +1192 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/PtzControlPanel.less +1323 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/PtzPresetAddCtr.js +187 -0
- package/es/components/UVideo/VmsVideoComponent/Component/PtzControl/PtzPresetAddCtr.less +53 -0
- package/es/components/UVideo/VmsVideoComponent/Component/VmsOperatorItems.js +2500 -0
- package/es/components/UVideo/VmsVideoComponent/Component/VmsOperatorItems.less +1474 -0
- package/es/components/UVideo/VmsVideoComponent/Component/VmsVideoOperation.js +360 -0
- package/es/components/UVideo/VmsVideoComponent/Component/VmsVideoOperation.less +626 -0
- package/es/components/UVideo/VmsVideoComponent/Component/VmsVideoPanel.js +1774 -0
- package/es/components/UVideo/VmsVideoComponent/Component/download/index.js +628 -0
- package/es/components/UVideo/VmsVideoComponent/Component/download/index.less +18 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/enum.js +586 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/index.js +70 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/plugin.js +237 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/protocolcheck.js +223 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/sdkviewer.js +283 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/utils.js +206 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/wndControl.js +207 -0
- package/es/components/UVideo/VmsVideoComponent/NETPluginSDK/wsRequest.js +101 -0
- package/es/components/UVideo/VmsVideoLive/VmsVideoLive.js +557 -0
- package/es/components/UVideo/VmsVideoLive/VmsVideoLive.less +145 -0
- package/es/components/UVideo/VmsVideoReply/VmsVideoReplay.js +1012 -0
- package/es/components/UVideo/VmsVideoReply/VmsVideoReplay.less +273 -0
- package/es/components/UVideo/index.js +26 -0
- package/es/components/UVideo/index.less +265 -0
- package/es/components/UVideo/locale/en_US.d.ts +3 -0
- package/es/components/UVideo/locale/en_US.js +562 -0
- package/es/components/UVideo/locale/locale.d.ts +564 -0
- package/es/components/UVideo/locale/zh_CN.d.ts +3 -0
- package/es/components/UVideo/locale/zh_CN.js +562 -0
- package/es/components/UVideo/toolsFunc/ToolsFunc.js +125 -0
- package/es/components/_util/ActionButton.d.ts +15 -0
- package/es/components/_util/ActionButton.js +100 -0
- package/es/components/_util/colors.d.ts +5 -0
- package/es/components/_util/colors.js +4 -0
- package/es/components/_util/easings.d.ts +1 -0
- package/es/components/_util/easings.js +10 -0
- package/es/components/_util/getDataOrAriaProps.d.ts +1 -0
- package/es/components/_util/getDataOrAriaProps.js +8 -0
- package/es/components/_util/getRenderPropValue.d.ts +3 -0
- package/es/components/_util/getRenderPropValue.js +9 -0
- package/es/components/_util/getScroll.d.ts +2 -0
- package/es/components/_util/getScroll.js +29 -0
- package/es/components/_util/hooks/useFlexGapSupport.d.ts +2 -0
- package/es/components/_util/hooks/useFlexGapSupport.js +18 -0
- package/es/components/_util/hooks/useForceUpdate.d.ts +2 -0
- package/es/components/_util/hooks/useForceUpdate.js +15 -0
- package/es/components/_util/hooks/usePatchElement.d.ts +5 -0
- package/es/components/_util/hooks/usePatchElement.js +33 -0
- package/es/components/_util/hooks/useSyncState.d.ts +3 -0
- package/es/components/_util/hooks/useSyncState.js +13 -0
- package/es/components/_util/isNumeric.d.ts +2 -0
- package/es/components/_util/isNumeric.js +4 -0
- package/es/components/_util/motion.d.ts +8 -0
- package/es/components/_util/motion.js +51 -0
- package/es/components/_util/placements.d.ts +17 -0
- package/es/components/_util/placements.js +86 -0
- package/es/components/_util/raf.d.ts +9 -0
- package/es/components/_util/raf.js +26 -0
- package/es/components/_util/reactNode.d.ts +8 -0
- package/es/components/_util/reactNode.js +15 -0
- package/es/components/_util/responsiveObserve.d.ts +21 -0
- package/es/components/_util/responsiveObserve.js +64 -0
- package/es/components/_util/scrollTo.d.ts +10 -0
- package/es/components/_util/scrollTo.js +34 -0
- package/es/components/_util/statusUtils.d.ts +6 -0
- package/es/components/_util/statusUtils.js +13 -0
- package/es/components/_util/styleChecker.d.ts +4 -0
- package/es/components/_util/styleChecker.js +28 -0
- package/es/components/_util/throttleByAnimationFrame.d.ts +8 -0
- package/es/components/_util/throttleByAnimationFrame.js +57 -0
- package/es/components/_util/transButton.d.ts +9 -0
- package/es/components/_util/transButton.js +52 -0
- package/es/components/_util/type.d.ts +9 -0
- package/es/components/_util/type.js +13 -0
- package/es/components/_util/warning.d.ts +6 -0
- package/es/components/_util/warning.js +14 -0
- package/es/components/_util/wave.d.ts +32 -0
- package/es/components/_util/wave.js +207 -0
- package/es/components/locale/default.d.ts +2 -0
- package/es/components/locale/default.js +2 -0
- package/es/components/locale/en_US.d.ts +3 -0
- package/es/components/locale/en_US.js +136 -0
- package/es/components/locale/zh_CN.d.ts +3 -0
- package/es/components/locale/zh_CN.js +136 -0
- package/es/components/locale-provider/LocaleReceiver.d.ts +11 -0
- package/es/components/locale-provider/LocaleReceiver.js +36 -0
- package/es/components/locale-provider/context.d.ts +7 -0
- package/es/components/locale-provider/context.js +3 -0
- package/es/components/locale-provider/default.d.ts +2 -0
- package/es/components/locale-provider/default.js +2 -0
- package/es/components/locale-provider/en_US.d.ts +2 -0
- package/es/components/locale-provider/en_US.js +2 -0
- package/es/components/locale-provider/index.d.ts +54 -0
- package/es/components/locale-provider/index.js +30 -0
- package/es/components/locale-provider/style/index.d.ts +1 -0
- package/es/components/locale-provider/style/index.js +1 -0
- package/es/components/locale-provider/style/index.less +2 -0
- package/es/components/locale-provider/zh_CN.d.ts +2 -0
- package/es/components/locale-provider/zh_CN.js +2 -0
- package/es/components/style/color/bezierEasing.less +110 -0
- package/es/components/style/color/colorPalette.less +85 -0
- package/es/components/style/color/colors.less +162 -0
- package/es/components/style/color/tinyColor.less +1184 -0
- package/es/components/style/core/base.less +10 -0
- package/es/components/style/core/global.less +490 -0
- package/es/components/style/core/iconfont.less +22 -0
- package/es/components/style/core/index.less +5 -0
- package/es/components/style/core/motion/fade.less +34 -0
- package/es/components/style/core/motion/move.less +129 -0
- package/es/components/style/core/motion/other.less +51 -0
- package/es/components/style/core/motion/slide.less +131 -0
- package/es/components/style/core/motion/zoom.less +179 -0
- package/es/components/style/core/motion.less +22 -0
- package/es/components/style/index.d.ts +1 -0
- package/es/components/style/index.js +1 -0
- package/es/components/style/index.less +2 -0
- package/es/components/style/mixins/box.less +7 -0
- package/es/components/style/mixins/clearfix.less +16 -0
- package/es/components/style/mixins/compact-item-vertical.less +41 -0
- package/es/components/style/mixins/compact-item.less +133 -0
- package/es/components/style/mixins/compatibility.less +13 -0
- package/es/components/style/mixins/customize.less +181 -0
- package/es/components/style/mixins/iconfont.less +28 -0
- package/es/components/style/mixins/index.less +16 -0
- package/es/components/style/mixins/modal-mask.less +30 -0
- package/es/components/style/mixins/motion.less +33 -0
- package/es/components/style/mixins/operation-unit.less +15 -0
- package/es/components/style/mixins/reset.less +11 -0
- package/es/components/style/mixins/rounded-arrow.less +44 -0
- package/es/components/style/mixins/size.less +10 -0
- package/es/components/style/mixins/typography.less +58 -0
- package/es/components/style/themes/index.less +1 -0
- package/es/components/style/themes/variable.less +1064 -0
- package/es/darkTheme.js +77 -0
- package/es/defaultTheme.js +77 -0
- package/es/globalFunc/HOCConnect.js +41 -0
- package/es/globalFunc/index.d.ts +44 -0
- package/es/globalFunc/index.js +159 -0
- package/es/globalFunc/render.d.ts +16 -0
- package/es/globalFunc/render.js +91 -0
- package/es/globalVarious/index.d.ts +15 -0
- package/es/globalVarious/index.js +24 -0
- package/es/http/index.js +223 -0
- package/es/images/add_file_dark.png +0 -0
- package/es/images/add_file_dark_hover.png +0 -0
- package/es/images/clearIcon.png +0 -0
- package/es/images/clearIcon_hover.png +0 -0
- package/es/images/datePicker.png +0 -0
- package/es/images/datePicker_dark.png +0 -0
- package/es/images/emptyData.png +0 -0
- package/es/images/file_delete_dark.png +0 -0
- package/es/images/file_delete_dark_hover.png +0 -0
- package/es/images/fujian.png +0 -0
- package/es/images/noData.png +0 -0
- package/es/images/scrollDown.png +0 -0
- package/es/images/scrollDown_dark.png +0 -0
- package/es/images/scrollDown_dark_hover.png +0 -0
- package/es/images/scrollDown_light.png +0 -0
- package/es/images/scrollDown_light_hover.png +0 -0
- package/es/images/scrollLeft.png +0 -0
- package/es/images/scrollLeft_dark.png +0 -0
- package/es/images/scrollLeft_dark_hover.png +0 -0
- package/es/images/scrollLeft_light.png +0 -0
- package/es/images/scrollLeft_light_hover.png +0 -0
- package/es/images/scrollRight.png +0 -0
- package/es/images/scrollRight_dark.png +0 -0
- package/es/images/scrollRight_dark_hover.png +0 -0
- package/es/images/scrollRight_light.png +0 -0
- package/es/images/scrollRight_light_hover.png +0 -0
- package/es/images/scrollUp.png +0 -0
- package/es/images/scrollUp_dark.png +0 -0
- package/es/images/scrollUp_dark_hover.png +0 -0
- package/es/images/scrollUp_light.png +0 -0
- package/es/images/scrollUp_light_hover.png +0 -0
- package/es/images/timePicker.png +0 -0
- package/es/images/timePicker_dark.png +0 -0
- package/es/images/transfer_dark.png +0 -0
- package/es/images/transfer_dark_disable.png +0 -0
- package/es/images/transfer_dark_hover.png +0 -0
- package/es/images/trasfer_clear_dark.png +0 -0
- package/es/images/trasfer_clear_dark_hover.png +0 -0
- package/es/index.d.ts +127 -0
- package/es/index.js +90 -0
- package/es/locale/default.d.ts +2 -0
- package/es/locale/default.js +2 -0
- package/es/locale/en_US.d.ts +61 -0
- package/es/locale/en_US.js +46 -0
- package/es/locale/locale.d.ts +47 -0
- package/es/locale/zh_CN.d.ts +61 -0
- package/es/locale/zh_CN.js +46 -0
- package/es/style/global.less +97 -0
- package/es/style/globalVariabl.less +1 -0
- package/es/style/theme/cssvar.less +109 -0
- package/es/style/theme/dark.less +86 -0
- package/es/style/theme/default.less +87 -0
- package/es/style/theme/index-pure.less +2 -0
- package/es/style/theme/index.less +2 -0
- package/es/style/theme/variable.less +89 -0
- package/es/variableTheme.js +76 -0
- package/package.json +84 -0
|
@@ -0,0 +1,2537 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
3
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
4
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
5
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
6
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
7
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
8
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
10
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
12
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
13
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
14
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
15
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
16
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
17
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
18
|
+
import React, { Component } from 'react';
|
|
19
|
+
import UModal from "../../../UModal";
|
|
20
|
+
import UButton from "../../../UButton";
|
|
21
|
+
import message from "../../../UMessageBox/message";
|
|
22
|
+
import UTable from "../../../UTable";
|
|
23
|
+
import Select from "../../../USelect/select";
|
|
24
|
+
import Slider from "../../../USlider/slider";
|
|
25
|
+
import UInputNumber from "../../../UInputNumber";
|
|
26
|
+
import Radio from "../../../URadioGroup/radio/radio";
|
|
27
|
+
import Tabs from "../../../UTabs/tabs";
|
|
28
|
+
import "./PtzControlPanel.less";
|
|
29
|
+
import moment from 'moment';
|
|
30
|
+
import * as Restful from "./HttpRequest";
|
|
31
|
+
import { PtzCmd } from "./PtzCmd";
|
|
32
|
+
import PtzPresetAddCtr from "./PtzPresetAddCtr";
|
|
33
|
+
import PtzSetGuardCtr from "./PtzSetGuardCtr";
|
|
34
|
+
import PtzAddCruisePathCtr from "./PtzAddCruisePathCtr";
|
|
35
|
+
import ConfigCruisePathPlan from "./ConfigCruisePathPlan";
|
|
36
|
+
import { CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME } from "../../HideDiv";
|
|
37
|
+
var TabPane = Tabs.TabPane;
|
|
38
|
+
var Option = Select.Option;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
*云台控制面板
|
|
42
|
+
*/
|
|
43
|
+
var PtzControlPanel = /*#__PURE__*/function (_Component) {
|
|
44
|
+
function PtzControlPanel(props) {
|
|
45
|
+
var _this;
|
|
46
|
+
_classCallCheck(this, PtzControlPanel);
|
|
47
|
+
_this = _callSuper(this, PtzControlPanel, [props]);
|
|
48
|
+
//获取节点的位置信息,left、top、width、height
|
|
49
|
+
_this._getDomPosi = function (dom, type) {
|
|
50
|
+
if (dom instanceof Element) {
|
|
51
|
+
var rect = dom.getBoundingClientRect();
|
|
52
|
+
if (type === undefined) {
|
|
53
|
+
return rect;
|
|
54
|
+
} else {
|
|
55
|
+
return rect[type];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
//tabs切换事件,查询预置位信息
|
|
61
|
+
_this._onclickChange = function (key) {
|
|
62
|
+
if (key === '1') {
|
|
63
|
+
_this._queryPresetList();
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
//#region 鼠标拖动
|
|
67
|
+
_this._onMouseDown = function (e) {
|
|
68
|
+
e.stopPropagation();
|
|
69
|
+
_this.isMoving = true;
|
|
70
|
+
};
|
|
71
|
+
_this._onMouseUp = function (e) {
|
|
72
|
+
_this.isMoving = false;
|
|
73
|
+
_this.lastX = null;
|
|
74
|
+
_this.lastY = null;
|
|
75
|
+
};
|
|
76
|
+
_this._onMouseMove = function (e) {
|
|
77
|
+
if (!_this.isMoving) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (_this.lastX && _this.lastY) {
|
|
81
|
+
var dx = e.clientX - _this.lastX;
|
|
82
|
+
var dy = e.clientY - _this.lastY;
|
|
83
|
+
//this.setState({ pnlPosX: this.state.pnlPosX + dx, pnlPosY: this.state.pnlPosY + dy });
|
|
84
|
+
_this.props.movePtzPnl(dx, dy);
|
|
85
|
+
}
|
|
86
|
+
_this.lastX = e.clientX;
|
|
87
|
+
_this.lastY = e.clientY;
|
|
88
|
+
_this.ptzDirPnlPosi = _this._getDomPosi(_this.ptzDirPnlContainer);
|
|
89
|
+
};
|
|
90
|
+
//#endregion 鼠标拖动
|
|
91
|
+
/**
|
|
92
|
+
*窗体操作关闭
|
|
93
|
+
*/
|
|
94
|
+
_this.onCloseClick = function () {
|
|
95
|
+
_this.props.onPtzPnlCloseClick(_this.state.pnlPosX, _this.state.pnlPosY);
|
|
96
|
+
};
|
|
97
|
+
//#region 云台锁定、解锁、释放,
|
|
98
|
+
/**
|
|
99
|
+
*锁定云台
|
|
100
|
+
*/
|
|
101
|
+
_this._onLockPtz = function () {
|
|
102
|
+
message.destroy();
|
|
103
|
+
var textLocale = _this.props.textLocale;
|
|
104
|
+
if (_this.curVideoCam !== null) {
|
|
105
|
+
Restful.LockPtz(_this.curVideoCam.CameraCode, function (ret) {
|
|
106
|
+
if (ret != null) {
|
|
107
|
+
if (ret.data.ErrCode === 0) {
|
|
108
|
+
console.log('锁定云台成功');
|
|
109
|
+
_this.setState({
|
|
110
|
+
isLock: true
|
|
111
|
+
});
|
|
112
|
+
} else {
|
|
113
|
+
message.error(textLocale.failedLockHeadErrorMes + ret.data.ErrMsg, 1);
|
|
114
|
+
}
|
|
115
|
+
} else {
|
|
116
|
+
message.error(textLocale.failedLockHeadResultEmpty, 1);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
} else {
|
|
120
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* 解锁云台
|
|
125
|
+
*/
|
|
126
|
+
_this._onUnLockPtz = function () {
|
|
127
|
+
message.destroy();
|
|
128
|
+
var textLocale = _this.props.textLocale;
|
|
129
|
+
if (_this.curVideoCam !== null) {
|
|
130
|
+
Restful.UnLockPtz(_this.curVideoCam.CameraCode, function (ret) {
|
|
131
|
+
if (ret != null) {
|
|
132
|
+
if (ret.data.ErrCode === 0) {
|
|
133
|
+
console.log('解锁云台成功', 1);
|
|
134
|
+
_this.setState({
|
|
135
|
+
isLock: false
|
|
136
|
+
});
|
|
137
|
+
} else {
|
|
138
|
+
message.error(textLocale.failedUnLockHeadErrorMes + ret.data.ErrMsg, 1);
|
|
139
|
+
}
|
|
140
|
+
} else {
|
|
141
|
+
message.error(textLocale.failedUnLockHeadResultEmpty, 1);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
} else {
|
|
145
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* 释放云台
|
|
150
|
+
*/
|
|
151
|
+
_this._onReleasePtz = function () {
|
|
152
|
+
message.destroy();
|
|
153
|
+
var textLocale = _this.props.textLocale;
|
|
154
|
+
if (_this.curVideoCam !== null) {
|
|
155
|
+
Restful.ReleasePtz(_this.curVideoCam.CameraCode, function (ret) {
|
|
156
|
+
if (ret != null) {
|
|
157
|
+
if (ret.data.ErrCode === 0) {
|
|
158
|
+
console.log('释放云台成功', 1);
|
|
159
|
+
_this.setState({
|
|
160
|
+
isLock: false
|
|
161
|
+
});
|
|
162
|
+
} else {
|
|
163
|
+
message.error(textLocale.failedReleaseHeadErrorMes + ret.data.ErrMsg, 1);
|
|
164
|
+
}
|
|
165
|
+
} else {
|
|
166
|
+
message.error(textLocale.failedReleaseHeadResultEmpty, 1);
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
} else {
|
|
170
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* 启动云台操作-聚焦、倍速、光圈、方向盘、光照、雨刷、红外、加热、除雪。。。。。
|
|
175
|
+
*@param {*} operateType 操作类型
|
|
176
|
+
*@param {*} ptzCmdID 操作命令ID
|
|
177
|
+
*@param {*} operateDes 操作描述
|
|
178
|
+
*/
|
|
179
|
+
_this.OnOperationPtzDown = function (operateType, ptzCmdID, operateDes) {
|
|
180
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode !== null) {
|
|
181
|
+
var condition = _this.GetOperateCondition(operateType, ptzCmdID);
|
|
182
|
+
_this._operatePtz(operateType, condition, operateDes);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* 停止云台操作-聚焦、倍速、光圈、方向盘、光照、雨刷、红外、加热、除雪。。。。。
|
|
187
|
+
*@param {*} operateType 操作类型
|
|
188
|
+
*@param {*} ptzCmdID 操作命令ID
|
|
189
|
+
*@param {*} operateDes 操作描述
|
|
190
|
+
*/
|
|
191
|
+
_this._onOperationPtzUp = function (operateType, ptzCmdID, operateDes) {
|
|
192
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode !== null) {
|
|
193
|
+
var condition = _this.GetOperateCondition(operateType, ptzCmdID);
|
|
194
|
+
_this._operatePtz(operateType, condition, operateDes);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
*设置扩展面板功能使能:光照、雨刷、红外、加热、除雪。。。。。
|
|
199
|
+
*/
|
|
200
|
+
_this.SetMorePnlEnable = function (operateType) {
|
|
201
|
+
switch (operateType) {
|
|
202
|
+
case 'light':
|
|
203
|
+
//光照
|
|
204
|
+
_this.setState({
|
|
205
|
+
isLightOn: !_this.state.isLightOn
|
|
206
|
+
});
|
|
207
|
+
break;
|
|
208
|
+
case 'wiper':
|
|
209
|
+
//雨刷
|
|
210
|
+
_this.setState({
|
|
211
|
+
isWipertOn: !_this.state.isWipertOn
|
|
212
|
+
});
|
|
213
|
+
break;
|
|
214
|
+
case 'infrare':
|
|
215
|
+
//红外
|
|
216
|
+
_this.setState({
|
|
217
|
+
isInfrareOn: !_this.state.isInfrareOn
|
|
218
|
+
});
|
|
219
|
+
break;
|
|
220
|
+
case 'heat':
|
|
221
|
+
//加热
|
|
222
|
+
_this.setState({
|
|
223
|
+
isHeatOn: !_this.state.isHeatOn
|
|
224
|
+
});
|
|
225
|
+
break;
|
|
226
|
+
default:
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
//获取操作命令参数-聚焦、倍速、光圈、方向盘、光照、雨刷、红外、加热、除雪。。。。。
|
|
231
|
+
_this.GetOperateCondition = function (operateType, ptzCmdID) {
|
|
232
|
+
var condition = {};
|
|
233
|
+
//部分case可以合并。因为接口说明文档里面没有明确后面三个字段究竟是啥数据,所以分开写,赋值按照老客户端里面的逻辑进行赋值
|
|
234
|
+
switch (operateType) {
|
|
235
|
+
case 'forcus':
|
|
236
|
+
//聚焦参数
|
|
237
|
+
condition = {
|
|
238
|
+
PTZCmdID: ptzCmdID,
|
|
239
|
+
PTZCmdPara1: 6,
|
|
240
|
+
//老代码里面该字段是写死的...
|
|
241
|
+
PTZCmdPara2: 6,
|
|
242
|
+
//老代码里面该字段是写死的...
|
|
243
|
+
PTZCmdPara3: 6 //预留字段
|
|
244
|
+
};
|
|
245
|
+
break;
|
|
246
|
+
case 'zoom':
|
|
247
|
+
//变倍
|
|
248
|
+
condition = {
|
|
249
|
+
PTZCmdID: ptzCmdID,
|
|
250
|
+
PTZCmdPara1: 0,
|
|
251
|
+
//老代码里面该字段是写死的...
|
|
252
|
+
PTZCmdPara2: 0,
|
|
253
|
+
//老代码里面该字段是写死的...
|
|
254
|
+
PTZCmdPara3: 0 //预留字段
|
|
255
|
+
};
|
|
256
|
+
break;
|
|
257
|
+
case 'iris':
|
|
258
|
+
//光圈
|
|
259
|
+
condition = {
|
|
260
|
+
PTZCmdID: ptzCmdID,
|
|
261
|
+
PTZCmdPara1: 0,
|
|
262
|
+
//老代码里面该字段是写死的...
|
|
263
|
+
PTZCmdPara2: 0,
|
|
264
|
+
//老代码里面该字段是写死的...
|
|
265
|
+
PTZCmdPara3: 0 //预留字段
|
|
266
|
+
};
|
|
267
|
+
break;
|
|
268
|
+
case 'direction':
|
|
269
|
+
//方向
|
|
270
|
+
condition = {
|
|
271
|
+
PTZCmdID: ptzCmdID,
|
|
272
|
+
PTZCmdPara1: _this.ptzSpeed,
|
|
273
|
+
//---云台转速...
|
|
274
|
+
PTZCmdPara2: _this.ptzSpeed,
|
|
275
|
+
//---云台转速...
|
|
276
|
+
PTZCmdPara3: 0 //预留字段
|
|
277
|
+
};
|
|
278
|
+
break;
|
|
279
|
+
case 'light':
|
|
280
|
+
//光照
|
|
281
|
+
condition = {
|
|
282
|
+
PTZCmdID: ptzCmdID,
|
|
283
|
+
PTZCmdPara1: 0,
|
|
284
|
+
//老代码里面该字段是写死的...
|
|
285
|
+
PTZCmdPara2: 0,
|
|
286
|
+
//老代码里面该字段是写死的...
|
|
287
|
+
PTZCmdPara3: 0 //预留字段
|
|
288
|
+
};
|
|
289
|
+
break;
|
|
290
|
+
case 'wiper':
|
|
291
|
+
//雨刷
|
|
292
|
+
condition = {
|
|
293
|
+
PTZCmdID: ptzCmdID,
|
|
294
|
+
PTZCmdPara1: 0,
|
|
295
|
+
//老代码里面该字段是写死的...
|
|
296
|
+
PTZCmdPara2: 0,
|
|
297
|
+
//老代码里面该字段是写死的...
|
|
298
|
+
PTZCmdPara3: 0 //预留字段
|
|
299
|
+
};
|
|
300
|
+
break;
|
|
301
|
+
case 'infrare':
|
|
302
|
+
//红外
|
|
303
|
+
condition = {
|
|
304
|
+
PTZCmdID: ptzCmdID,
|
|
305
|
+
PTZCmdPara1: 0,
|
|
306
|
+
//老代码里面该字段是写死的...
|
|
307
|
+
PTZCmdPara2: 0,
|
|
308
|
+
//老代码里面该字段是写死的...
|
|
309
|
+
PTZCmdPara3: 0 //预留字段
|
|
310
|
+
};
|
|
311
|
+
break;
|
|
312
|
+
case 'heat':
|
|
313
|
+
//加热
|
|
314
|
+
condition = {
|
|
315
|
+
PTZCmdID: ptzCmdID,
|
|
316
|
+
PTZCmdPara1: 0,
|
|
317
|
+
//老代码里面该字段是写死的...
|
|
318
|
+
PTZCmdPara2: 0,
|
|
319
|
+
//老代码里面该字段是写死的...
|
|
320
|
+
PTZCmdPara3: 0 //预留字段
|
|
321
|
+
};
|
|
322
|
+
break;
|
|
323
|
+
case 'snow':
|
|
324
|
+
//除雪
|
|
325
|
+
condition = {
|
|
326
|
+
PTZCmdID: ptzCmdID,
|
|
327
|
+
PTZCmdPara1: 0,
|
|
328
|
+
//老代码里面该字段是写死的...
|
|
329
|
+
PTZCmdPara2: 0,
|
|
330
|
+
//老代码里面该字段是写死的...
|
|
331
|
+
PTZCmdPara3: 0 //预留字段
|
|
332
|
+
};
|
|
333
|
+
break;
|
|
334
|
+
default:
|
|
335
|
+
condition = {};
|
|
336
|
+
break;
|
|
337
|
+
}
|
|
338
|
+
return condition;
|
|
339
|
+
};
|
|
340
|
+
//云台操作
|
|
341
|
+
_this._operatePtz = function (operateType, condition, operateDes) {
|
|
342
|
+
message.destroy();
|
|
343
|
+
var textLocale = _this.props.textLocale;
|
|
344
|
+
Restful.StartPtz(_this.curVideoCam.CameraCode, function (startRet) {
|
|
345
|
+
if (startRet != null && startRet.data != null) {
|
|
346
|
+
if (startRet.data.ErrCode === 0) {
|
|
347
|
+
Restful.OperationPtz(_this.curVideoCam.CameraCode, JSON.stringify(condition), function (optRet) {
|
|
348
|
+
if (optRet != null && optRet.data != null) {
|
|
349
|
+
if (optRet.data.ErrCode === 0) {
|
|
350
|
+
console.log(operateDes + '操作成功');
|
|
351
|
+
if (operateType === 'light' || operateType === 'wiper' || operateType === 'infrare' || operateType === 'heat') {
|
|
352
|
+
_this.SetMorePnlEnable(operateType);
|
|
353
|
+
}
|
|
354
|
+
} else {
|
|
355
|
+
message.error(operateDes + textLocale.operationFailure + optRet.data.ErrMsg, 1);
|
|
356
|
+
return false;
|
|
357
|
+
}
|
|
358
|
+
} else {
|
|
359
|
+
message.error(operateDes + textLocale.operationFailureResultEmpty, 1);
|
|
360
|
+
return false;
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
} else {
|
|
364
|
+
message.error(textLocale.failedControlHead + startRet.data.ErrMsg, 1);
|
|
365
|
+
return false;
|
|
366
|
+
}
|
|
367
|
+
} else {
|
|
368
|
+
message.error(textLocale.failedControlHeadResultEmpty, 1);
|
|
369
|
+
return false;
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
//查询云台状态
|
|
374
|
+
_this._queryPtzStatus = function () {
|
|
375
|
+
message.destroy();
|
|
376
|
+
var textLocale = _this.props.textLocale;
|
|
377
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode !== null) {
|
|
378
|
+
Restful.QueryPtzStatue(_this.curVideoCam.CameraCode, function (queryRet) {
|
|
379
|
+
if (queryRet != null && queryRet.data != null) {
|
|
380
|
+
if (queryRet.data.ErrCode === 0) {
|
|
381
|
+
console.log('查询云台状态成功');
|
|
382
|
+
//根据查询结果的赋值锁定图标
|
|
383
|
+
_this.setState({
|
|
384
|
+
isLock: queryRet.data.Result.Status === 2 ? true : false
|
|
385
|
+
});
|
|
386
|
+
} else {
|
|
387
|
+
message.error(textLocale.failedQueryHead + queryRet.data.ErrMsg, 1);
|
|
388
|
+
}
|
|
389
|
+
} else {
|
|
390
|
+
message.error(textLocale.failedQueryHeadResultEmpty, 1);
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
} else {
|
|
394
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region ptzPnl中方向盘事件
|
|
399
|
+
/**
|
|
400
|
+
* 方向盘中鼠标移动
|
|
401
|
+
*/
|
|
402
|
+
_this._onptzDirPnlMove = function (e) {
|
|
403
|
+
var CenterPosi = {
|
|
404
|
+
X: _this.ptzDirPnlPosi.width / 2 + _this.ptzDirPnlPosi.left,
|
|
405
|
+
Y: _this.ptzDirPnlPosi.height / 2 + _this.ptzDirPnlPosi.top
|
|
406
|
+
};
|
|
407
|
+
var distance = _this._getDistance(e.clientX, e.clientY, CenterPosi.X, CenterPosi.Y);
|
|
408
|
+
//判断mousePosi在方向盘的哪个位置,然后进行判断显示
|
|
409
|
+
var angle = _this._getAngle(e.clientX, e.clientY, CenterPosi.X, CenterPosi.Y, distance);
|
|
410
|
+
if (distance > 50) {
|
|
411
|
+
//外圆半径-在方向盘外,需要将标志位都置为false
|
|
412
|
+
_this.setState({
|
|
413
|
+
dirIndex: 10
|
|
414
|
+
});
|
|
415
|
+
} else if (distance < 23) {
|
|
416
|
+
//内圆半径-在方向盘中间区域
|
|
417
|
+
_this.setState({
|
|
418
|
+
dirIndex: 9
|
|
419
|
+
});
|
|
420
|
+
} else {
|
|
421
|
+
//在方向盘方向区域,根据计算的倾斜角度判断属于哪个区域
|
|
422
|
+
if (e.clientX > CenterPosi.X) {
|
|
423
|
+
//右半边:-90度~90度
|
|
424
|
+
if (angle < -67.5) {
|
|
425
|
+
//T
|
|
426
|
+
_this.setState({
|
|
427
|
+
dirIndex: 1
|
|
428
|
+
});
|
|
429
|
+
} else if (angle > -67.5 && angle < -22.5) {
|
|
430
|
+
//RT
|
|
431
|
+
_this.setState({
|
|
432
|
+
dirIndex: 2
|
|
433
|
+
});
|
|
434
|
+
} else if (angle > -22.5 && angle < 22.5) {
|
|
435
|
+
//R
|
|
436
|
+
_this.setState({
|
|
437
|
+
dirIndex: 3
|
|
438
|
+
});
|
|
439
|
+
} else if (angle > 22.5 && angle < 67.5) {
|
|
440
|
+
//RB
|
|
441
|
+
_this.setState({
|
|
442
|
+
dirIndex: 4
|
|
443
|
+
});
|
|
444
|
+
} else if (angle > 67.5) {
|
|
445
|
+
//B
|
|
446
|
+
_this.setState({
|
|
447
|
+
dirIndex: 5
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
} else {
|
|
451
|
+
//左半边:-90度~90度
|
|
452
|
+
if (angle < -67.5) {
|
|
453
|
+
//T
|
|
454
|
+
_this.setState({
|
|
455
|
+
dirIndex: 1
|
|
456
|
+
});
|
|
457
|
+
} else if (angle > -67.5 && angle < -22.5) {
|
|
458
|
+
//LT
|
|
459
|
+
_this.setState({
|
|
460
|
+
dirIndex: 8
|
|
461
|
+
});
|
|
462
|
+
} else if (angle > -22.5 && angle < 22.5) {
|
|
463
|
+
//L
|
|
464
|
+
_this.setState({
|
|
465
|
+
dirIndex: 7
|
|
466
|
+
});
|
|
467
|
+
} else if (angle > 22.5 && angle < 67.5) {
|
|
468
|
+
//LB
|
|
469
|
+
_this.setState({
|
|
470
|
+
dirIndex: 6
|
|
471
|
+
});
|
|
472
|
+
} else if (angle > 67.5) {
|
|
473
|
+
//B
|
|
474
|
+
_this.setState({
|
|
475
|
+
dirIndex: 5
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
//计算两点之间的直线距离
|
|
482
|
+
_this._getDistance = function (x1, y1, x2, y2) {
|
|
483
|
+
var distance = 0;
|
|
484
|
+
var x = Math.abs(x1 - x2);
|
|
485
|
+
var y = Math.abs(y1 - y2);
|
|
486
|
+
distance = Math.sqrt(x * x + y * y);
|
|
487
|
+
return distance;
|
|
488
|
+
};
|
|
489
|
+
//计算角度
|
|
490
|
+
_this._getAngle = function (x1, y1, x2, y2, distance) {
|
|
491
|
+
var angle;
|
|
492
|
+
var y = y1 - y2;
|
|
493
|
+
angle = Math.asin(y / distance) * (180 / Math.PI);
|
|
494
|
+
return angle;
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* 方向面板鼠标放下
|
|
498
|
+
*/
|
|
499
|
+
_this._onPtzDirPnlDown = function (cmdID, poerateDes) {
|
|
500
|
+
//调用操作命令接口
|
|
501
|
+
_this.OnOperationPtzDown('direction', cmdID, poerateDes);
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* 方向面板鼠标松开
|
|
505
|
+
*/
|
|
506
|
+
_this._onPtzDirPnlUp = function (cmdID, poerateDes) {
|
|
507
|
+
_this._onOperationPtzUp('direction', cmdID, poerateDes);
|
|
508
|
+
};
|
|
509
|
+
_this._onPtzDirMidPnlClick = function () {
|
|
510
|
+
_this._stopCruisePath();
|
|
511
|
+
};
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region 预置位操作
|
|
514
|
+
/**
|
|
515
|
+
* 增加预置位鼠标点击
|
|
516
|
+
*/
|
|
517
|
+
_this._onSetPresetClick = function (e) {
|
|
518
|
+
_this.setState({
|
|
519
|
+
isShowPresetAddForm: true
|
|
520
|
+
});
|
|
521
|
+
};
|
|
522
|
+
/**
|
|
523
|
+
* 增加预置位取消点击
|
|
524
|
+
*/
|
|
525
|
+
_this._onSetPresetCancel = function (e) {
|
|
526
|
+
_this.setState({
|
|
527
|
+
isShowPresetAddForm: false
|
|
528
|
+
});
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* 选择预置位
|
|
532
|
+
*/
|
|
533
|
+
_this._onPresetSelectedChange = function (value, option) {
|
|
534
|
+
var selectedPreset = {
|
|
535
|
+
PresetValue: Number(option.key),
|
|
536
|
+
PresetDes: value
|
|
537
|
+
};
|
|
538
|
+
_this.setState({
|
|
539
|
+
curSelectedPreset: selectedPreset
|
|
540
|
+
}, function () {
|
|
541
|
+
// 选择预置位后自动转到对应位置
|
|
542
|
+
_this._usePreset();
|
|
543
|
+
});
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* 预置位查询
|
|
547
|
+
*/
|
|
548
|
+
_this._queryPresetList = function (callback) {
|
|
549
|
+
var textLocale = _this.props.textLocale;
|
|
550
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
551
|
+
Restful.QueryPreset(_this.curVideoCam.CameraCode, 0, function (queryRet) {
|
|
552
|
+
if (queryRet != null && queryRet.data != null) {
|
|
553
|
+
if (queryRet.data.ErrCode === 0) {
|
|
554
|
+
//查询成功,赋值查询结果,默认显示第一条预置位信息
|
|
555
|
+
var queryPresetInfo = [];
|
|
556
|
+
if (queryRet.data.Result.InfoList.length > 0) {
|
|
557
|
+
queryRet.data.Result.InfoList.map(function (item) {
|
|
558
|
+
queryPresetInfo.push({
|
|
559
|
+
PresetValue: item.PresetValue,
|
|
560
|
+
PresetDes: item.PresetDesc
|
|
561
|
+
});
|
|
562
|
+
});
|
|
563
|
+
//总数超过200条了,需要再查一轮
|
|
564
|
+
if (queryRet.data.Result.RspPageInfo.TotalRowNum > 200) {
|
|
565
|
+
Restful.QueryPreset(_this.curVideoCam.CameraCode, 200, function (queryRet) {
|
|
566
|
+
if (queryRet != null && queryRet.data != null) {
|
|
567
|
+
if (queryRet.data.ErrCode === 0) {
|
|
568
|
+
if (queryRet.data.Result.InfoList.length > 0) {
|
|
569
|
+
queryRet.data.Result.InfoList.map(function (item) {
|
|
570
|
+
queryPresetInfo.push({
|
|
571
|
+
PresetValue: item.PresetValue,
|
|
572
|
+
PresetDes: item.PresetDesc
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
} else {
|
|
581
|
+
console.log('查询预置位成功,预置位数量为0');
|
|
582
|
+
}
|
|
583
|
+
_this.setState({
|
|
584
|
+
presetListOptions: queryPresetInfo,
|
|
585
|
+
curSelectedPreset: queryPresetInfo.length > 0 ? queryPresetInfo[0] : null
|
|
586
|
+
});
|
|
587
|
+
if (callback && typeof callback === 'function') {
|
|
588
|
+
callback(true);
|
|
589
|
+
}
|
|
590
|
+
} else {
|
|
591
|
+
message.error('查询预置位失败:' + queryRet.data.ErrMsg, 1);
|
|
592
|
+
}
|
|
593
|
+
} else {
|
|
594
|
+
message.error('预置位失败,返回结果为空', 1);
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
} else {
|
|
598
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
599
|
+
}
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* 添加预置位点击
|
|
603
|
+
*/
|
|
604
|
+
_this._addPresetClick = function () {
|
|
605
|
+
var addPresetCode = _this.presetAddCtrDom.state.curSelPresetCode;
|
|
606
|
+
var textLocale = _this.props.textLocale;
|
|
607
|
+
message.destroy();
|
|
608
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
609
|
+
if (!_this.presetAddCtrDom.codeRef.checkTextLegal()) {
|
|
610
|
+
_this.presetAddCtrDom.refs.code.focus();
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
if (!_this.presetAddCtrDom.nameRef.checkTextLegal()) {
|
|
614
|
+
_this.presetAddCtrDom.refs.name.focus();
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
var isContains = false;
|
|
618
|
+
_this.state.presetListOptions.map(function (item) {
|
|
619
|
+
if (item.PresetValue === addPresetCode) {
|
|
620
|
+
isContains = true;
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
if (isContains) {
|
|
624
|
+
_this.setState({
|
|
625
|
+
isShowModifyPromptForm: true
|
|
626
|
+
});
|
|
627
|
+
} else {
|
|
628
|
+
_this._addPreset();
|
|
629
|
+
}
|
|
630
|
+
} else {
|
|
631
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* 预置位修改提示
|
|
636
|
+
*/
|
|
637
|
+
_this._presetAddPromptCancel = function () {
|
|
638
|
+
_this.setState({
|
|
639
|
+
isShowModifyPromptForm: false
|
|
640
|
+
});
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* 添加预置位确定
|
|
644
|
+
*/
|
|
645
|
+
_this._presetAddPromptOK = function () {
|
|
646
|
+
_this._addPreset();
|
|
647
|
+
};
|
|
648
|
+
//添加/设置预置位
|
|
649
|
+
_this._addPreset = function () {
|
|
650
|
+
message.destroy();
|
|
651
|
+
var addPresetCode = _this.presetAddCtrDom.state.curSelPresetCode;
|
|
652
|
+
var addPresetName = _this.presetAddCtrDom.nameRef.getInputText();
|
|
653
|
+
var condition = {
|
|
654
|
+
PresetValue: addPresetCode,
|
|
655
|
+
PresetDesc: addPresetName
|
|
656
|
+
};
|
|
657
|
+
console.log('===condition' + JSON.stringify(condition));
|
|
658
|
+
_this.setState({
|
|
659
|
+
isShowModifyPromptForm: false
|
|
660
|
+
}, function () {
|
|
661
|
+
Restful.AddPreset(_this.curVideoCam.CameraCode, JSON.stringify(condition), function (ret) {
|
|
662
|
+
if (ret != null && ret.data != null) {
|
|
663
|
+
if (ret.data.ErrCode === 0) {
|
|
664
|
+
console.log('添加预置位成功');
|
|
665
|
+
_this._queryPresetList(function (queryRet) {
|
|
666
|
+
_this.setState({
|
|
667
|
+
isShowPresetAddForm: false,
|
|
668
|
+
curSelectedPreset: {
|
|
669
|
+
PresetValue: addPresetCode,
|
|
670
|
+
PresetDes: addPresetName
|
|
671
|
+
}
|
|
672
|
+
});
|
|
673
|
+
});
|
|
674
|
+
//添加完成之后关闭添加窗体
|
|
675
|
+
} else {
|
|
676
|
+
message.error('添加预置位失败:' + ret.data.ErrMsg, 1);
|
|
677
|
+
}
|
|
678
|
+
} else {
|
|
679
|
+
message.error('添加预置位失败,返回结果为空', 1);
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
});
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* 使用预置位/跳转到预置位
|
|
686
|
+
*/
|
|
687
|
+
_this._usePreset = function (e) {
|
|
688
|
+
message.destroy();
|
|
689
|
+
var textLocale = _this.props.textLocale;
|
|
690
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
691
|
+
if (_this.state.curSelectedPreset == null) {
|
|
692
|
+
message.warn('请先选择预置位', 1);
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
Restful.UsePreset(_this.curVideoCam.CameraCode, _this.state.curSelectedPreset.PresetValue, function (useRet) {
|
|
696
|
+
if (useRet != null && useRet.data != null) {
|
|
697
|
+
if (useRet.data.ErrCode === 0) {
|
|
698
|
+
console.log('使用预置位成功');
|
|
699
|
+
} else {
|
|
700
|
+
message.error('使用预置位失败:' + useRet.data.ErrMsg, 1);
|
|
701
|
+
}
|
|
702
|
+
} else {
|
|
703
|
+
message.error('使用预置位失败,返回结果为空', 1);
|
|
704
|
+
}
|
|
705
|
+
});
|
|
706
|
+
} else {
|
|
707
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* 删除预置位点击
|
|
712
|
+
*/
|
|
713
|
+
_this._onDelPresetHandleClick = function () {
|
|
714
|
+
var presetListOptions = _this.state.presetListOptions;
|
|
715
|
+
var textLocale = _this.props.textLocale;
|
|
716
|
+
if (0 === presetListOptions.length) {
|
|
717
|
+
message.info(textLocale.noPresetDelete);
|
|
718
|
+
return;
|
|
719
|
+
}
|
|
720
|
+
_this.setState({
|
|
721
|
+
isShowDelPromptForm: true,
|
|
722
|
+
deletingPreset: []
|
|
723
|
+
});
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* 删除预置位取消
|
|
727
|
+
*/
|
|
728
|
+
_this._onDelPresetHandleCancle = function () {
|
|
729
|
+
_this.setState({
|
|
730
|
+
isShowDelPromptForm: false
|
|
731
|
+
});
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* 删除预置位确定
|
|
735
|
+
*/
|
|
736
|
+
_this._delPreset = function () {
|
|
737
|
+
var deletingPreset = _this.state.deletingPreset;
|
|
738
|
+
var textLocale = _this.props.textLocale;
|
|
739
|
+
message.destroy();
|
|
740
|
+
if (0 === deletingPreset.length) {
|
|
741
|
+
message.info(textLocale.pleaseSelectDeletePreset, 1);
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
745
|
+
var successNum = 0;
|
|
746
|
+
var deletedNum = 0;
|
|
747
|
+
var allNum = deletingPreset.length;
|
|
748
|
+
deletingPreset.forEach(function (item) {
|
|
749
|
+
var CameraCode = _this.curVideoCam.CameraCode;
|
|
750
|
+
Restful.DelPreset(CameraCode, item.PresetValue, function (result, errMsg) {
|
|
751
|
+
if (1 === allNum) {
|
|
752
|
+
if (result) {
|
|
753
|
+
message.success('删除预置位成功', 1);
|
|
754
|
+
_this.setState({
|
|
755
|
+
isShowDelPromptForm: false
|
|
756
|
+
});
|
|
757
|
+
_this._queryPresetList();
|
|
758
|
+
return;
|
|
759
|
+
}
|
|
760
|
+
message.error('删除预置位失败:' + errMsg, 1);
|
|
761
|
+
return;
|
|
762
|
+
}
|
|
763
|
+
++deletedNum;
|
|
764
|
+
if (result) {
|
|
765
|
+
successNum++;
|
|
766
|
+
}
|
|
767
|
+
if (deletedNum === allNum) {
|
|
768
|
+
if (successNum) {
|
|
769
|
+
message.success("\u5220\u9664\u9884\u7F6E\u4F4D\u5171".concat(allNum, "\u4E2A\uFF0C\u6210\u529F").concat(successNum, "\u4E2A\uFF0C\u5931\u8D25").concat(allNum - successNum, "\u4E2A"), 1);
|
|
770
|
+
_this.setState({
|
|
771
|
+
isShowDelPromptForm: false
|
|
772
|
+
});
|
|
773
|
+
_this._queryPresetList();
|
|
774
|
+
return;
|
|
775
|
+
}
|
|
776
|
+
message.error("\u5220\u9664\u9884\u7F6E\u4F4D\u5171".concat(allNum, "\u4E2A\uFF0C\u6210\u529F").concat(successNum, "\u4E2A\uFF0C\u5931\u8D25").concat(allNum - successNum, "\u4E2A"), 1);
|
|
777
|
+
}
|
|
778
|
+
});
|
|
779
|
+
});
|
|
780
|
+
} else {
|
|
781
|
+
message.error('相机为空信息', 1);
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* 同步前端预置位数据
|
|
786
|
+
*/
|
|
787
|
+
_this._synchrodataPreset = function (callback) {
|
|
788
|
+
message.destroy();
|
|
789
|
+
var textLocale = _this.props.textLocale;
|
|
790
|
+
_this.synchrodataRef.className = 'ptzctr-preset-synchrodata1Icon';
|
|
791
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
792
|
+
Restful.QueryPresetV2(_this.curVideoCam.CameraCode, function (queryRet) {
|
|
793
|
+
if (queryRet != null && queryRet.data != null) {
|
|
794
|
+
//调用完接口之后就停掉,但是正常情况下接口相应速度很快,基本看不到图片更换过程,视觉上设置这个动效意义并不大...
|
|
795
|
+
_this.synchrodataRef.className = 'ptzctr-preset-synchrodataIcon';
|
|
796
|
+
if (queryRet.data.ErrCode === 0) {
|
|
797
|
+
console.log('同步预置位数据成功');
|
|
798
|
+
//查询成功,赋值查询结果,默认显示第一条预置位信息
|
|
799
|
+
var queryPresetInfo = [];
|
|
800
|
+
if (queryRet.data.PresetList.length > 0) {
|
|
801
|
+
queryRet.data.PresetList.map(function (item) {
|
|
802
|
+
queryPresetInfo.push({
|
|
803
|
+
PresetValue: item.PresetValue,
|
|
804
|
+
PresetDes: item.PresetDesc
|
|
805
|
+
});
|
|
806
|
+
});
|
|
807
|
+
message.success('同步预置位数据成功', 1);
|
|
808
|
+
} else {
|
|
809
|
+
message.info('查询预置位成功,预置位数量为0', 1);
|
|
810
|
+
}
|
|
811
|
+
_this.setState({
|
|
812
|
+
presetListOptions: queryPresetInfo,
|
|
813
|
+
curSelectedPreset: queryPresetInfo.length > 0 ? queryPresetInfo[0] : null
|
|
814
|
+
});
|
|
815
|
+
if (callback && typeof callback === 'function') {
|
|
816
|
+
callback(true);
|
|
817
|
+
}
|
|
818
|
+
} else {
|
|
819
|
+
message.error('同步预置位数据失败:' + queryRet.data.ErrMsg, 1);
|
|
820
|
+
}
|
|
821
|
+
} else {
|
|
822
|
+
_this.synchrodataRef.className = 'ptzctr-preset-synchrodataIcon';
|
|
823
|
+
message.error('同步预置位数据失败,返回结果为空', 1);
|
|
824
|
+
}
|
|
825
|
+
});
|
|
826
|
+
} else {
|
|
827
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
828
|
+
}
|
|
829
|
+
};
|
|
830
|
+
/**
|
|
831
|
+
* 切换图标
|
|
832
|
+
*/
|
|
833
|
+
_this._changeIcon = function (index) {
|
|
834
|
+
var imgStyleList = ['ptzctr-preset-synchrodata1Icon', 'ptzctr-preset-synchrodata2Icon', 'ptzctr-preset-synchrodata3Icon', 'ptzctr-preset-synchrodata4Icon', 'ptzctr-preset-synchrodata5Icon', 'ptzctr-preset-synchrodata6Icon'];
|
|
835
|
+
_this.synchrodataRef.className = imgStyleList[index];
|
|
836
|
+
index++;
|
|
837
|
+
if (index >= imgStyleList.length) {
|
|
838
|
+
index = 0; //循环显示
|
|
839
|
+
}
|
|
840
|
+
if (_this.isStopChangeIcon === true) {
|
|
841
|
+
_this.synchrodataRef.className = 'ptzctr-preset-synchrodataIcon';
|
|
842
|
+
return;
|
|
843
|
+
}
|
|
844
|
+
setTimeout(function () {
|
|
845
|
+
_this._changeIcon(index);
|
|
846
|
+
}, 500);
|
|
847
|
+
};
|
|
848
|
+
//#endregion 预置位操作
|
|
849
|
+
//#region 看守位操作
|
|
850
|
+
/**
|
|
851
|
+
* 设置看守位点击
|
|
852
|
+
*/
|
|
853
|
+
_this._onGuardTimeHandleClick = function () {
|
|
854
|
+
message.destroy();
|
|
855
|
+
if (_this.state.curSelectedPreset === null) {
|
|
856
|
+
message.warn('请先选择预置位', 1);
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
_this.setState({
|
|
860
|
+
isShowAutoGuardTimeForm: true
|
|
861
|
+
});
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* 设置看守位取消
|
|
865
|
+
*/
|
|
866
|
+
_this._onGuardTimeHandleCancel = function () {
|
|
867
|
+
_this.setState({
|
|
868
|
+
isShowAutoGuardTimeForm: false
|
|
869
|
+
});
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* 自动看守时间变更
|
|
873
|
+
*/
|
|
874
|
+
_this._onGuardTimeHandleChange = function (e) {
|
|
875
|
+
if (_this._numChecked(e) && e !== null) {
|
|
876
|
+
_this.setState({
|
|
877
|
+
autoGuardTime: e
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* 变更时间校验
|
|
883
|
+
*/
|
|
884
|
+
_this._numChecked = function (num) {
|
|
885
|
+
var reg = /^[0-9]*$/;
|
|
886
|
+
if (reg.test(num)) {
|
|
887
|
+
return true;
|
|
888
|
+
}
|
|
889
|
+
return false;
|
|
890
|
+
};
|
|
891
|
+
/**
|
|
892
|
+
* 设置单个看守位
|
|
893
|
+
*/
|
|
894
|
+
_this._onGuardTimeHandleOK = function () {
|
|
895
|
+
message.destroy();
|
|
896
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
897
|
+
if (_this.state.curSelectedPreset == null) {
|
|
898
|
+
message.warn('请先选择预置位', 1);
|
|
899
|
+
return;
|
|
900
|
+
}
|
|
901
|
+
Restful.SetGuardPosition(_this.curVideoCam.CameraCode, _this.state.curSelectedPreset.PresetValue, _this.state.autoGuardTime, function (setRet) {
|
|
902
|
+
if (setRet != null && setRet.data != null) {
|
|
903
|
+
if (setRet.data.ErrCode === 0) {
|
|
904
|
+
_this.setState({
|
|
905
|
+
isShowAutoGuardTimeForm: false,
|
|
906
|
+
guardPlanStatus: 1
|
|
907
|
+
});
|
|
908
|
+
console.log('设置为看守位成功');
|
|
909
|
+
} else {
|
|
910
|
+
message.error('设置为看守位失败:' + setRet.data.ErrMsg, 1);
|
|
911
|
+
}
|
|
912
|
+
} else {
|
|
913
|
+
message.error('设置为看守位失败,返回结果为空', 1);
|
|
914
|
+
}
|
|
915
|
+
});
|
|
916
|
+
}
|
|
917
|
+
};
|
|
918
|
+
//删除看守位
|
|
919
|
+
_this._deleteGuardPositionPlan = function () {
|
|
920
|
+
message.destroy();
|
|
921
|
+
var guardPositionPlanList = _this.state.guardPositionPlanList;
|
|
922
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
923
|
+
Restful.DeleteGuardPositionPlan(_this.curVideoCam.CameraCode, function (ret) {
|
|
924
|
+
if (ret != null && ret.data != null) {
|
|
925
|
+
if (ret.data.ErrCode === 0) {
|
|
926
|
+
console.log('删除看守位成功');
|
|
927
|
+
} else {
|
|
928
|
+
message.error('删除看守位失败:' + ret.data.ErrMsg, 1);
|
|
929
|
+
}
|
|
930
|
+
} else {
|
|
931
|
+
message.error('删除看守位失败,返回结果为空', 1);
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
} else {
|
|
935
|
+
message.error('看守位计划信息为空', 1);
|
|
936
|
+
}
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* 是否启动看守位变更
|
|
940
|
+
*/
|
|
941
|
+
_this._onGuardEnableChange = function (e) {
|
|
942
|
+
var guardEnable = false;
|
|
943
|
+
var guardPlanStatus = 0;
|
|
944
|
+
if (e !== null) {
|
|
945
|
+
e.target.value === 0 ? guardEnable = false : guardEnable = true;
|
|
946
|
+
e.target.value === 0 ? guardPlanStatus = 0 : guardPlanStatus = 1;
|
|
947
|
+
}
|
|
948
|
+
_this.setState({
|
|
949
|
+
guardEnable: guardEnable,
|
|
950
|
+
guardPlanStatus: guardPlanStatus
|
|
951
|
+
});
|
|
952
|
+
var guardPositionPlanList = _this.state.guardPositionPlanList;
|
|
953
|
+
if (guardEnable === false) {
|
|
954
|
+
_this._deleteGuardPositionPlan();
|
|
955
|
+
_this._queryGuardPositionPlanList(function (ret) {
|
|
956
|
+
if (guardPositionPlanList !== null && guardPositionPlanList.length !== 0) {
|
|
957
|
+
if (guardPositionPlanList[0].PlanStatus === 1 && Number(guardPositionPlanList[0].GuardPositionPlanCode) !== 0) {
|
|
958
|
+
Restful.ProcessGuardPositionPlan(0, guardPositionPlanList[0].GuardPositionPlanCode, function (ret) {
|
|
959
|
+
console.log('停止看守位:' + JSON.stringify(ret.data));
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* 设置看守位点击
|
|
968
|
+
*/
|
|
969
|
+
_this._onSetGuarClick = function () {
|
|
970
|
+
_this._queryGuardPositionPlanList(function (ret) {
|
|
971
|
+
_this.setState({
|
|
972
|
+
isShowSetGuardForm: true
|
|
973
|
+
});
|
|
974
|
+
});
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* 看守位设置取消
|
|
978
|
+
*/
|
|
979
|
+
_this._onSetGuardHandleCancel = function () {
|
|
980
|
+
_this.setState({
|
|
981
|
+
isShowSetGuardForm: false
|
|
982
|
+
});
|
|
983
|
+
};
|
|
984
|
+
/**
|
|
985
|
+
* 看守位设置确定
|
|
986
|
+
*/
|
|
987
|
+
_this._onSetGuardHandleOK = function () {
|
|
988
|
+
message.destroy();
|
|
989
|
+
var isCreat = true;
|
|
990
|
+
var textLocale = _this.props.textLocale;
|
|
991
|
+
if (_this.state.guardPositionPlanList !== null) {
|
|
992
|
+
if (_this.state.guardPositionPlanList.length !== 0) {
|
|
993
|
+
if (Number(_this.state.guardPositionPlanList[0].GuardPositionPlanCode) !== 0) {
|
|
994
|
+
isCreat = false;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
_this.ptzSetGuardCtrDom.state.guardPositionPlanDetailInfo;
|
|
999
|
+
var guardPositionPlanList = _this.state.guardPositionPlanList;
|
|
1000
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
1001
|
+
if (_this.ptzSetGuardCtrDom.state.guardPositionPlanDetailInfo === null) {
|
|
1002
|
+
message.error('预置位信息不能为空', 1);
|
|
1003
|
+
return;
|
|
1004
|
+
}
|
|
1005
|
+
if (_this.state.guardPositionPlanList.length === 0) {
|
|
1006
|
+
message.error('看守位信息不能为空', 1);
|
|
1007
|
+
return;
|
|
1008
|
+
}
|
|
1009
|
+
var selPresetList = _this.ptzSetGuardCtrDom.state.guardPositionPlanDetailInfo;
|
|
1010
|
+
var isOk = _this._chenckPositionPlanData(selPresetList);
|
|
1011
|
+
if (!isOk) {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/** 看守计划基本信息 */
|
|
1016
|
+
var date = new Date();
|
|
1017
|
+
var guardPositionBaseInfo = {
|
|
1018
|
+
GuardPositionPlanName: '' /** 计划名称 */,
|
|
1019
|
+
CreatorName: '' /** 计划创建者名称 */,
|
|
1020
|
+
CreatTime: moment(date).format('YYYY-MM-DD HH:mm:ss') /** 计划创建日期 */,
|
|
1021
|
+
CamCode: _this.curVideoCam.CameraCode /** 摄像机编码 */,
|
|
1022
|
+
CamName: _this.curVideoCam.CameraName /** 摄像机名称 */,
|
|
1023
|
+
OrgCode: ' iccsid' /** 看守计划所属组织编码,可不填 */,
|
|
1024
|
+
PlanType: 0 /** 计划类型, 取值为#PLAN_TYPE_E */,
|
|
1025
|
+
PlanDesc: '' /** 计划描述, 可不填 */,
|
|
1026
|
+
Reserve: '' /** 保留字段 */
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
/** 看守计划时间信息 */
|
|
1030
|
+
//周时间计划
|
|
1031
|
+
var timeInfo = [];
|
|
1032
|
+
for (var index = 0; index < selPresetList.length; index++) {
|
|
1033
|
+
var element = selPresetList[index];
|
|
1034
|
+
var resName = element.ResName;
|
|
1035
|
+
var timeInfoTemp = {
|
|
1036
|
+
ResCode: element.ResCode + '',
|
|
1037
|
+
ResName: element.GuardTime + '',
|
|
1038
|
+
TimeSlice: {
|
|
1039
|
+
BeginTime: element.BeginTime,
|
|
1040
|
+
EndTime: element.EndTime
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
timeInfo.push(timeInfoTemp);
|
|
1044
|
+
}
|
|
1045
|
+
var planTime = [];
|
|
1046
|
+
for (var _index = 0; _index < 7; _index++) {
|
|
1047
|
+
var planTimeTemp = {
|
|
1048
|
+
WeekDay: _index,
|
|
1049
|
+
TimeSliceNum: timeInfo.length,
|
|
1050
|
+
TimeInfo: timeInfo
|
|
1051
|
+
};
|
|
1052
|
+
planTime.push(planTimeTemp);
|
|
1053
|
+
}
|
|
1054
|
+
var timeInfoEx = [];
|
|
1055
|
+
var timeExInfoTemp = {
|
|
1056
|
+
ResCode: '',
|
|
1057
|
+
ResName: '',
|
|
1058
|
+
TimeSlice: {
|
|
1059
|
+
BeginTime: '',
|
|
1060
|
+
EndTime: ''
|
|
1061
|
+
}
|
|
1062
|
+
};
|
|
1063
|
+
timeInfoEx.push(timeExInfoTemp);
|
|
1064
|
+
var planExtTime = [];
|
|
1065
|
+
var planExTimeTemp = {
|
|
1066
|
+
ExtDate: '',
|
|
1067
|
+
TimeSliceNum: 0,
|
|
1068
|
+
TimeInfo: timeInfoEx
|
|
1069
|
+
};
|
|
1070
|
+
planExtTime.push(planExTimeTemp);
|
|
1071
|
+
var guardPositionTimeInfo = {
|
|
1072
|
+
PlanTime: planTime,
|
|
1073
|
+
//时间计划数组
|
|
1074
|
+
PlanExtTimeNum: 0,
|
|
1075
|
+
PlanExtTime: planExtTime //例外时间计划数组
|
|
1076
|
+
};
|
|
1077
|
+
var guardPositionPlanInfo = {
|
|
1078
|
+
/** 看守计划基本信息 */
|
|
1079
|
+
GuardPositionBaseInfo: guardPositionBaseInfo,
|
|
1080
|
+
/** 看守计划时间信息 */
|
|
1081
|
+
GuardPositionTimeInfo: guardPositionTimeInfo
|
|
1082
|
+
};
|
|
1083
|
+
var condition = {
|
|
1084
|
+
GuardPositionPlanCode: guardPositionPlanList[0].GuardPositionPlanCode,
|
|
1085
|
+
GuardPositionPlanInfo: guardPositionPlanInfo
|
|
1086
|
+
};
|
|
1087
|
+
if (isCreat) {
|
|
1088
|
+
Restful.AddGuardPositionPlan(JSON.stringify(guardPositionPlanInfo), function (ret) {
|
|
1089
|
+
if (ret.data.ErrCode === 0) {
|
|
1090
|
+
console.log('添加看守位成功');
|
|
1091
|
+
Restful.ProcessGuardPositionPlan(1, ret.data.GuardPositionPlanCode, function (ret) {
|
|
1092
|
+
console.log(JSON.stringify(ret));
|
|
1093
|
+
});
|
|
1094
|
+
_this._queryGuardPositionPlanList(function (ret) {
|
|
1095
|
+
_this.setState({
|
|
1096
|
+
guardPlanStatus: ret && ret.length > 0 ? ret[0].PlanStatus === 1 ? 1 : 0 : 0
|
|
1097
|
+
});
|
|
1098
|
+
});
|
|
1099
|
+
//添加成功,关闭添加界面
|
|
1100
|
+
_this.setState({
|
|
1101
|
+
isShowSetGuardForm: false
|
|
1102
|
+
});
|
|
1103
|
+
} else {
|
|
1104
|
+
message.error('添加看守位失败:' + ret.data.ErrMsg, 1);
|
|
1105
|
+
}
|
|
1106
|
+
});
|
|
1107
|
+
} else {
|
|
1108
|
+
Restful.ModifyGuardPositionPlan(JSON.stringify(condition), function (ret) {
|
|
1109
|
+
if (ret.data.ErrCode === 0) {
|
|
1110
|
+
console.log('修改看守位成功');
|
|
1111
|
+
//添加成功,关闭添加界面
|
|
1112
|
+
Restful.ProcessGuardPositionPlan(1, guardPositionPlanList[0].GuardPositionPlanCode, function (ret) {
|
|
1113
|
+
console.log('看守位启动:' + JSON.stringify(ret.data));
|
|
1114
|
+
});
|
|
1115
|
+
_this._queryGuardPositionPlanList(function (ret) {
|
|
1116
|
+
_this.setState({
|
|
1117
|
+
guardPlanStatus: ret && ret.length > 0 ? ret[0].PlanStatus === 1 ? 1 : 0 : 0
|
|
1118
|
+
});
|
|
1119
|
+
});
|
|
1120
|
+
_this.setState({
|
|
1121
|
+
isShowSetGuardForm: false
|
|
1122
|
+
});
|
|
1123
|
+
} else {
|
|
1124
|
+
message.error('修改看守位失败:' + ret.data.ErrMsg, 1);
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
} else {
|
|
1129
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
1130
|
+
}
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* 看守位添加参数校验
|
|
1134
|
+
*/
|
|
1135
|
+
_this._chenckPositionPlanData = function (selPresetList) {
|
|
1136
|
+
message.destroy();
|
|
1137
|
+
var isOK = true;
|
|
1138
|
+
if (selPresetList !== null && selPresetList.length !== 0) {
|
|
1139
|
+
for (var index = 0; index < selPresetList.length; index++) {
|
|
1140
|
+
var timeInfo = selPresetList[index];
|
|
1141
|
+
var bTime = timeInfo.BeginTime;
|
|
1142
|
+
var eTime = timeInfo.EndTime;
|
|
1143
|
+
if (timeInfo.ResCode === '') {
|
|
1144
|
+
message.warn(timeInfo.ResName + '预置位不能为空', 1);
|
|
1145
|
+
isOK = false;
|
|
1146
|
+
break;
|
|
1147
|
+
}
|
|
1148
|
+
if (bTime > eTime) {
|
|
1149
|
+
message.warn(timeInfo.ResName + '开始时间不能大于结束时间', 1);
|
|
1150
|
+
isOK = false;
|
|
1151
|
+
break;
|
|
1152
|
+
}
|
|
1153
|
+
if (bTime === eTime) {
|
|
1154
|
+
message.warn(timeInfo.ResName + '开始时间不能等于结束时间', 1);
|
|
1155
|
+
isOK = false;
|
|
1156
|
+
break;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
//对剩余的每个时间段进行判断
|
|
1160
|
+
var timeInfo2 = selPresetList;
|
|
1161
|
+
for (var index2 = 0; index2 < timeInfo2.length; index2++) {
|
|
1162
|
+
if (index !== index2) {
|
|
1163
|
+
var item = timeInfo2[index2];
|
|
1164
|
+
var b2Time = item.BeginTime;
|
|
1165
|
+
var e2Time = item.EndTime;
|
|
1166
|
+
//开始时间
|
|
1167
|
+
if (bTime > b2Time && bTime < e2Time) {
|
|
1168
|
+
message.warn('每个时间段的时间不能存在交叉', 1);
|
|
1169
|
+
isOK = false;
|
|
1170
|
+
return isOK;
|
|
1171
|
+
}
|
|
1172
|
+
//结束时间
|
|
1173
|
+
if (eTime > b2Time && eTime < e2Time) {
|
|
1174
|
+
message.warn('每个时间段的时间不能不能存在交叉', 1);
|
|
1175
|
+
isOK = false;
|
|
1176
|
+
return isOK;
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
} else {
|
|
1182
|
+
message.warn('预置位选择不能为空', 1);
|
|
1183
|
+
}
|
|
1184
|
+
return isOK;
|
|
1185
|
+
};
|
|
1186
|
+
/**
|
|
1187
|
+
* 查询看守位计划列表
|
|
1188
|
+
*/
|
|
1189
|
+
_this._queryGuardPositionPlanList = function (callback) {
|
|
1190
|
+
message.destroy();
|
|
1191
|
+
var textLocale = _this.props.textLocale;
|
|
1192
|
+
//查询看守位计划列表
|
|
1193
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
1194
|
+
Restful.QueryGuardPositionPlanList(_this.curVideoCam.CameraCode, function (queryRet) {
|
|
1195
|
+
if (queryRet != null && queryRet.data != null) {
|
|
1196
|
+
if (queryRet.data.ErrCode === 0) {
|
|
1197
|
+
console.log('查询看守位计划列表成功');
|
|
1198
|
+
_this.setState({
|
|
1199
|
+
guardPositionPlanList: queryRet.data.GuardPositionPlanInfo
|
|
1200
|
+
});
|
|
1201
|
+
if (callback && typeof callback === 'function') {
|
|
1202
|
+
callback(queryRet.data.GuardPositionPlanInfo);
|
|
1203
|
+
}
|
|
1204
|
+
} else {
|
|
1205
|
+
message.error('查询看守位计划列表失败:' + queryRet.data.ErrMsg, 1);
|
|
1206
|
+
}
|
|
1207
|
+
} else {
|
|
1208
|
+
message.error('查询看守位计划列表失败,返回结果为空', 1);
|
|
1209
|
+
}
|
|
1210
|
+
});
|
|
1211
|
+
} else {
|
|
1212
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1215
|
+
//#endregion 看守位操作
|
|
1216
|
+
//#region 巡航线操作
|
|
1217
|
+
/**
|
|
1218
|
+
* 巡航线选择变更
|
|
1219
|
+
*/
|
|
1220
|
+
_this._onCruisePathSelectedChange = function (value, option) {
|
|
1221
|
+
_this.setState({
|
|
1222
|
+
curCruisePathInfo: {
|
|
1223
|
+
cruisePathCode: option.key,
|
|
1224
|
+
cruisePathName: value
|
|
1225
|
+
}
|
|
1226
|
+
});
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* 查询巡航线列表
|
|
1230
|
+
*/
|
|
1231
|
+
_this._queryCruisePathList = function (callback) {
|
|
1232
|
+
message.destroy();
|
|
1233
|
+
var textLocale = _this.props.textLocale;
|
|
1234
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
1235
|
+
Restful.QueryCruisePathList(_this.curVideoCam.CameraCode, function (queryRet) {
|
|
1236
|
+
if (queryRet != null && queryRet.data != null) {
|
|
1237
|
+
if (queryRet.data.ErrCode === 0) {
|
|
1238
|
+
console.log('查询巡航线成功');
|
|
1239
|
+
//查询成功,赋值查询结果,默认显示第一条巡航线信息
|
|
1240
|
+
var queryCruisePath = [];
|
|
1241
|
+
if (queryRet.data.ResCruisePathQueryItem.length > 0) {
|
|
1242
|
+
queryRet.data.ResCruisePathQueryItem.map(function (item) {
|
|
1243
|
+
queryCruisePath.push({
|
|
1244
|
+
cruisePathCode: item.CruisePathCode,
|
|
1245
|
+
cruisePathName: item.CruisePathName
|
|
1246
|
+
});
|
|
1247
|
+
});
|
|
1248
|
+
} else {
|
|
1249
|
+
console.log('查询巡航线成功,数量为0');
|
|
1250
|
+
}
|
|
1251
|
+
_this.setState({
|
|
1252
|
+
cruisePathList: queryCruisePath,
|
|
1253
|
+
curCruisePathInfo: queryCruisePath.length > 0 ? queryCruisePath[0] : null
|
|
1254
|
+
});
|
|
1255
|
+
if (callback && typeof callback === 'function') {
|
|
1256
|
+
callback(true);
|
|
1257
|
+
}
|
|
1258
|
+
} else {
|
|
1259
|
+
message.error('查询巡航线失败:' + queryRet.data.ErrMsg, 1);
|
|
1260
|
+
}
|
|
1261
|
+
} else {
|
|
1262
|
+
message.error('查询巡航线失败,返回结果为空', 1);
|
|
1263
|
+
}
|
|
1264
|
+
});
|
|
1265
|
+
} else {
|
|
1266
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* 添加巡航线点击
|
|
1271
|
+
*/
|
|
1272
|
+
_this._onAddCruisrHandleClick = function () {
|
|
1273
|
+
_this.setState({
|
|
1274
|
+
isShosAddCruisrForm: true
|
|
1275
|
+
});
|
|
1276
|
+
};
|
|
1277
|
+
/**
|
|
1278
|
+
* 添加巡航线取消
|
|
1279
|
+
*/
|
|
1280
|
+
_this._onAddCruisrHandleCancle = function () {
|
|
1281
|
+
_this.setState({
|
|
1282
|
+
isShosAddCruisrForm: false
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* 添加巡航线
|
|
1287
|
+
*/
|
|
1288
|
+
_this._createCruisePath = function () {
|
|
1289
|
+
message.destroy();
|
|
1290
|
+
var textLocale = _this.props.textLocale;
|
|
1291
|
+
var preserList = _this.CruisePathAddCtrDom.state.curSelectedPresetList;
|
|
1292
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
1293
|
+
if (!_this.CruisePathAddCtrDom.textRef.checkTextLegal()) {
|
|
1294
|
+
_this.CruisePathAddCtrDom.textRef.setErrorNotice();
|
|
1295
|
+
return;
|
|
1296
|
+
}
|
|
1297
|
+
if (preserList !== null && preserList.length !== 0) {
|
|
1298
|
+
var cruisePathItemList = [];
|
|
1299
|
+
for (var index = 0; index < preserList.length; index++) {
|
|
1300
|
+
var element = preserList[index];
|
|
1301
|
+
var presetValue = element.PresetValue;
|
|
1302
|
+
var presetDesc = element.PresetDesc;
|
|
1303
|
+
var preSetStopTime = element.PreSetStopTime;
|
|
1304
|
+
if (element.Operate === 'presetLocation') {
|
|
1305
|
+
//预置位巡航
|
|
1306
|
+
presetValue = element.PresetValue;
|
|
1307
|
+
presetDesc = element.PresetDesc;
|
|
1308
|
+
preSetStopTime = element.PreSetStopTime;
|
|
1309
|
+
} else {
|
|
1310
|
+
//轨迹巡航
|
|
1311
|
+
if (element.Operate === 'top') {
|
|
1312
|
+
presetValue = 900 + element.Speed;
|
|
1313
|
+
} else if (element.Operate === 'bottom') {
|
|
1314
|
+
presetValue = 910 + element.Speed;
|
|
1315
|
+
} else if (element.Operate === 'left') {
|
|
1316
|
+
presetValue = 920 + element.Speed;
|
|
1317
|
+
} else if (element.Operate === 'right') {
|
|
1318
|
+
presetValue = 930 + element.Speed;
|
|
1319
|
+
}
|
|
1320
|
+
presetDesc = '';
|
|
1321
|
+
preSetStopTime = element.Rotation === 'true' ? 0 : element.Duration; //轨迹巡航显示的是:持续时间,一直转动则为0
|
|
1322
|
+
}
|
|
1323
|
+
var cruisePathItem = {
|
|
1324
|
+
SeqID: element.SeqID,
|
|
1325
|
+
PresetValue: presetValue,
|
|
1326
|
+
PresetDesc: presetDesc,
|
|
1327
|
+
PreSetStopTime: preSetStopTime
|
|
1328
|
+
};
|
|
1329
|
+
cruisePathItemList.push(cruisePathItem);
|
|
1330
|
+
}
|
|
1331
|
+
var condition = {
|
|
1332
|
+
CamName: _this.curVideoCam.CameraName,
|
|
1333
|
+
CamCode: _this.curVideoCam.CameraCode,
|
|
1334
|
+
CruisePathName: _this.CruisePathAddCtrDom.state.cruisePathName,
|
|
1335
|
+
CruisePathItemNum: cruisePathItemList.length,
|
|
1336
|
+
CruisePathItemList: cruisePathItemList,
|
|
1337
|
+
Reserve: ''
|
|
1338
|
+
};
|
|
1339
|
+
Restful.CreateCruisePath(JSON.stringify(condition), function (ret) {
|
|
1340
|
+
if (ret.data.ErrCode === 0) {
|
|
1341
|
+
console.log('添加巡航线成功');
|
|
1342
|
+
//添加成功,关闭添加界面
|
|
1343
|
+
_this.setState({
|
|
1344
|
+
isShosAddCruisrForm: false
|
|
1345
|
+
});
|
|
1346
|
+
_this._queryCruisePathList(function (queryret) {
|
|
1347
|
+
_this.setState({
|
|
1348
|
+
curCruisePathInfo: {
|
|
1349
|
+
cruisePathCode: ret.data.CruisePathCode,
|
|
1350
|
+
cruisePathName: _this.CruisePathAddCtrDom.state.cruisePathName
|
|
1351
|
+
}
|
|
1352
|
+
});
|
|
1353
|
+
});
|
|
1354
|
+
} else {
|
|
1355
|
+
message.error('添加巡航线失败:' + ret.data.ErrMsg, 1);
|
|
1356
|
+
}
|
|
1357
|
+
});
|
|
1358
|
+
} else {
|
|
1359
|
+
message.error('预置位信息不能为空', 1);
|
|
1360
|
+
}
|
|
1361
|
+
} else {
|
|
1362
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
1363
|
+
}
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* 编辑巡航线点击
|
|
1367
|
+
*/
|
|
1368
|
+
_this._onModCruisrHandleClick = function () {
|
|
1369
|
+
message.destroy();
|
|
1370
|
+
if (_this.state.curCruisePathInfo === null) {
|
|
1371
|
+
message.warn('请先选择巡航线', 1);
|
|
1372
|
+
return;
|
|
1373
|
+
}
|
|
1374
|
+
_this.setState({
|
|
1375
|
+
isShowModifyCruisrForm: true
|
|
1376
|
+
});
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* 编辑巡航线取消
|
|
1380
|
+
*/
|
|
1381
|
+
_this._onModCruisrHandleCancle = function () {
|
|
1382
|
+
_this.setState({
|
|
1383
|
+
isShowModifyCruisrForm: false
|
|
1384
|
+
});
|
|
1385
|
+
};
|
|
1386
|
+
/**
|
|
1387
|
+
* 编辑巡航线
|
|
1388
|
+
*/
|
|
1389
|
+
_this._modifyCruisePath = function () {
|
|
1390
|
+
message.destroy();
|
|
1391
|
+
var textLocale = _this.props.textLocale;
|
|
1392
|
+
// Restful.ModifyCruisePath();
|
|
1393
|
+
if (_this.state.curCruisePathInfo === null) {
|
|
1394
|
+
message.warn('请先选择巡航线', 1);
|
|
1395
|
+
return;
|
|
1396
|
+
}
|
|
1397
|
+
var preserList = _this.CruisePathAddCtrDom.state.curSelectedPresetList;
|
|
1398
|
+
var cruisePathCode = _this.CruisePathAddCtrDom.state.curCruisePathInfo.cruisePathCode;
|
|
1399
|
+
var cruisePathName = _this.CruisePathAddCtrDom.state.cruisePathName;
|
|
1400
|
+
if (_this.curVideoCam !== null && _this.curVideoCam.CameraCode != null) {
|
|
1401
|
+
if (!_this.CruisePathAddCtrDom.textRef.checkTextLegal()) {
|
|
1402
|
+
_this.CruisePathAddCtrDom.textRef.setErrorNotice();
|
|
1403
|
+
return;
|
|
1404
|
+
}
|
|
1405
|
+
if (preserList !== null && preserList.length !== 0) {
|
|
1406
|
+
var cruisePathItemList = [];
|
|
1407
|
+
for (var index = 0; index < preserList.length; index++) {
|
|
1408
|
+
var element = preserList[index];
|
|
1409
|
+
var presetValue = element.PresetValue;
|
|
1410
|
+
var presetDesc = element.PresetDesc;
|
|
1411
|
+
var preSetStopTime = element.PreSetStopTime;
|
|
1412
|
+
if (element.Operate === 'presetLocation') {
|
|
1413
|
+
//预置位巡航
|
|
1414
|
+
presetValue = element.PresetValue;
|
|
1415
|
+
presetDesc = element.PresetDesc;
|
|
1416
|
+
preSetStopTime = element.PreSetStopTime;
|
|
1417
|
+
} else {
|
|
1418
|
+
//轨迹巡航
|
|
1419
|
+
if (element.Operate === 'top') {
|
|
1420
|
+
presetValue = 900 + element.Speed;
|
|
1421
|
+
} else if (element.Operate === 'bottom') {
|
|
1422
|
+
presetValue = 910 + element.Speed;
|
|
1423
|
+
} else if (element.Operate === 'left') {
|
|
1424
|
+
presetValue = 920 + element.Speed;
|
|
1425
|
+
} else if (element.Operate === 'right') {
|
|
1426
|
+
presetValue = 930 + element.Speed;
|
|
1427
|
+
}
|
|
1428
|
+
presetDesc = '';
|
|
1429
|
+
preSetStopTime = element.Rotation === 'true' ? 0 : element.Duration; //轨迹巡航显示的是:持续时间,一直转动则为0
|
|
1430
|
+
}
|
|
1431
|
+
var cruisePathItem = {
|
|
1432
|
+
SeqID: element.SeqID,
|
|
1433
|
+
PresetValue: presetValue,
|
|
1434
|
+
PresetDesc: presetDesc,
|
|
1435
|
+
PreSetStopTime: preSetStopTime
|
|
1436
|
+
};
|
|
1437
|
+
cruisePathItemList.push(cruisePathItem);
|
|
1438
|
+
}
|
|
1439
|
+
var CruisePathInfo = {
|
|
1440
|
+
CamName: _this.curVideoCam.CameraName,
|
|
1441
|
+
CamCode: _this.curVideoCam.CameraCode,
|
|
1442
|
+
CruisePathName: _this.CruisePathAddCtrDom.state.cruisePathName,
|
|
1443
|
+
CruisePathItemNum: cruisePathItemList.length,
|
|
1444
|
+
CruisePathItemList: cruisePathItemList,
|
|
1445
|
+
Reserve: ''
|
|
1446
|
+
};
|
|
1447
|
+
var condition = {
|
|
1448
|
+
CruisePathCode: cruisePathCode,
|
|
1449
|
+
CruisePathInfo: CruisePathInfo
|
|
1450
|
+
};
|
|
1451
|
+
Restful.ModifyCruisePath(JSON.stringify(condition), function (ret) {
|
|
1452
|
+
if (ret.data.ErrCode === 0) {
|
|
1453
|
+
console.log('修改巡航线成功');
|
|
1454
|
+
//添加成功,关闭添加界面
|
|
1455
|
+
_this.setState({
|
|
1456
|
+
isShosAddCruisrForm: false
|
|
1457
|
+
});
|
|
1458
|
+
_this._queryCruisePathList(function (queryret) {
|
|
1459
|
+
_this.setState({
|
|
1460
|
+
isShowModifyCruisrForm: false,
|
|
1461
|
+
curCruisePathInfo: {
|
|
1462
|
+
cruisePathCode: cruisePathCode,
|
|
1463
|
+
cruisePathName: cruisePathName
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
});
|
|
1467
|
+
} else {
|
|
1468
|
+
message.error('修改巡航线失败:' + ret.data.ErrMsg, 1);
|
|
1469
|
+
}
|
|
1470
|
+
});
|
|
1471
|
+
} else {
|
|
1472
|
+
message.error('预置位信息不能为空', 1);
|
|
1473
|
+
}
|
|
1474
|
+
} else {
|
|
1475
|
+
message.error(textLocale.cameraInfoEmpty, 1);
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
/**
|
|
1479
|
+
* 删除巡航线点击
|
|
1480
|
+
*/
|
|
1481
|
+
_this._onDelCruisrHandleClick = function () {
|
|
1482
|
+
message.destroy();
|
|
1483
|
+
if (_this.state.curCruisePathInfo === null) {
|
|
1484
|
+
message.warn('巡航线信息为空');
|
|
1485
|
+
return;
|
|
1486
|
+
}
|
|
1487
|
+
_this.setState({
|
|
1488
|
+
isShowDelCruisrForm: true
|
|
1489
|
+
});
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* 删除巡航线取消
|
|
1493
|
+
*/
|
|
1494
|
+
_this._onDelCruisrHandleCancle = function () {
|
|
1495
|
+
_this.setState({
|
|
1496
|
+
isShowDelCruisrForm: false
|
|
1497
|
+
});
|
|
1498
|
+
};
|
|
1499
|
+
/**
|
|
1500
|
+
* 删除巡航线
|
|
1501
|
+
*/
|
|
1502
|
+
_this._delCruisePath = function () {
|
|
1503
|
+
message.destroy();
|
|
1504
|
+
if (_this.state.curCruisePathInfo !== null) {
|
|
1505
|
+
Restful.DelCruisePath(_this.state.curCruisePathInfo.cruisePathCode, function (ret) {
|
|
1506
|
+
if (ret != null && ret.data != null) {
|
|
1507
|
+
if (ret.data.ErrCode === 0) {
|
|
1508
|
+
message.info('删除巡航线成功', 1);
|
|
1509
|
+
_this.setState({
|
|
1510
|
+
isShowDelCruisrForm: false
|
|
1511
|
+
});
|
|
1512
|
+
_this._queryCruisePathList();
|
|
1513
|
+
} else {
|
|
1514
|
+
message.error('删除巡航线失败:' + ret.data.ErrMsg, 1);
|
|
1515
|
+
}
|
|
1516
|
+
} else {
|
|
1517
|
+
message.error('删除巡航线失败,返回结果为空', 1);
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1520
|
+
} else {
|
|
1521
|
+
message.error('巡航线信息为空', 1);
|
|
1522
|
+
}
|
|
1523
|
+
};
|
|
1524
|
+
/**
|
|
1525
|
+
* 手动启动巡航线
|
|
1526
|
+
*/
|
|
1527
|
+
_this._startCruisePath = function () {
|
|
1528
|
+
message.destroy();
|
|
1529
|
+
if (_this.state.curCruisePathInfo !== null) {
|
|
1530
|
+
Restful.StartCruisePath(_this.state.curCruisePathInfo.cruisePathCode, function (queryRet) {
|
|
1531
|
+
if (queryRet != null && queryRet.data != null) {
|
|
1532
|
+
if (queryRet.data.ErrCode === 0) {
|
|
1533
|
+
console.log('启动巡航线成功');
|
|
1534
|
+
} else {
|
|
1535
|
+
message.error('启动巡航线失败:' + queryRet.data.ErrMsg, 1);
|
|
1536
|
+
}
|
|
1537
|
+
} else {
|
|
1538
|
+
message.error('启动巡航线失败,返回结果为空', 1);
|
|
1539
|
+
}
|
|
1540
|
+
});
|
|
1541
|
+
} else {
|
|
1542
|
+
message.error('巡航线信息为空', 1);
|
|
1543
|
+
}
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* 手动停止巡航线
|
|
1547
|
+
*/
|
|
1548
|
+
_this._stopCruisePath = function () {
|
|
1549
|
+
message.destroy();
|
|
1550
|
+
//Restful.StopCruisePath();
|
|
1551
|
+
if (_this.state.curCruisePathInfo !== null) {
|
|
1552
|
+
Restful.StopCruisePath(_this.state.curCruisePathInfo.cruisePathCode, function (queryRet) {
|
|
1553
|
+
if (queryRet != null && queryRet.data != null) {
|
|
1554
|
+
if (queryRet.data.ErrCode === 0) {
|
|
1555
|
+
console.log('停止巡航线成功');
|
|
1556
|
+
} else {
|
|
1557
|
+
message.error('停止巡航线失败:' + queryRet.data.ErrMsg, 1);
|
|
1558
|
+
}
|
|
1559
|
+
} else {
|
|
1560
|
+
message.error('停止巡航线失败,返回结果为空', 1);
|
|
1561
|
+
}
|
|
1562
|
+
});
|
|
1563
|
+
} else {
|
|
1564
|
+
message.error('巡航线信息为空', 1);
|
|
1565
|
+
}
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* 打开巡航计划配置
|
|
1569
|
+
*/
|
|
1570
|
+
_this._onConfigCruisrHandleClick = function () {
|
|
1571
|
+
_this.setState({
|
|
1572
|
+
isShowConfigCruisrForm: true
|
|
1573
|
+
});
|
|
1574
|
+
};
|
|
1575
|
+
/**
|
|
1576
|
+
*关闭巡航计划配置
|
|
1577
|
+
*/
|
|
1578
|
+
_this._onCancelCruisrHandleClick = function () {
|
|
1579
|
+
_this.setState({
|
|
1580
|
+
isShowConfigCruisrForm: false
|
|
1581
|
+
}, function () {
|
|
1582
|
+
_this._queryCruisePlanCode(_this.curVideoCam.CameraCode);
|
|
1583
|
+
});
|
|
1584
|
+
};
|
|
1585
|
+
//查询摄像机的巡航计划
|
|
1586
|
+
_this._queryCruisePlanCode = function () {
|
|
1587
|
+
_this.QueryCruisePlanList({
|
|
1588
|
+
code: _this.curVideoCam.CameraCode
|
|
1589
|
+
}).then(function (_ref) {
|
|
1590
|
+
var data = _ref.data;
|
|
1591
|
+
if (data.ErrCode === 0) {
|
|
1592
|
+
if (data.Result.InfoList && Array.isArray(data.Result.InfoList) && data.Result.InfoList.length > 0) {
|
|
1593
|
+
_this.setState({
|
|
1594
|
+
modifyPlanInfo: data.Result.InfoList[0]
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
}).catch(function (err) {});
|
|
1599
|
+
};
|
|
1600
|
+
//查询相机的巡航计划列表
|
|
1601
|
+
_this.QueryCruisePlanList = /*#__PURE__*/function () {
|
|
1602
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(code) {
|
|
1603
|
+
var userInfo, params;
|
|
1604
|
+
return _regenerator().w(function (_context) {
|
|
1605
|
+
while (1) switch (_context.n) {
|
|
1606
|
+
case 0:
|
|
1607
|
+
_context.n = 1;
|
|
1608
|
+
return Restful.queryUserAndOrg('isUserOrg');
|
|
1609
|
+
case 1:
|
|
1610
|
+
userInfo = _context.v;
|
|
1611
|
+
params = {};
|
|
1612
|
+
params.condition = {
|
|
1613
|
+
ItemNum: 1,
|
|
1614
|
+
Condition: [{
|
|
1615
|
+
QueryType: 0,
|
|
1616
|
+
LogicFlag: 0,
|
|
1617
|
+
QueryData: code.code
|
|
1618
|
+
}],
|
|
1619
|
+
QueryCount: 0,
|
|
1620
|
+
PageFirstRowNumber: 0,
|
|
1621
|
+
PageRowNum: 20
|
|
1622
|
+
};
|
|
1623
|
+
return _context.a(2, VIIDRestful.fetch({
|
|
1624
|
+
url: "/VIID/hadesadapter/cruise/plan/list?code=".concat(userInfo.Code),
|
|
1625
|
+
method: 'GET',
|
|
1626
|
+
params: params
|
|
1627
|
+
}));
|
|
1628
|
+
}
|
|
1629
|
+
}, _callee);
|
|
1630
|
+
}));
|
|
1631
|
+
return function (_x) {
|
|
1632
|
+
return _ref2.apply(this, arguments);
|
|
1633
|
+
};
|
|
1634
|
+
}();
|
|
1635
|
+
//#endregion 巡航线操作
|
|
1636
|
+
//#region 云台面板扩展界面
|
|
1637
|
+
/**
|
|
1638
|
+
* 显示云台扩展面板
|
|
1639
|
+
*/
|
|
1640
|
+
_this._onShowMorePnl = function () {
|
|
1641
|
+
_this.setState({
|
|
1642
|
+
isShowPtzMore: !_this.state.isShowPtzMore
|
|
1643
|
+
});
|
|
1644
|
+
};
|
|
1645
|
+
/**
|
|
1646
|
+
* 调整转速
|
|
1647
|
+
*/
|
|
1648
|
+
_this._onPtzSpeedChange = function (value) {
|
|
1649
|
+
_this.props.onPtzSpeedChange(value);
|
|
1650
|
+
_this.ptzSpeed = value;
|
|
1651
|
+
};
|
|
1652
|
+
_this.state = {
|
|
1653
|
+
pnlPosX: 0,
|
|
1654
|
+
pnlPosY: 0,
|
|
1655
|
+
ptzUserCtr: 0,
|
|
1656
|
+
//当前用户是不是控制云台,1-控制,0-不在控制
|
|
1657
|
+
isLock: false,
|
|
1658
|
+
//当前云台是否已锁定,0-空闲状态,1-连接状态,2-链接锁定,3-状态最大值,0xFFFFFFFF-无效值
|
|
1659
|
+
dirIndex: 10,
|
|
1660
|
+
//方向盘9个方位下标1-9,默认为10
|
|
1661
|
+
|
|
1662
|
+
//控制面板---扩展面板功能信息
|
|
1663
|
+
isShowPtzMore: false,
|
|
1664
|
+
//ptzPnl中扩展面板是否显示
|
|
1665
|
+
isLightOn: false,
|
|
1666
|
+
//是否开启光照
|
|
1667
|
+
isWipertOn: false,
|
|
1668
|
+
//是否开启雨刷
|
|
1669
|
+
isInfrareOn: false,
|
|
1670
|
+
//是否开启红外
|
|
1671
|
+
isHeatOn: false,
|
|
1672
|
+
//是否开启加热
|
|
1673
|
+
isSnowOn: false,
|
|
1674
|
+
//是否开启除雪---暂时未使用
|
|
1675
|
+
|
|
1676
|
+
//控制面板---预置位信息
|
|
1677
|
+
presetListOptions: [],
|
|
1678
|
+
//预置位信息集合
|
|
1679
|
+
curSelectedPreset: null,
|
|
1680
|
+
//当前选择的预置位
|
|
1681
|
+
deletingPreset: [],
|
|
1682
|
+
//待删除的预置位
|
|
1683
|
+
|
|
1684
|
+
isShowPresetAddForm: false,
|
|
1685
|
+
//是否显示预置位添加窗体
|
|
1686
|
+
isShowModifyPromptForm: false,
|
|
1687
|
+
//是否显示预置位修改提示窗体
|
|
1688
|
+
isShowDelPromptForm: false,
|
|
1689
|
+
//是否显示预置位删除提示窗体
|
|
1690
|
+
|
|
1691
|
+
isShowAutoGuardTimeForm: false,
|
|
1692
|
+
//是否显示设置自动看守时间窗体
|
|
1693
|
+
autoGuardTime: 300,
|
|
1694
|
+
//自动看守时间,单位为秒,最大不超过3600秒,0表示不看守
|
|
1695
|
+
|
|
1696
|
+
//控制面板---看守位信息
|
|
1697
|
+
guardEnable: false,
|
|
1698
|
+
//是否启用看守位,默认???
|
|
1699
|
+
guardPositionPlanList: null,
|
|
1700
|
+
//看守位计划信息集合
|
|
1701
|
+
isShowSetGuardForm: false,
|
|
1702
|
+
//是否显示看守位设置界面
|
|
1703
|
+
|
|
1704
|
+
//控制面板---巡航线信息
|
|
1705
|
+
cruisePathList: [],
|
|
1706
|
+
//巡航线信息集合
|
|
1707
|
+
curCruisePathInfo: null,
|
|
1708
|
+
//当前选择的巡航线信息
|
|
1709
|
+
isShowDelCruisrForm: false,
|
|
1710
|
+
//是否显示删除巡航线窗体
|
|
1711
|
+
isShowModifyCruisrForm: false,
|
|
1712
|
+
//是否显示修改巡航线窗体
|
|
1713
|
+
isShosAddCruisrForm: false,
|
|
1714
|
+
//是佛显示添加巡航线窗体
|
|
1715
|
+
guardPlanStatus: 0,
|
|
1716
|
+
//看守位状态
|
|
1717
|
+
|
|
1718
|
+
isShowConfigCruisrForm: false,
|
|
1719
|
+
//是否显示配置巡航计划
|
|
1720
|
+
modifyPlanInfo: {},
|
|
1721
|
+
//巡航计划信息
|
|
1722
|
+
CameraOrgCode: '' //摄像机组织编码
|
|
1723
|
+
};
|
|
1724
|
+
_this.isMoveWithForm = false; //窗体是否进行固定
|
|
1725
|
+
_this.isMoving = false; //窗体是否正在移动,MouseMove时判断。
|
|
1726
|
+
|
|
1727
|
+
_this.lastX = null; //窗体移动位置,计算窗体移动时的偏移
|
|
1728
|
+
_this.lastY = null; //窗体移动位置,计算窗体移动时的偏移
|
|
1729
|
+
|
|
1730
|
+
//this.curVideoDom = this.props.curVideoDom; //整个DOM节点,*****当前调试使用,记得删除
|
|
1731
|
+
_this.curVideoCam = _this.props.videoCamInfo(); //当前video的相机信息-CameraCode CameraName ECIPAddr
|
|
1732
|
+
_this.ptzPnlPosi = {}; //ptzPnl的坐标位置信息
|
|
1733
|
+
|
|
1734
|
+
//PtzPnl中方向盘相关位置信息
|
|
1735
|
+
_this.ptzDirPnlPosi = {}; //ptzPnl中左侧方向盘位置信息
|
|
1736
|
+
_this.relativeDirPnlPosiX = 0; //ptzPnl中鼠标在方向盘中的相对坐标位置
|
|
1737
|
+
_this.relativeDirPnlPosiY = 0; //ptzPnl中鼠标在方向盘中的相对坐标位置
|
|
1738
|
+
|
|
1739
|
+
// //鼠标在title中进行拖拽移动---鼠标左键
|
|
1740
|
+
// window.onmousemove = (e) => this._onMouseMove(e);
|
|
1741
|
+
// window.onmouseup = (e) => this._onMouseUp(e);
|
|
1742
|
+
//window.addEventListener('resize', this._reCalcPnlPos);
|
|
1743
|
+
|
|
1744
|
+
_this.isStopChangeIcon = false; //预置位同步时图标更新标志位
|
|
1745
|
+
_this.ptzSpeed = _this.props.initialPtzSpeed === undefined ? 5 : _this.props.initialPtzSpeed(); //云台转速---默认为6,范围1-9
|
|
1746
|
+
//转速值
|
|
1747
|
+
_this.speedMarks = {
|
|
1748
|
+
1: '1',
|
|
1749
|
+
2: '2',
|
|
1750
|
+
3: '3',
|
|
1751
|
+
4: '4',
|
|
1752
|
+
5: '5',
|
|
1753
|
+
6: '6',
|
|
1754
|
+
7: '7',
|
|
1755
|
+
8: '8',
|
|
1756
|
+
9: '9'
|
|
1757
|
+
};
|
|
1758
|
+
//预置位删除操作
|
|
1759
|
+
_this.deleteRowSelection = {
|
|
1760
|
+
onChange: function onChange(selectedRowKeys, selectedRows) {
|
|
1761
|
+
_this.setState({
|
|
1762
|
+
deletingPreset: selectedRows
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
};
|
|
1766
|
+
//预置位删除表头
|
|
1767
|
+
_this.presetColumns = [{
|
|
1768
|
+
title: _this.props.textLocale.presetID,
|
|
1769
|
+
dataIndex: 'PresetValue',
|
|
1770
|
+
width: '150px',
|
|
1771
|
+
key: 'PresetValue'
|
|
1772
|
+
}, {
|
|
1773
|
+
title: _this.props.textLocale.presetName,
|
|
1774
|
+
dataIndex: 'PresetDes',
|
|
1775
|
+
key: 'PresetDes'
|
|
1776
|
+
}];
|
|
1777
|
+
return _this;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
//#region 生命周期
|
|
1781
|
+
_inherits(PtzControlPanel, _Component);
|
|
1782
|
+
return _createClass(PtzControlPanel, [{
|
|
1783
|
+
key: "componentDidMount",
|
|
1784
|
+
value: function () {
|
|
1785
|
+
var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
1786
|
+
var _this2 = this;
|
|
1787
|
+
var _t;
|
|
1788
|
+
return _regenerator().w(function (_context2) {
|
|
1789
|
+
while (1) switch (_context2.n) {
|
|
1790
|
+
case 0:
|
|
1791
|
+
_context2.n = 1;
|
|
1792
|
+
return this.props.videoCamInfo();
|
|
1793
|
+
case 1:
|
|
1794
|
+
this.curVideoCam = _context2.v;
|
|
1795
|
+
if (!(this.props.initialPtzSpeed === undefined)) {
|
|
1796
|
+
_context2.n = 2;
|
|
1797
|
+
break;
|
|
1798
|
+
}
|
|
1799
|
+
_t = 5;
|
|
1800
|
+
_context2.n = 4;
|
|
1801
|
+
break;
|
|
1802
|
+
case 2:
|
|
1803
|
+
_context2.n = 3;
|
|
1804
|
+
return this.props.initialPtzSpeed();
|
|
1805
|
+
case 3:
|
|
1806
|
+
_t = _context2.v;
|
|
1807
|
+
case 4:
|
|
1808
|
+
this.ptzSpeed = _t;
|
|
1809
|
+
console.log('cam:' + this.curVideoCam.CameraName + '云台面板');
|
|
1810
|
+
this.ptzDirPnlPosi = this._getDomPosi(this.ptzDirPnlContainer);
|
|
1811
|
+
this._queryPtzStatus(); //查询云台状态
|
|
1812
|
+
this._queryPresetList(); //查询预置位信息
|
|
1813
|
+
this._queryCruisePathList(); //获取巡航线信息
|
|
1814
|
+
this._queryGuardPositionPlanList(function (ret) {
|
|
1815
|
+
_this2.setState({
|
|
1816
|
+
guardEnable: ret && ret.length > 0 ? ret[0].PlanStatus === 1 ? true : false : false,
|
|
1817
|
+
guardPlanStatus: ret && ret.length > 0 ? ret[0].PlanStatus === 1 ? 1 : 0 : 0
|
|
1818
|
+
});
|
|
1819
|
+
}); //查询看守位列信息
|
|
1820
|
+
this._queryCruisePlanCode(this.curVideoCam.CameraCode);
|
|
1821
|
+
case 5:
|
|
1822
|
+
return _context2.a(2);
|
|
1823
|
+
}
|
|
1824
|
+
}, _callee2, this);
|
|
1825
|
+
}));
|
|
1826
|
+
function componentDidMount() {
|
|
1827
|
+
return _componentDidMount.apply(this, arguments);
|
|
1828
|
+
}
|
|
1829
|
+
return componentDidMount;
|
|
1830
|
+
}()
|
|
1831
|
+
}, {
|
|
1832
|
+
key: "render",
|
|
1833
|
+
value:
|
|
1834
|
+
//#endregion 云台面板扩展界面
|
|
1835
|
+
|
|
1836
|
+
function render() {
|
|
1837
|
+
var _this3 = this;
|
|
1838
|
+
var _this$state = this.state,
|
|
1839
|
+
pnlPosX = _this$state.pnlPosX,
|
|
1840
|
+
pnlPosY = _this$state.pnlPosY,
|
|
1841
|
+
isShowPtzMore = _this$state.isShowPtzMore,
|
|
1842
|
+
dirIndex = _this$state.dirIndex,
|
|
1843
|
+
isLightOn = _this$state.isLightOn,
|
|
1844
|
+
isWipertOn = _this$state.isWipertOn,
|
|
1845
|
+
isInfrareOn = _this$state.isInfrareOn,
|
|
1846
|
+
isHeatOn = _this$state.isHeatOn,
|
|
1847
|
+
guardPlanStatus = _this$state.guardPlanStatus,
|
|
1848
|
+
presetListOptions = _this$state.presetListOptions,
|
|
1849
|
+
curSelectedPreset = _this$state.curSelectedPreset,
|
|
1850
|
+
isShowPresetAddForm = _this$state.isShowPresetAddForm,
|
|
1851
|
+
isShowDelPromptForm = _this$state.isShowDelPromptForm,
|
|
1852
|
+
isShowModifyPromptForm = _this$state.isShowModifyPromptForm,
|
|
1853
|
+
isShowAutoGuardTimeForm = _this$state.isShowAutoGuardTimeForm,
|
|
1854
|
+
autoGuardTime = _this$state.autoGuardTime,
|
|
1855
|
+
guardEnable = _this$state.guardEnable,
|
|
1856
|
+
isShowSetGuardForm = _this$state.isShowSetGuardForm,
|
|
1857
|
+
guardPositionPlanList = _this$state.guardPositionPlanList,
|
|
1858
|
+
cruisePathList = _this$state.cruisePathList,
|
|
1859
|
+
curCruisePathInfo = _this$state.curCruisePathInfo,
|
|
1860
|
+
isShowDelCruisrForm = _this$state.isShowDelCruisrForm,
|
|
1861
|
+
isShowModifyCruisrForm = _this$state.isShowModifyCruisrForm,
|
|
1862
|
+
isShosAddCruisrForm = _this$state.isShosAddCruisrForm,
|
|
1863
|
+
isShowConfigCruisrForm = _this$state.isShowConfigCruisrForm,
|
|
1864
|
+
modifyPlanInfo = _this$state.modifyPlanInfo,
|
|
1865
|
+
CameraOrgCode = _this$state.CameraOrgCode;
|
|
1866
|
+
// let guardPlanStatus = guardPositionPlanList && guardPositionPlanList.length > 0 ? guardPositionPlanList[0].PlanStatus : 0;
|
|
1867
|
+
var _this$props = this.props,
|
|
1868
|
+
textLocale = _this$props.textLocale,
|
|
1869
|
+
theme = _this$props.theme,
|
|
1870
|
+
VMSdkType = _this$props.VMSdkType;
|
|
1871
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1872
|
+
className: "ptzctr-panel ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
1873
|
+
ref: function ref(el) {
|
|
1874
|
+
return _this3.ptzPnlContainer = el;
|
|
1875
|
+
},
|
|
1876
|
+
style: {
|
|
1877
|
+
position: 'absolute',
|
|
1878
|
+
left: pnlPosX,
|
|
1879
|
+
top: pnlPosY
|
|
1880
|
+
}
|
|
1881
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1882
|
+
className: "ptzctr-panel-title",
|
|
1883
|
+
ref: function ref(el) {
|
|
1884
|
+
return _this3.ptzPnlTitleContainer = el;
|
|
1885
|
+
}
|
|
1886
|
+
// onMouseDown={(e) => this._onMouseDown(e)}
|
|
1887
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1888
|
+
className: "ptzctr-panel-title-span1"
|
|
1889
|
+
}, textLocale.holder), /*#__PURE__*/React.createElement("div", {
|
|
1890
|
+
className: "ptzctr-panel-title-camname"
|
|
1891
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1892
|
+
className: "ptzctr-panel-title-span2"
|
|
1893
|
+
}, "\uFF08"), /*#__PURE__*/React.createElement("div", {
|
|
1894
|
+
className: "ptzctr-panel-title-span3"
|
|
1895
|
+
}, this.curVideoCam.CameraName), /*#__PURE__*/React.createElement("div", {
|
|
1896
|
+
className: "ptzctr-panel-title-span4"
|
|
1897
|
+
}, "\uFF09")), /*#__PURE__*/React.createElement("span", {
|
|
1898
|
+
className: "ptzctr-panel-title-lockdesc"
|
|
1899
|
+
}, this.state.isLock ? textLocale.locked : textLocale.unlocked), /*#__PURE__*/React.createElement("div", {
|
|
1900
|
+
className: "ptzctr-title-ptzicon"
|
|
1901
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1902
|
+
className: this.state.isLock ? 'icon-lock' : 'icon-unlock',
|
|
1903
|
+
onClick: this.state.isLock ? this._onUnLockPtz : this._onLockPtz,
|
|
1904
|
+
title: this.state.isLock ? textLocale.unlockHead : textLocale.lockingHead
|
|
1905
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1906
|
+
className: "icon-release",
|
|
1907
|
+
onClick: this._onReleasePtz,
|
|
1908
|
+
title: textLocale.releaseHead
|
|
1909
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
1910
|
+
className: "ptzctr-panel-title-split"
|
|
1911
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1912
|
+
className: "ptzctr-title-formicon"
|
|
1913
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1914
|
+
className: "icon-close",
|
|
1915
|
+
onClick: this.onCloseClick,
|
|
1916
|
+
title: textLocale.close
|
|
1917
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
1918
|
+
className: "ptzctr-panel-body"
|
|
1919
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1920
|
+
className: "ptzctr-body-left",
|
|
1921
|
+
onClick: this.OnPtzDirPnlClick,
|
|
1922
|
+
onMouseMove: this._onptzDirPnlMove
|
|
1923
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1924
|
+
ref: function ref(el) {
|
|
1925
|
+
return _this3.ptzDirPnlContainer = el;
|
|
1926
|
+
},
|
|
1927
|
+
className: "ptz-operateIcon-ptzpnlcon",
|
|
1928
|
+
onClick: this.OnPtzDirPnlClick
|
|
1929
|
+
}), dirIndex === 9 && /*#__PURE__*/React.createElement("div", {
|
|
1930
|
+
className: "ptz-operateIcon-MiddleOnIcon",
|
|
1931
|
+
onClick: this._onPtzDirMidPnlClick
|
|
1932
|
+
}), dirIndex === 1 && /*#__PURE__*/React.createElement("div", {
|
|
1933
|
+
className: "ptz-operateIcon-TopOnIcon",
|
|
1934
|
+
onMouseDown: function onMouseDown() {
|
|
1935
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_TILTUP, textLocale.upward);
|
|
1936
|
+
},
|
|
1937
|
+
onMouseUp: function onMouseUp() {
|
|
1938
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_TILTUPSTOP, textLocale.upwardStop);
|
|
1939
|
+
}
|
|
1940
|
+
}), dirIndex === 2 && /*#__PURE__*/React.createElement("div", {
|
|
1941
|
+
className: "ptz-operateIcon-TopRightOnIcon",
|
|
1942
|
+
onMouseDown: function onMouseDown() {
|
|
1943
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_RIGHTUP, textLocale.upperRight);
|
|
1944
|
+
},
|
|
1945
|
+
onMouseUp: function onMouseUp() {
|
|
1946
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_RIGHTUPSTOP, textLocale.upperRightStop);
|
|
1947
|
+
}
|
|
1948
|
+
}), dirIndex === 3 && /*#__PURE__*/React.createElement("div", {
|
|
1949
|
+
className: "ptz-operateIcon-RightOnIcon",
|
|
1950
|
+
onMouseDown: function onMouseDown() {
|
|
1951
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_PANRIGHT, textLocale.toRight);
|
|
1952
|
+
},
|
|
1953
|
+
onMouseUp: function onMouseUp() {
|
|
1954
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_PANRIGHTSTOP, textLocale.toRightStop);
|
|
1955
|
+
}
|
|
1956
|
+
}), dirIndex === 4 && /*#__PURE__*/React.createElement("div", {
|
|
1957
|
+
className: "ptz-operateIcon-BottomRightOnIcon",
|
|
1958
|
+
onMouseDown: function onMouseDown() {
|
|
1959
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_RIGHTDOWN, textLocale.lowerRight);
|
|
1960
|
+
},
|
|
1961
|
+
onMouseUp: function onMouseUp() {
|
|
1962
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_RIGHTDOWNSTOP, textLocale.lowerRightStop);
|
|
1963
|
+
}
|
|
1964
|
+
}), dirIndex === 5 && /*#__PURE__*/React.createElement("div", {
|
|
1965
|
+
className: "ptz-operateIcon-BottomOnIcon",
|
|
1966
|
+
onMouseDown: function onMouseDown() {
|
|
1967
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_TILTDOWN, textLocale.down);
|
|
1968
|
+
},
|
|
1969
|
+
onMouseUp: function onMouseUp() {
|
|
1970
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_TILTDOWNSTOP, textLocale.downStop);
|
|
1971
|
+
}
|
|
1972
|
+
}), dirIndex === 6 && /*#__PURE__*/React.createElement("div", {
|
|
1973
|
+
className: "ptz-operateIcon-LeftBottomOnIcon",
|
|
1974
|
+
onMouseDown: function onMouseDown() {
|
|
1975
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_LEFTDOWN, textLocale.lowerLeft);
|
|
1976
|
+
},
|
|
1977
|
+
onMouseUp: function onMouseUp() {
|
|
1978
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_LEFTDOWNSTOP, textLocale.lowerLeftStop);
|
|
1979
|
+
}
|
|
1980
|
+
}), dirIndex === 7 && /*#__PURE__*/React.createElement("div", {
|
|
1981
|
+
className: "ptz-operateIcon-LeftOnIcon",
|
|
1982
|
+
onMouseDown: function onMouseDown() {
|
|
1983
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_PANLEFT, textLocale.toLeft);
|
|
1984
|
+
},
|
|
1985
|
+
onMouseUp: function onMouseUp() {
|
|
1986
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_PANLEFTSTOP, textLocale.toLeftStop);
|
|
1987
|
+
}
|
|
1988
|
+
}), dirIndex === 8 && /*#__PURE__*/React.createElement("div", {
|
|
1989
|
+
className: "ptz-operateIcon-TopLeftOnIcon",
|
|
1990
|
+
onMouseDown: function onMouseDown() {
|
|
1991
|
+
return _this3._onPtzDirPnlDown(PtzCmd.MW_PTZ_LEFTUP, textLocale.upwardLeft);
|
|
1992
|
+
},
|
|
1993
|
+
onMouseUp: function onMouseUp() {
|
|
1994
|
+
return _this3._onPtzDirPnlUp(PtzCmd.MW_PTZ_LEFTUPSTOP, textLocale.upwardLeftStop);
|
|
1995
|
+
}
|
|
1996
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
1997
|
+
className: "ptzctr-body-middle"
|
|
1998
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
1999
|
+
className: "pzt-operateIcon-ptzZoomSubtractIcon",
|
|
2000
|
+
title: textLocale.shrink,
|
|
2001
|
+
onMouseDown: function onMouseDown() {
|
|
2002
|
+
return _this3.OnOperationPtzDown('zoom', PtzCmd.MW_PTZ_ZOOMWIDE, textLocale.shrink);
|
|
2003
|
+
},
|
|
2004
|
+
onMouseUp: function onMouseUp() {
|
|
2005
|
+
return _this3._onOperationPtzUp('zoom', PtzCmd.MW_PTZ_ZOOMWIDESTOP, textLocale.narrowingStop);
|
|
2006
|
+
}
|
|
2007
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2008
|
+
className: "pzt-operateIcon-ptzZoom"
|
|
2009
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2010
|
+
className: "pzt-operateIcon-ptzZoom-span1"
|
|
2011
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
2012
|
+
className: "pzt-operateIcon-ptzZoom-span2"
|
|
2013
|
+
}, textLocale.multiplicity), /*#__PURE__*/React.createElement("span", {
|
|
2014
|
+
className: "pzt-operateIcon-ptzZoom-span3"
|
|
2015
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2016
|
+
className: "pzt-operateIcon-ptzZoomAddIcon",
|
|
2017
|
+
title: textLocale.enlarge,
|
|
2018
|
+
onMouseDown: function onMouseDown() {
|
|
2019
|
+
return _this3.OnOperationPtzDown('zoom', PtzCmd.MW_PTZ_ZOOMTELE, textLocale.enlarge);
|
|
2020
|
+
},
|
|
2021
|
+
onMouseUp: function onMouseUp() {
|
|
2022
|
+
return _this3._onOperationPtzUp('zoom', PtzCmd.MW_PTZ_ZOOMTELESTOP, textLocale.amplificationStop);
|
|
2023
|
+
}
|
|
2024
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
2025
|
+
className: "pzt-operateIcon-ptzForcusSubtractIcon",
|
|
2026
|
+
title: textLocale.reducedFocus,
|
|
2027
|
+
onMouseDown: function onMouseDown() {
|
|
2028
|
+
return _this3.OnOperationPtzDown('forcus', PtzCmd.MW_PTZ_FOCUSNEAR, textLocale.reducedFocus);
|
|
2029
|
+
},
|
|
2030
|
+
onMouseUp: function onMouseUp() {
|
|
2031
|
+
return _this3._onOperationPtzUp('forcus', PtzCmd.MW_PTZ_FOCUSNEARSTOP, textLocale.reducedFocusStop);
|
|
2032
|
+
}
|
|
2033
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2034
|
+
className: "pzt-operateIcon-ptzForcus"
|
|
2035
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2036
|
+
className: "pzt-operateIcon-ptzForcus-span1"
|
|
2037
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
2038
|
+
className: "pzt-operateIcon-ptzForcus-span2"
|
|
2039
|
+
}, textLocale.focus), /*#__PURE__*/React.createElement("span", {
|
|
2040
|
+
className: "pzt-operateIcon-ptzForcus-span3"
|
|
2041
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2042
|
+
className: "pzt-operateIcon-ptzForcusAddIcon",
|
|
2043
|
+
title: textLocale.increaseFocus,
|
|
2044
|
+
onMouseDown: function onMouseDown() {
|
|
2045
|
+
return _this3.OnOperationPtzDown('forcus', PtzCmd.MW_PTZ_FOCUSFAR, textLocale.increaseFocus);
|
|
2046
|
+
},
|
|
2047
|
+
onMouseUp: function onMouseUp() {
|
|
2048
|
+
return _this3._onOperationPtzUp('forcus', PtzCmd.MW_PTZ_FOCUSFARSTOP, textLocale.increasedFocusStop);
|
|
2049
|
+
}
|
|
2050
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
2051
|
+
className: "pzt-operateIcon-ptzIrisSubtractIcon",
|
|
2052
|
+
title: textLocale.reduceAperture,
|
|
2053
|
+
onMouseDown: function onMouseDown() {
|
|
2054
|
+
return _this3.OnOperationPtzDown('iris', PtzCmd.MW_PTZ_IRISCLOSE, textLocale.reduceAperture);
|
|
2055
|
+
},
|
|
2056
|
+
onMouseUp: function onMouseUp() {
|
|
2057
|
+
return _this3._onOperationPtzUp('iris', PtzCmd.MW_PTZ_IRISCLOSESTOP, textLocale.reduceAertureStop);
|
|
2058
|
+
}
|
|
2059
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2060
|
+
className: "pzt-operateIcon-ptzIris"
|
|
2061
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2062
|
+
className: "pzt-operateIcon-ptzIris-span1"
|
|
2063
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
2064
|
+
className: "pzt-operateIcon-ptzIris-span2"
|
|
2065
|
+
}, textLocale.aperture), /*#__PURE__*/React.createElement("span", {
|
|
2066
|
+
className: "pzt-operateIcon-ptzIris-span3"
|
|
2067
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2068
|
+
className: "pzt-operateIcon-ptzIrisAddIcon",
|
|
2069
|
+
title: textLocale.increaseAperture,
|
|
2070
|
+
onMouseDown: function onMouseDown() {
|
|
2071
|
+
return _this3.OnOperationPtzDown('iris', PtzCmd.MW_PTZ_IRISOPEN, textLocale.increaseAperture);
|
|
2072
|
+
},
|
|
2073
|
+
onMouseUp: function onMouseUp() {
|
|
2074
|
+
return _this3._onOperationPtzUp('iris', PtzCmd.MW_PTZ_IRISOPENSTOP, textLocale.increaseApertureStop);
|
|
2075
|
+
}
|
|
2076
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
2077
|
+
className: "ptzctr-body-right"
|
|
2078
|
+
}, /*#__PURE__*/React.createElement(Tabs, {
|
|
2079
|
+
className: "ptzctr-body-right-tab",
|
|
2080
|
+
size: "small",
|
|
2081
|
+
onChange: this._onclickChange
|
|
2082
|
+
}, /*#__PURE__*/React.createElement(TabPane, {
|
|
2083
|
+
tab: textLocale.preset,
|
|
2084
|
+
key: "1"
|
|
2085
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Select, {
|
|
2086
|
+
className: "ant-select",
|
|
2087
|
+
placeholder: textLocale.pleaseChoosePreset,
|
|
2088
|
+
style: {
|
|
2089
|
+
width: '168px',
|
|
2090
|
+
height: '25px'
|
|
2091
|
+
},
|
|
2092
|
+
dropdownStyle: {
|
|
2093
|
+
backgroundColor: ' #222222',
|
|
2094
|
+
color: 'white',
|
|
2095
|
+
borderRadius: '0px'
|
|
2096
|
+
},
|
|
2097
|
+
dropdownMatchSelectWidth: true,
|
|
2098
|
+
key: curSelectedPreset == null ? '' : curSelectedPreset.PresetValue,
|
|
2099
|
+
value: curSelectedPreset == null ? '' : curSelectedPreset.PresetDes,
|
|
2100
|
+
onChange: this._onPresetSelectedChange,
|
|
2101
|
+
popupClassName: "".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME, " select-popup-class-name")
|
|
2102
|
+
}, presetListOptions.map(function (option) {
|
|
2103
|
+
return /*#__PURE__*/React.createElement(Option, {
|
|
2104
|
+
className: "ant-select-option",
|
|
2105
|
+
style: {
|
|
2106
|
+
fontsize: '12px',
|
|
2107
|
+
color: '#c3c3c3'
|
|
2108
|
+
},
|
|
2109
|
+
key: option.PresetValue,
|
|
2110
|
+
value: option.PresetDes
|
|
2111
|
+
}, option.PresetDes + '[' + option.PresetValue + ']');
|
|
2112
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2113
|
+
//title="转到预置位"
|
|
2114
|
+
title: textLocale.transferToPreset,
|
|
2115
|
+
className: "ptzctr-preset-jumptoIcon",
|
|
2116
|
+
onClick: this._usePreset
|
|
2117
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2118
|
+
title: textLocale.increasePreset,
|
|
2119
|
+
className: "ptzctr-preset-addIcon",
|
|
2120
|
+
onMouseUp: this._onSetPresetClick
|
|
2121
|
+
}, /*#__PURE__*/React.createElement(UModal //预置位添加窗体
|
|
2122
|
+
, {
|
|
2123
|
+
title: textLocale.addPreset,
|
|
2124
|
+
theme: theme,
|
|
2125
|
+
className: "ptzctr-modal ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2126
|
+
visible: isShowPresetAddForm,
|
|
2127
|
+
onCancel: this._onSetPresetCancel,
|
|
2128
|
+
onOk: this._addPresetClick,
|
|
2129
|
+
maskClosable: false,
|
|
2130
|
+
destroyOnClose: true,
|
|
2131
|
+
width: "467px",
|
|
2132
|
+
height: "260px",
|
|
2133
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2134
|
+
key: "confirm",
|
|
2135
|
+
btnType: "primary",
|
|
2136
|
+
theme: theme,
|
|
2137
|
+
onClick: this._addPresetClick
|
|
2138
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2139
|
+
key: "cancel",
|
|
2140
|
+
theme: theme,
|
|
2141
|
+
onClick: this._onSetPresetCancel
|
|
2142
|
+
}, textLocale.cancelText)]
|
|
2143
|
+
}, /*#__PURE__*/React.createElement(PtzPresetAddCtr, {
|
|
2144
|
+
ref: function ref(_ref3) {
|
|
2145
|
+
return _this3.presetAddCtrDom = _ref3;
|
|
2146
|
+
},
|
|
2147
|
+
presetListOptions: presetListOptions,
|
|
2148
|
+
textLocale: textLocale,
|
|
2149
|
+
theme: theme
|
|
2150
|
+
})), /*#__PURE__*/React.createElement(UModal //预置位预置位修改提示窗体:如果在预置位添加窗体中选择是已有的预置位,则会显示是否进行覆盖的提示
|
|
2151
|
+
, {
|
|
2152
|
+
className: "ptzctr-modal-prompt ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2153
|
+
theme: theme,
|
|
2154
|
+
title: textLocale.reminder,
|
|
2155
|
+
width: "320px",
|
|
2156
|
+
visible: isShowModifyPromptForm,
|
|
2157
|
+
onCancel: this._presetAddPromptCancel,
|
|
2158
|
+
onOk: this._presetAddPromptOK,
|
|
2159
|
+
maskClosable: false,
|
|
2160
|
+
destroyOnClose: true,
|
|
2161
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2162
|
+
key: "confirm",
|
|
2163
|
+
type: "primary",
|
|
2164
|
+
theme: theme,
|
|
2165
|
+
onClick: this._presetAddPromptOK
|
|
2166
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2167
|
+
key: "cancel",
|
|
2168
|
+
theme: theme,
|
|
2169
|
+
onClick: this._presetAddPromptCancel
|
|
2170
|
+
}, textLocale.cancelText)]
|
|
2171
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2172
|
+
className: "ptz-delprompt-main"
|
|
2173
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2174
|
+
className: "prompt-img"
|
|
2175
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
2176
|
+
className: "prompt-span"
|
|
2177
|
+
}, textLocale.coverPresetTip)))), /*#__PURE__*/React.createElement("div", {
|
|
2178
|
+
title: textLocale.syncPreset,
|
|
2179
|
+
ref: function ref(el) {
|
|
2180
|
+
return _this3.synchrodataRef = el;
|
|
2181
|
+
},
|
|
2182
|
+
className: "ptzctr-preset-synchrodataIcon",
|
|
2183
|
+
onMouseUp: this._synchrodataPreset
|
|
2184
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2185
|
+
title: textLocale.deletePreset,
|
|
2186
|
+
className: "ptzctr-preset-delIcon",
|
|
2187
|
+
onClick: this._onDelPresetHandleClick
|
|
2188
|
+
}), /*#__PURE__*/React.createElement(UModal, {
|
|
2189
|
+
title: textLocale.deletePreset,
|
|
2190
|
+
theme: theme,
|
|
2191
|
+
className: "ptzctr-preset-delete ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2192
|
+
visible: isShowDelPromptForm,
|
|
2193
|
+
width: "600px",
|
|
2194
|
+
destroyOnClose: true,
|
|
2195
|
+
maskClosable: false,
|
|
2196
|
+
onCancel: this._onDelPresetHandleCancle,
|
|
2197
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2198
|
+
key: "confirm",
|
|
2199
|
+
btnType: "primary",
|
|
2200
|
+
theme: theme,
|
|
2201
|
+
onClick: this._delPreset
|
|
2202
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2203
|
+
key: "cancel",
|
|
2204
|
+
theme: theme,
|
|
2205
|
+
onClick: this._onDelPresetHandleCancle
|
|
2206
|
+
}, textLocale.cancelText)]
|
|
2207
|
+
}, /*#__PURE__*/React.createElement(UTable, {
|
|
2208
|
+
className: "ptzctr-preset-delete-table ".concat(0 === presetListOptions.length ? 'ptzctr-preset-table-no-source' : ''),
|
|
2209
|
+
columns: this.presetColumns,
|
|
2210
|
+
theme: theme,
|
|
2211
|
+
pagination: false,
|
|
2212
|
+
rowKey: "PresetValue",
|
|
2213
|
+
scroll: {
|
|
2214
|
+
y: true
|
|
2215
|
+
},
|
|
2216
|
+
dataSource: presetListOptions,
|
|
2217
|
+
rowSelection: this.deleteRowSelection
|
|
2218
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2219
|
+
title: textLocale.seGuardPosition,
|
|
2220
|
+
className: "ptzctr-preset-setguardIcon",
|
|
2221
|
+
onMouseUp: this._onGuardTimeHandleClick
|
|
2222
|
+
}, /*#__PURE__*/React.createElement(UModal, {
|
|
2223
|
+
title: textLocale.setGuard,
|
|
2224
|
+
theme: theme,
|
|
2225
|
+
className: "ptzctr-modal ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2226
|
+
visible: isShowAutoGuardTimeForm,
|
|
2227
|
+
width: "450px",
|
|
2228
|
+
height: "200px",
|
|
2229
|
+
destroyOnClose: true,
|
|
2230
|
+
maskClosable: false,
|
|
2231
|
+
onCancel: this._onGuardTimeHandleCancel,
|
|
2232
|
+
onOk: this._onGuardTimeHandleOK,
|
|
2233
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2234
|
+
key: "confirm",
|
|
2235
|
+
btnType: "primary",
|
|
2236
|
+
theme: theme,
|
|
2237
|
+
onClick: this._onGuardTimeHandleOK
|
|
2238
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2239
|
+
key: "cancel",
|
|
2240
|
+
theme: theme,
|
|
2241
|
+
onClick: this._onGuardTimeHandleCancel
|
|
2242
|
+
}, textLocale.cancelText)]
|
|
2243
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2244
|
+
className: "ptzctr-setguardtime-main"
|
|
2245
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2246
|
+
className: "setguardtime-span1"
|
|
2247
|
+
}, textLocale.automaticGuardTime), /*#__PURE__*/React.createElement(UInputNumber, {
|
|
2248
|
+
placeholder: textLocale.enterNumberBetween,
|
|
2249
|
+
theme: theme,
|
|
2250
|
+
className: "setguardtime-input",
|
|
2251
|
+
onChange: this._onGuardTimeHandleChange,
|
|
2252
|
+
min: 10,
|
|
2253
|
+
max: 3600,
|
|
2254
|
+
defaultValue: 300,
|
|
2255
|
+
maxLength: 4,
|
|
2256
|
+
value: autoGuardTime
|
|
2257
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
2258
|
+
className: "setguardtime-span2"
|
|
2259
|
+
}, textLocale.second)))))), /*#__PURE__*/React.createElement(TabPane, {
|
|
2260
|
+
tab: textLocale.cruise,
|
|
2261
|
+
key: "2"
|
|
2262
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Select, {
|
|
2263
|
+
placeholder: textLocale.pleaseSelecCruiseLine,
|
|
2264
|
+
style: {
|
|
2265
|
+
width: '168px',
|
|
2266
|
+
height: '25px'
|
|
2267
|
+
},
|
|
2268
|
+
className: "ant-select",
|
|
2269
|
+
dropdownStyle: {
|
|
2270
|
+
backgroundColor: ' #222222',
|
|
2271
|
+
color: 'white',
|
|
2272
|
+
borderRadius: '0px'
|
|
2273
|
+
},
|
|
2274
|
+
dropdownMatchSelectWidth: true,
|
|
2275
|
+
key: curCruisePathInfo === null ? '' : curCruisePathInfo.cruisePathCode,
|
|
2276
|
+
value: curCruisePathInfo === null ? '' : curCruisePathInfo.cruisePathName,
|
|
2277
|
+
onChange: this._onCruisePathSelectedChange,
|
|
2278
|
+
popupClassName: "".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME, " select-popup-class-name")
|
|
2279
|
+
}, cruisePathList.map(function (option) {
|
|
2280
|
+
return /*#__PURE__*/React.createElement(Option, {
|
|
2281
|
+
className: "ant-select-option",
|
|
2282
|
+
style: {
|
|
2283
|
+
fontsize: '12px',
|
|
2284
|
+
color: '#c3c3c3'
|
|
2285
|
+
},
|
|
2286
|
+
key: option.cruisePathCode,
|
|
2287
|
+
value: option.cruisePathName
|
|
2288
|
+
}, option.cruisePathName);
|
|
2289
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
2290
|
+
title: textLocale.startingCruise,
|
|
2291
|
+
className: "ptzctr-cruisr-startIcon",
|
|
2292
|
+
onClick: this._startCruisePath
|
|
2293
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2294
|
+
title: textLocale.stopCruising,
|
|
2295
|
+
className: "ptzctr-cruisr-stopIcon",
|
|
2296
|
+
onClick: this._stopCruisePath
|
|
2297
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2298
|
+
title: textLocale.addCruiseLine,
|
|
2299
|
+
className: "ptzctr-cruisr-addIcon",
|
|
2300
|
+
onMouseUp: this._onAddCruisrHandleClick
|
|
2301
|
+
}, /*#__PURE__*/React.createElement(UModal //巡航线添加窗体
|
|
2302
|
+
, {
|
|
2303
|
+
title: textLocale.addCruiseLine,
|
|
2304
|
+
theme: theme,
|
|
2305
|
+
className: "ptzctr-cruisr-modal ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2306
|
+
visible: isShosAddCruisrForm,
|
|
2307
|
+
width: "1200px",
|
|
2308
|
+
height: "600px",
|
|
2309
|
+
destroyOnClose: true,
|
|
2310
|
+
maskClosable: false,
|
|
2311
|
+
onCancel: this._onAddCruisrHandleCancle,
|
|
2312
|
+
onOk: this._createCruisePath,
|
|
2313
|
+
style: {
|
|
2314
|
+
top: '8%'
|
|
2315
|
+
},
|
|
2316
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2317
|
+
key: "confirm",
|
|
2318
|
+
btnType: "primary",
|
|
2319
|
+
theme: theme,
|
|
2320
|
+
onClick: this._createCruisePath
|
|
2321
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2322
|
+
key: "cancel",
|
|
2323
|
+
theme: theme,
|
|
2324
|
+
onClick: this._onAddCruisrHandleCancle
|
|
2325
|
+
}, textLocale.cancelText)]
|
|
2326
|
+
}, /*#__PURE__*/React.createElement(PtzAddCruisePathCtr, {
|
|
2327
|
+
ref: function ref(_ref4) {
|
|
2328
|
+
return _this3.CruisePathAddCtrDom = _ref4;
|
|
2329
|
+
},
|
|
2330
|
+
isCreat: true,
|
|
2331
|
+
cameraInfo: this.curVideoCam,
|
|
2332
|
+
presetListOptions: presetListOptions,
|
|
2333
|
+
curCruisePathInfo: curCruisePathInfo,
|
|
2334
|
+
textLocale: textLocale,
|
|
2335
|
+
theme: theme,
|
|
2336
|
+
VMSdkType: VMSdkType
|
|
2337
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
2338
|
+
title: textLocale.deletionCruises,
|
|
2339
|
+
className: "ptzctr-cruisr-delIcon",
|
|
2340
|
+
onMouseUp: this._onDelCruisrHandleClick
|
|
2341
|
+
}, /*#__PURE__*/React.createElement(UModal //巡航线删除提示窗体
|
|
2342
|
+
, {
|
|
2343
|
+
title: textLocale.reminder,
|
|
2344
|
+
theme: theme,
|
|
2345
|
+
className: "ptzctr-modal-prompt ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2346
|
+
visible: isShowDelCruisrForm,
|
|
2347
|
+
width: "320px",
|
|
2348
|
+
destroyOnClose: true,
|
|
2349
|
+
maskClosable: false,
|
|
2350
|
+
onCancel: this._onDelCruisrHandleCancle,
|
|
2351
|
+
onOk: this._delCruisePath,
|
|
2352
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2353
|
+
key: "confirm",
|
|
2354
|
+
btnType: "primary",
|
|
2355
|
+
theme: theme,
|
|
2356
|
+
onClick: this._delCruisePath
|
|
2357
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2358
|
+
key: "cancel",
|
|
2359
|
+
theme: theme,
|
|
2360
|
+
onClick: this._onDelCruisrHandleCancle
|
|
2361
|
+
}, textLocale.cancelText)]
|
|
2362
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2363
|
+
className: "ptz-delprompt-main"
|
|
2364
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2365
|
+
className: "prompt-img"
|
|
2366
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
2367
|
+
className: "prompt-span"
|
|
2368
|
+
}, textLocale.recoverableSurDeleteCruiseLine)))), /*#__PURE__*/React.createElement("div", {
|
|
2369
|
+
title: textLocale.editRoute,
|
|
2370
|
+
className: "ptzctr-cruisr-editIcon",
|
|
2371
|
+
onMouseUp: this._onModCruisrHandleClick
|
|
2372
|
+
}, /*#__PURE__*/React.createElement(UModal //巡航线添加窗体
|
|
2373
|
+
, {
|
|
2374
|
+
title: textLocale.editRoute,
|
|
2375
|
+
theme: theme,
|
|
2376
|
+
className: "ptzctr-cruisr-modal ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2377
|
+
visible: isShowModifyCruisrForm,
|
|
2378
|
+
width: "1200px",
|
|
2379
|
+
height: "600px",
|
|
2380
|
+
destroyOnClose: true,
|
|
2381
|
+
maskClosable: false,
|
|
2382
|
+
onCancel: this._onModCruisrHandleCancle,
|
|
2383
|
+
onOk: this._modifyCruisePath,
|
|
2384
|
+
style: {
|
|
2385
|
+
top: '8%'
|
|
2386
|
+
},
|
|
2387
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2388
|
+
key: "confirm",
|
|
2389
|
+
btnType: "primary",
|
|
2390
|
+
theme: theme,
|
|
2391
|
+
onClick: this._modifyCruisePath
|
|
2392
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2393
|
+
key: "cancel",
|
|
2394
|
+
theme: theme,
|
|
2395
|
+
onClick: this._onModCruisrHandleCancle
|
|
2396
|
+
}, textLocale.cancelText)]
|
|
2397
|
+
}, /*#__PURE__*/React.createElement(PtzAddCruisePathCtr, {
|
|
2398
|
+
ref: function ref(_ref5) {
|
|
2399
|
+
return _this3.CruisePathAddCtrDom = _ref5;
|
|
2400
|
+
},
|
|
2401
|
+
isCreat: false,
|
|
2402
|
+
cameraInfo: this.curVideoCam,
|
|
2403
|
+
presetListOptions: presetListOptions,
|
|
2404
|
+
curCruisePathInfo: curCruisePathInfo,
|
|
2405
|
+
textLocale: textLocale,
|
|
2406
|
+
theme: theme,
|
|
2407
|
+
VMSdkType: VMSdkType
|
|
2408
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
2409
|
+
title: textLocale.configuredCruisePlan,
|
|
2410
|
+
className: "ptzctr-cruisr-editPlanIcon",
|
|
2411
|
+
onMouseUp: this._onConfigCruisrHandleClick
|
|
2412
|
+
}, isShowConfigCruisrForm && /*#__PURE__*/React.createElement(ConfigCruisePathPlan, {
|
|
2413
|
+
modifyPlanInfo: modifyPlanInfo,
|
|
2414
|
+
CameraOrgCode: CameraOrgCode,
|
|
2415
|
+
isShowConfigCruisrForm: isShowConfigCruisrForm,
|
|
2416
|
+
onCancelCruisrHandleClick: this._onCancelCruisrHandleClick,
|
|
2417
|
+
cameraInfo: this.curVideoCam,
|
|
2418
|
+
textLocale: textLocale,
|
|
2419
|
+
theme: theme
|
|
2420
|
+
})))), /*#__PURE__*/React.createElement(TabPane, {
|
|
2421
|
+
tab: textLocale.guardPosition,
|
|
2422
|
+
key: "3"
|
|
2423
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
2424
|
+
className: "ptz-guard"
|
|
2425
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2426
|
+
className: "ptz-guard-span1"
|
|
2427
|
+
}, textLocale.enableNot), /*#__PURE__*/React.createElement(Radio.Group, {
|
|
2428
|
+
value: guardPlanStatus,
|
|
2429
|
+
className: "ant-radio",
|
|
2430
|
+
onChange: this._onGuardEnableChange
|
|
2431
|
+
}, /*#__PURE__*/React.createElement(Radio, {
|
|
2432
|
+
value: 0,
|
|
2433
|
+
style: {
|
|
2434
|
+
color: '#bdbdbd'
|
|
2435
|
+
}
|
|
2436
|
+
}, " ", textLocale.no), /*#__PURE__*/React.createElement(Radio, {
|
|
2437
|
+
value: 1,
|
|
2438
|
+
style: {
|
|
2439
|
+
color: '#bdbdbd'
|
|
2440
|
+
}
|
|
2441
|
+
}, " ", textLocale.yes)), /*#__PURE__*/React.createElement("div", {
|
|
2442
|
+
className: "ptz-guard-set"
|
|
2443
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
2444
|
+
style: guardEnable ? {
|
|
2445
|
+
color: '#3366CC',
|
|
2446
|
+
textDecoration: 'underline'
|
|
2447
|
+
} : {
|
|
2448
|
+
color: '#3F3F3F'
|
|
2449
|
+
},
|
|
2450
|
+
onClick: guardEnable ? this._onSetGuarClick : this.on
|
|
2451
|
+
}, guardPositionPlanList && guardPositionPlanList.length > 0 && Number(guardPositionPlanList[0].GuardPositionPlanCode) !== 0 ? textLocale.view + '>' : textLocale.set + '>'))), /*#__PURE__*/React.createElement(UModal, {
|
|
2452
|
+
title: textLocale.guardPositionSetting,
|
|
2453
|
+
theme: theme,
|
|
2454
|
+
className: "ptzctr-cruisr-modal ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2455
|
+
visible: isShowSetGuardForm,
|
|
2456
|
+
width: "640px",
|
|
2457
|
+
height: "550px",
|
|
2458
|
+
destroyOnClose: true,
|
|
2459
|
+
maskClosable: false,
|
|
2460
|
+
onCancel: this._onSetGuardHandleCancel,
|
|
2461
|
+
onOk: this._onSetGuardHandleOK,
|
|
2462
|
+
style: {
|
|
2463
|
+
top: '8%'
|
|
2464
|
+
},
|
|
2465
|
+
footer: [/*#__PURE__*/React.createElement(UButton, {
|
|
2466
|
+
key: "confirm",
|
|
2467
|
+
btnType: "primary",
|
|
2468
|
+
theme: theme,
|
|
2469
|
+
onClick: this._onSetGuardHandleOK
|
|
2470
|
+
}, textLocale.okText), /*#__PURE__*/React.createElement(UButton, {
|
|
2471
|
+
key: "cancel",
|
|
2472
|
+
theme: theme,
|
|
2473
|
+
onClick: this._onSetGuardHandleCancel
|
|
2474
|
+
}, textLocale.cancelText)]
|
|
2475
|
+
}, /*#__PURE__*/React.createElement(PtzSetGuardCtr, {
|
|
2476
|
+
ref: function ref(_ref6) {
|
|
2477
|
+
return _this3.ptzSetGuardCtrDom = _ref6;
|
|
2478
|
+
},
|
|
2479
|
+
cameraInfo: this.curVideoCam,
|
|
2480
|
+
presetListOptions: presetListOptions,
|
|
2481
|
+
guardPositionPlanList: guardPositionPlanList,
|
|
2482
|
+
textLocale: textLocale,
|
|
2483
|
+
theme: theme
|
|
2484
|
+
}))))))), isShowPtzMore && /*#__PURE__*/React.createElement("div", {
|
|
2485
|
+
className: "ptzctr-panel-morefunction ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME)
|
|
2486
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
2487
|
+
className: "morefunction-span"
|
|
2488
|
+
}, ' ', textLocale.presetSpeed + ':'), /*#__PURE__*/React.createElement(Slider, {
|
|
2489
|
+
className: "ptzctr-more-speed",
|
|
2490
|
+
marks: this.speedMarks,
|
|
2491
|
+
step: null,
|
|
2492
|
+
defaultValue: this.ptzSpeed,
|
|
2493
|
+
min: 1,
|
|
2494
|
+
max: 9,
|
|
2495
|
+
onChange: this._onPtzSpeedChange
|
|
2496
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
2497
|
+
className: isLightOn ? 'pztctr-more-lightOnIcon' : 'pztctr-more-lightIcon',
|
|
2498
|
+
title: textLocale.illumination,
|
|
2499
|
+
onClick: isLightOn ? function () {
|
|
2500
|
+
return _this3.OnOperationPtzDown('light', PtzCmd.MW_PTZ_LIGHTOFF, textLocale.turnOffLighting);
|
|
2501
|
+
} : function () {
|
|
2502
|
+
return _this3.OnOperationPtzDown('light', PtzCmd.MW_PTZ_LIGHTON, textLocale.turnLight);
|
|
2503
|
+
}
|
|
2504
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2505
|
+
className: isWipertOn ? 'pztctr-more-wiperOnIcon' : 'pztctr-more-wiperIcon',
|
|
2506
|
+
title: textLocale.windshieldWiper,
|
|
2507
|
+
onClick: isWipertOn ? function () {
|
|
2508
|
+
return _this3.OnOperationPtzDown('wiper', PtzCmd.MW_PTZ_BRUSHOFF, textLocale.turnOffWindshieldWipers);
|
|
2509
|
+
} : function () {
|
|
2510
|
+
return _this3.OnOperationPtzDown('wiper', PtzCmd.MW_PTZ_BRUSHON, textLocale.turnOnWiper);
|
|
2511
|
+
}
|
|
2512
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2513
|
+
className: isInfrareOn ? 'pztctr-more-infraredOnIcon' : 'pztctr-more-infraredIcon',
|
|
2514
|
+
title: textLocale.infrared,
|
|
2515
|
+
onClick: isWipertOn ? function () {
|
|
2516
|
+
return _this3.OnOperationPtzDown('infrare', PtzCmd.MW_PTZ_INFRAREDOFF, textLocale.turnOffInfrared);
|
|
2517
|
+
} : function () {
|
|
2518
|
+
return _this3.OnOperationPtzDown('infrare', PtzCmd.MW_PTZ_INFRAREDON, textLocale.turnOnInfrared);
|
|
2519
|
+
}
|
|
2520
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2521
|
+
className: isHeatOn ? 'pztctr-more-heatOnIcon' : 'pztctr-more-heatIcon',
|
|
2522
|
+
title: textLocale.heating,
|
|
2523
|
+
onClick: isWipertOn ? function () {
|
|
2524
|
+
return _this3.OnOperationPtzDown('heat', PtzCmd.MW_PTZ_HEATOFF, textLocale.offHeating);
|
|
2525
|
+
} : function () {
|
|
2526
|
+
return _this3.OnOperationPtzDown('heat', PtzCmd.MW_PTZ_HEATON, textLocale.openHeating);
|
|
2527
|
+
}
|
|
2528
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
2529
|
+
className: "ptzctr-panel-bottom ".concat(CONSTANT_IMOS_PLAYER_CAST_VIDEO_CLASSNAME),
|
|
2530
|
+
onClick: this._onShowMorePnl
|
|
2531
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2532
|
+
className: isShowPtzMore ? 'ptzctr-bottom-retractIcon' : 'ptzctr-bottom-spreadIcon'
|
|
2533
|
+
})));
|
|
2534
|
+
}
|
|
2535
|
+
}]);
|
|
2536
|
+
}(Component);
|
|
2537
|
+
export { PtzControlPanel as default };
|