@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,1530 @@
|
|
|
1
|
+
var _excluded = ["interfaceName", "paramType"];
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
4
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
6
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
7
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
8
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
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); }
|
|
12
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
15
|
+
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 }; })(); }
|
|
16
|
+
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); }
|
|
17
|
+
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); }
|
|
18
|
+
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); }); }; }
|
|
19
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20
|
+
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); } }
|
|
21
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
22
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
23
|
+
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); }
|
|
24
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25
|
+
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); }
|
|
26
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
27
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
28
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
29
|
+
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); }
|
|
30
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
31
|
+
import React, { Component } from 'react';
|
|
32
|
+
import classNames from 'classnames';
|
|
33
|
+
import { _getUrlParamWithoutHash, v5Token } from "../../globalFunc";
|
|
34
|
+
import GlobalFunc from "./InitFunc/GlobalFunc";
|
|
35
|
+
import { SWRestful } from "../../http";
|
|
36
|
+
import { HideDivClass, hideDivElement } from "./HideDiv";
|
|
37
|
+
import { loadScript, decrypt, queryVMSdkType, queryLocalSettingInfo } from "./toolsFunc/ToolsFunc";
|
|
38
|
+
import List from "../UList";
|
|
39
|
+
import UModal from "../UModal";
|
|
40
|
+
import UMessageBox from "../UMessageBox";
|
|
41
|
+
import UButton from "../UButton";
|
|
42
|
+
import UPanel from "../UPanel";
|
|
43
|
+
import UResTree from "../UResTree";
|
|
44
|
+
import UTreeIcon from "./Tree/UTreeIcon";
|
|
45
|
+
import VideoLive from "./VideoLive/VideoLive";
|
|
46
|
+
import VideoReply from "./VideoReply/VideoReply";
|
|
47
|
+
import VmsVideoLive from "./VmsVideoLive/VmsVideoLive";
|
|
48
|
+
import VmsVideoReplay from "./VmsVideoReply/VmsVideoReplay";
|
|
49
|
+
import { CUSTOM_PREFIX } from "../../globalVarious";
|
|
50
|
+
import "./Tree/treeIcon.less";
|
|
51
|
+
import "./index.less";
|
|
52
|
+
var U_RES_TYPE_E = UResTree.U_RES_TYPE_E;
|
|
53
|
+
var USider = UPanel.USider,
|
|
54
|
+
UContent = UPanel.UContent;
|
|
55
|
+
var UVideo = /*#__PURE__*/function (_Component) {
|
|
56
|
+
function UVideo(props) {
|
|
57
|
+
var _this;
|
|
58
|
+
_classCallCheck(this, UVideo);
|
|
59
|
+
_this = _callSuper(this, UVideo, [props]);
|
|
60
|
+
//框架下发iframe偏移量消息
|
|
61
|
+
_this._resolveMessage = function (e) {
|
|
62
|
+
var _this$props = _this.props,
|
|
63
|
+
playerTitle = _this$props.playerTitle,
|
|
64
|
+
playerOffSet = _this$props.playerOffSet,
|
|
65
|
+
_this$props$isGlobalV = _this$props.isGlobalVideo,
|
|
66
|
+
isGlobalVideo = _this$props$isGlobalV === void 0 ? true : _this$props$isGlobalV;
|
|
67
|
+
// 主题切换悬浮控件适配偏移量(portal中的消息类型)
|
|
68
|
+
if (_this.state.innerVMSdkType === 'imosPlayer' && e.data && e.data.source && e.data.source === 'floatInfo') {
|
|
69
|
+
var message = e.data.message;
|
|
70
|
+
if (message && message.position) {
|
|
71
|
+
var _message$position = message.position,
|
|
72
|
+
_message$position$x = _message$position.x,
|
|
73
|
+
x = _message$position$x === void 0 ? 0 : _message$position$x,
|
|
74
|
+
_message$position$y = _message$position.y,
|
|
75
|
+
y = _message$position$y === void 0 ? 64 : _message$position$y;
|
|
76
|
+
if (!playerOffSet) {
|
|
77
|
+
console.log('UVideo-------------------框架主题改变重新下发悬浮控件playerOffSet:', message.position, [x, y]);
|
|
78
|
+
window.imosPlayer.changeSpySetting({
|
|
79
|
+
title: playerTitle || _this.title,
|
|
80
|
+
offset: [x, y]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
// 为了适配国产系统实况画面偏移问题,需要再调用设置窗口参数的方法
|
|
84
|
+
if (message.windowParams) {
|
|
85
|
+
console.log('UVideo------------------设置窗口宽高参数:', message.windowParams);
|
|
86
|
+
window.imosPlayer.setWindowParams(message.windowParams);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
//三四级菜单框架发送的悬浮偏移量和title变化消息
|
|
91
|
+
if (_this.state.innerVMSdkType === 'imosPlayer' && e.data && e.data.eventName) {
|
|
92
|
+
var _e$data = e.data,
|
|
93
|
+
_message = _e$data.message,
|
|
94
|
+
eventName = _e$data.eventName;
|
|
95
|
+
if (_message) {
|
|
96
|
+
if (eventName === 'getOffset') {
|
|
97
|
+
//三四级菜单收起和展开时偏移量消息
|
|
98
|
+
var _message$x = _message.x,
|
|
99
|
+
_x = _message$x === void 0 ? 0 : _message$x,
|
|
100
|
+
_message$y = _message.y,
|
|
101
|
+
_y = _message$y === void 0 ? 64 : _message$y;
|
|
102
|
+
if (!playerOffSet) {
|
|
103
|
+
console.log('UVideo-------------------框架主题改变重新下发悬浮控件getOffset:', _message, [_x, _y]);
|
|
104
|
+
window.imosPlayer.changeSpySetting({
|
|
105
|
+
title: playerTitle || _this.title,
|
|
106
|
+
offset: [_x, _y]
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
} else if (eventName === 'getTitle') {
|
|
110
|
+
//三四级菜单框架下title变更消息(micro-app中业务)
|
|
111
|
+
if (!playerTitle && isGlobalVideo) {
|
|
112
|
+
console.log('UVideo-------------------框架主题改变重新下发悬浮控件getTitle:', _message);
|
|
113
|
+
window.imosPlayer.changeSpySetting({
|
|
114
|
+
title: _message
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
//#region 初始化相关操作
|
|
122
|
+
// 查询中台类型并初始化播放器
|
|
123
|
+
_this._queryPlatformType = /*#__PURE__*/function () {
|
|
124
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(platformType) {
|
|
125
|
+
var _this$props2, VMSdkType, textLocale, formType, params, result, resInfo, afterLoadSdk, _type, _type2, _t;
|
|
126
|
+
return _regenerator().w(function (_context) {
|
|
127
|
+
while (1) switch (_context.p = _context.n) {
|
|
128
|
+
case 0:
|
|
129
|
+
_this$props2 = _this.props, VMSdkType = _this$props2.VMSdkType, textLocale = _this$props2.textLocale;
|
|
130
|
+
formType = platformType;
|
|
131
|
+
if (formType) {
|
|
132
|
+
_context.n = 4;
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
// 初始化,查询中台类型与信息等
|
|
136
|
+
console.log('UVideo-------------------开始查询中台类型');
|
|
137
|
+
params = {
|
|
138
|
+
url: '/UNIFIED/sw/enable/multi/user/system',
|
|
139
|
+
method: 'GET'
|
|
140
|
+
};
|
|
141
|
+
_context.n = 1;
|
|
142
|
+
return SWRestful.fetch(params).catch(function (err) {
|
|
143
|
+
console.error(err);
|
|
144
|
+
});
|
|
145
|
+
case 1:
|
|
146
|
+
result = _context.v;
|
|
147
|
+
resInfo = result.data;
|
|
148
|
+
console.log('UVideo-------------------查询中台信息Info: ', resInfo);
|
|
149
|
+
if (!(resInfo.errCode !== 0)) {
|
|
150
|
+
_context.n = 2;
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
console.error('获取视频管理平台类型失败', resInfo);
|
|
154
|
+
UMessageBox.error(textLocale.queryPlatformTypeFail);
|
|
155
|
+
return _context.a(2);
|
|
156
|
+
case 2:
|
|
157
|
+
formType = resInfo.result.multiUserSystem;
|
|
158
|
+
_this.setState({
|
|
159
|
+
innerPlatFormType: resInfo.result.multiUserSystem,
|
|
160
|
+
innerVMSPlatFormLoginInfo: resInfo.result.multiUserSystem === 3 ? {
|
|
161
|
+
vmsIP: resInfo.result.platform,
|
|
162
|
+
vmsUser: resInfo.result.userName,
|
|
163
|
+
vmsPassword: decrypt(resInfo.result.pwd) // 保存明文密码
|
|
164
|
+
} : undefined
|
|
165
|
+
});
|
|
166
|
+
case 3:
|
|
167
|
+
_context.n = 5;
|
|
168
|
+
break;
|
|
169
|
+
case 4:
|
|
170
|
+
// 初始化播放器
|
|
171
|
+
console.log('UVideo-------------------已指定中台类型,开始初始化播放器', platformType);
|
|
172
|
+
_this.setState({
|
|
173
|
+
innerPlatFormType: platformType
|
|
174
|
+
});
|
|
175
|
+
case 5:
|
|
176
|
+
if (!(formType === 1)) {
|
|
177
|
+
_context.n = 13;
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
// VM中台
|
|
181
|
+
// 播放器初始化完成后调用
|
|
182
|
+
afterLoadSdk = function afterLoadSdk(type) {
|
|
183
|
+
console.log('UVideo-------------------播放器类型', type);
|
|
184
|
+
_this.setState({
|
|
185
|
+
sdkLoaded: true,
|
|
186
|
+
innerVMSdkType: type
|
|
187
|
+
}, function () {
|
|
188
|
+
_this._afterInitSuccess(); // 外部传入的初始化成功函数调用
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
if (!(VMSdkType === 'imosSdk')) {
|
|
192
|
+
_context.n = 6;
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
// 外部传入播放器拼接方案,初始化imosSdk
|
|
196
|
+
_this._loadImosSdk(function () {
|
|
197
|
+
afterLoadSdk(VMSdkType);
|
|
198
|
+
});
|
|
199
|
+
_context.n = 13;
|
|
200
|
+
break;
|
|
201
|
+
case 6:
|
|
202
|
+
if (!(VMSdkType === 'imosPlayer')) {
|
|
203
|
+
_context.n = 7;
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
// 外部传入播放器悬浮控件方案,初始化imosPlayer
|
|
207
|
+
_this._loadImosPlayer(function () {
|
|
208
|
+
afterLoadSdk(VMSdkType);
|
|
209
|
+
});
|
|
210
|
+
_context.n = 13;
|
|
211
|
+
break;
|
|
212
|
+
case 7:
|
|
213
|
+
if (!(VMSdkType === 'auto')) {
|
|
214
|
+
_context.n = 12;
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
_context.p = 8;
|
|
218
|
+
_context.n = 9;
|
|
219
|
+
return queryVMSdkType();
|
|
220
|
+
case 9:
|
|
221
|
+
_type = _context.v;
|
|
222
|
+
if (_type === 'imosSdk') {
|
|
223
|
+
_this._loadImosSdk(function () {
|
|
224
|
+
afterLoadSdk(_type);
|
|
225
|
+
});
|
|
226
|
+
} else {
|
|
227
|
+
_this._loadImosPlayer(function () {
|
|
228
|
+
afterLoadSdk(_type);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
_context.n = 11;
|
|
232
|
+
break;
|
|
233
|
+
case 10:
|
|
234
|
+
_context.p = 10;
|
|
235
|
+
_t = _context.v;
|
|
236
|
+
console.log('UVideo-------------------查询播放器类型失败,加载imosSdk方案, error:', _t);
|
|
237
|
+
_this._loadImosSdk(function () {
|
|
238
|
+
afterLoadSdk(type);
|
|
239
|
+
});
|
|
240
|
+
case 11:
|
|
241
|
+
_context.n = 13;
|
|
242
|
+
break;
|
|
243
|
+
case 12:
|
|
244
|
+
// 外部未指定,或传入的方案有误,用拼接方案,避免其他部门在全局配置为悬浮时没有适配挖孔导致的问题,并初始化相应类型插件
|
|
245
|
+
try {
|
|
246
|
+
// let type = await queryVMSdkType();
|
|
247
|
+
// if (type === 'imosSdk') {
|
|
248
|
+
// this._loadImosSdk(() => {
|
|
249
|
+
// afterLoadSdk(type);
|
|
250
|
+
// });
|
|
251
|
+
// } else {
|
|
252
|
+
// this._loadImosPlayer(() => {
|
|
253
|
+
// afterLoadSdk(type);
|
|
254
|
+
// });
|
|
255
|
+
// }
|
|
256
|
+
_type2 = 'imosSdk';
|
|
257
|
+
_this._loadImosSdk(function () {
|
|
258
|
+
afterLoadSdk(_type2);
|
|
259
|
+
});
|
|
260
|
+
} catch (error) {
|
|
261
|
+
console.log('UVideo-------------------查询播放器类型失败,加载imosSdk方案, error:', error);
|
|
262
|
+
_this._loadImosSdk(function () {
|
|
263
|
+
afterLoadSdk(type);
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
case 13:
|
|
267
|
+
return _context.a(2);
|
|
268
|
+
}
|
|
269
|
+
}, _callee, null, [[8, 10]]);
|
|
270
|
+
}));
|
|
271
|
+
return function (_x2) {
|
|
272
|
+
return _ref.apply(this, arguments);
|
|
273
|
+
};
|
|
274
|
+
}();
|
|
275
|
+
// 外部指定中台类型,直接初始化播放器(目前只支持VM中台)
|
|
276
|
+
_this.appointPlatformType = function () {
|
|
277
|
+
var VMSdkType = _this.props.VMSdkType;
|
|
278
|
+
// 记录中台类型
|
|
279
|
+
_this.setState({
|
|
280
|
+
innerPlatFormType: 1
|
|
281
|
+
});
|
|
282
|
+
// 播放器初始化完成后调用
|
|
283
|
+
var afterLoadSdk = function afterLoadSdk(type) {
|
|
284
|
+
console.log('UVideo-------------------播放器类型', type);
|
|
285
|
+
_this.setState({
|
|
286
|
+
sdkLoaded: true,
|
|
287
|
+
innerVMSdkType: type
|
|
288
|
+
}, function () {
|
|
289
|
+
_this._afterInitSuccess(); // 外部传入的初始化成功函数调用
|
|
290
|
+
});
|
|
291
|
+
};
|
|
292
|
+
if (VMSdkType === 'imosSdk') {
|
|
293
|
+
// 外部传入播放器拼接方案,初始化imosSdk
|
|
294
|
+
_this._loadImosSdk(function () {
|
|
295
|
+
afterLoadSdk(VMSdkType);
|
|
296
|
+
});
|
|
297
|
+
} else if (VMSdkType === 'imosPlayer') {
|
|
298
|
+
// 外部传入播放器悬浮控件方案,初始化imosPlayer
|
|
299
|
+
_this._loadImosPlayer(function () {
|
|
300
|
+
afterLoadSdk(VMSdkType);
|
|
301
|
+
});
|
|
302
|
+
} else {
|
|
303
|
+
var _type3 = 'imosSdk';
|
|
304
|
+
_this._loadImosSdk(function () {
|
|
305
|
+
afterLoadSdk(_type3);
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* 获取端口信息
|
|
311
|
+
*/
|
|
312
|
+
_this._getPortInfo = function () {
|
|
313
|
+
var _this$props3 = _this.props,
|
|
314
|
+
VMIP = _this$props3.VMIP,
|
|
315
|
+
_this$props3$isPortAg = _this$props3.isPortAggregation,
|
|
316
|
+
isPortAggregation = _this$props3$isPortAg === void 0 ? false : _this$props3$isPortAg;
|
|
317
|
+
// ums端口聚合使用sw框架的端口
|
|
318
|
+
if (isPortAggregation) {
|
|
319
|
+
return _this._getSWPort();
|
|
320
|
+
} else {
|
|
321
|
+
return VMIP ? 8093 : 4706;
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* 获取加载ip信息
|
|
326
|
+
*/
|
|
327
|
+
_this._getIpInfo = function () {
|
|
328
|
+
var _this$props4 = _this.props,
|
|
329
|
+
VMIP = _this$props4.VMIP,
|
|
330
|
+
_this$props4$isPortAg = _this$props4.isPortAggregation,
|
|
331
|
+
isPortAggregation = _this$props4$isPortAg === void 0 ? false : _this$props4$isPortAg;
|
|
332
|
+
// ums端口聚合使用sw框架的端口
|
|
333
|
+
if (isPortAggregation) {
|
|
334
|
+
return _this.newInfo.nginxIp;
|
|
335
|
+
} else {
|
|
336
|
+
return VMIP ? VMIP : _this.newInfo.nginxIp;
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* 加载imosSdk.min.js文件或imosPlayer.min.js文件路径
|
|
341
|
+
*/
|
|
342
|
+
_this._getLoadJsInfo = function () {
|
|
343
|
+
var _this$props5 = _this.props,
|
|
344
|
+
VMIP = _this$props5.VMIP,
|
|
345
|
+
_this$props5$isPortAg = _this$props5.isPortAggregation,
|
|
346
|
+
isPortAggregation = _this$props5$isPortAg === void 0 ? false : _this$props5$isPortAg;
|
|
347
|
+
if (isPortAggregation) {
|
|
348
|
+
return "".concat(window.location.origin, "/vmGenericProxyServer");
|
|
349
|
+
} else if (VMIP) {
|
|
350
|
+
return "".concat(window.location.protocol, "//").concat(VMIP, ":8093");
|
|
351
|
+
} else {
|
|
352
|
+
return "".concat(window.location.protocol, "//").concat(_this.newInfo.nginxIp, ":4706");
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
// 加载imosSdk,外部加载过就不加载,外部init过就不init了
|
|
356
|
+
_this._loadImosSdk = function (callback) {
|
|
357
|
+
var _this$props6 = _this.props,
|
|
358
|
+
VMIP = _this$props6.VMIP,
|
|
359
|
+
V5Token = _this$props6.V5Token,
|
|
360
|
+
isForce2WASM = _this$props6.isForce2WASM;
|
|
361
|
+
var initImosSdk = /*#__PURE__*/function () {
|
|
362
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
363
|
+
return _regenerator().w(function (_context2) {
|
|
364
|
+
while (1) switch (_context2.n) {
|
|
365
|
+
case 0:
|
|
366
|
+
window.imosSdk.setLinkPort(_this._getPortInfo());
|
|
367
|
+
if (isForce2WASM && window.imosSdk.force2WASM) {
|
|
368
|
+
window.imosSdk.force2WASM();
|
|
369
|
+
}
|
|
370
|
+
console.log('UVideo-------------------ImosSdk初始参数ip: ', _this._getIpInfo());
|
|
371
|
+
console.log('UVideo-------------------ImosSdk初始参数token: ', V5Token || _this.v5Token);
|
|
372
|
+
window.imosSdk.init(_this._getIpInfo(), V5Token || _this.v5Token, 16, '', false).then(function () {
|
|
373
|
+
console.log('UVideo-------------------组件初始化ImosSdk成功');
|
|
374
|
+
if (typeof callback === 'function') {
|
|
375
|
+
callback();
|
|
376
|
+
}
|
|
377
|
+
}).catch(function () {
|
|
378
|
+
console.log('UVideo-------------------组件初始化ImosSdk失败');
|
|
379
|
+
console.error('loadVideoSdk fail');
|
|
380
|
+
});
|
|
381
|
+
case 1:
|
|
382
|
+
return _context2.a(2);
|
|
383
|
+
}
|
|
384
|
+
}, _callee2);
|
|
385
|
+
}));
|
|
386
|
+
return function initImosSdk() {
|
|
387
|
+
return _ref2.apply(this, arguments);
|
|
388
|
+
};
|
|
389
|
+
}();
|
|
390
|
+
if (window.imosSdk) {
|
|
391
|
+
// 判断window上是否已有imosSdk
|
|
392
|
+
if (window.imosSdk.checkInit()) {
|
|
393
|
+
// 判断imosSdk是否初始化
|
|
394
|
+
console.log('UVideo-------------------ImosSdk已由组件外部加载并初始化,组件直接使用');
|
|
395
|
+
callback();
|
|
396
|
+
} else {
|
|
397
|
+
console.log('UVideo-------------------ImosSdk已加载,但还未初始化,组件开始初始化');
|
|
398
|
+
initImosSdk();
|
|
399
|
+
}
|
|
400
|
+
} else {
|
|
401
|
+
console.log('UVideo-------------------ImosSdk开始加载并且初始化');
|
|
402
|
+
var loadUrl = "".concat(_this._getLoadJsInfo(), "/static/imosSdk.min.js");
|
|
403
|
+
loadScript(loadUrl, function () {
|
|
404
|
+
initImosSdk();
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* 加载imosPlayer,外部加载过就不加载,外部init过就不init了
|
|
410
|
+
*/
|
|
411
|
+
_this._loadImosPlayer = function (callback) {
|
|
412
|
+
var _this$props7 = _this.props,
|
|
413
|
+
isForce2WASM = _this$props7.isForce2WASM,
|
|
414
|
+
VMIP = _this$props7.VMIP,
|
|
415
|
+
playerOffSet = _this$props7.playerOffSet,
|
|
416
|
+
playerTitle = _this$props7.playerTitle,
|
|
417
|
+
playerListenerPath = _this$props7.playerListenerPath,
|
|
418
|
+
V5Token = _this$props7.V5Token,
|
|
419
|
+
_this$props7$isTopIfr = _this$props7.isTopIframe,
|
|
420
|
+
isTopIframe = _this$props7$isTopIfr === void 0 ? false : _this$props7$isTopIfr;
|
|
421
|
+
var offset = playerOffSet || _this.offset || (isTopIframe ? [0, 0] : [0, 64]);
|
|
422
|
+
var initImosPlayer = function initImosPlayer() {
|
|
423
|
+
window.imosPlayer.setLinkPort(_this._getPortInfo()); // 设置通信端口
|
|
424
|
+
if (isForce2WASM && window.imosPlayer.force2WASM) {
|
|
425
|
+
//是否走免控件流程
|
|
426
|
+
window.imosPlayer.force2WASM();
|
|
427
|
+
}
|
|
428
|
+
var listenerPath = window.imosPlayer.getUniqueID(); // 生成广播路径随机值
|
|
429
|
+
console.log('UVideo-------------------ImosPlayer初始参数ip: ', _this._getIpInfo());
|
|
430
|
+
console.log('UVideo-------------------ImosPlayer初始参数token: ', V5Token, _this.v5Token, V5Token || _this.v5Token);
|
|
431
|
+
console.log('UVideo-------------------ImosPlayer初始参数offset: ', playerOffSet, offset);
|
|
432
|
+
console.log('UVideo-------------------ImosPlayer初始参数title: ', playerTitle, _this.title, playerTitle || _this.title);
|
|
433
|
+
console.log('UVideo-------------------ImosPlayer初始参数voidListenerPath: ', isTopIframe ? "\\".concat(playerListenerPath !== null && playerListenerPath !== void 0 ? playerListenerPath : _this.voidPath) : "\\".concat(playerListenerPath !== null && playerListenerPath !== void 0 ? playerListenerPath : _this.voidPath, "\\").concat(listenerPath));
|
|
434
|
+
window.imosPlayer.init({
|
|
435
|
+
ip: _this._getIpInfo(),
|
|
436
|
+
token: V5Token || _this.v5Token,
|
|
437
|
+
offset: offset,
|
|
438
|
+
title: playerTitle || _this.title,
|
|
439
|
+
voidListenerPath: isTopIframe ? "\\".concat(playerListenerPath !== null && playerListenerPath !== void 0 ? playerListenerPath : _this.voidPath) : "\\".concat(playerListenerPath !== null && playerListenerPath !== void 0 ? playerListenerPath : _this.voidPath, "\\").concat(listenerPath)
|
|
440
|
+
}).then(function () {
|
|
441
|
+
console.log('UVideo-------------------ImosPlayer初始化成功');
|
|
442
|
+
if (typeof callback === 'function') {
|
|
443
|
+
callback();
|
|
444
|
+
}
|
|
445
|
+
}).catch(function () {
|
|
446
|
+
console.log('UVideo-------------------ImosPlayer初始化失败');
|
|
447
|
+
console.error('loadVideoPlayerSdk fail');
|
|
448
|
+
});
|
|
449
|
+
};
|
|
450
|
+
if (window.imosPlayer) {
|
|
451
|
+
// 判断window上是否已有imosPlayer
|
|
452
|
+
if (window.imosPlayer.checkInit()) {
|
|
453
|
+
// 判断imosPlayer是否初始化
|
|
454
|
+
console.log('UVideo-------------------ImosPlayer已在组件外部加载并且初始化');
|
|
455
|
+
if (playerTitle && playerOffSet) {
|
|
456
|
+
console.log('UVideo-------------------ImosPlayer根据组件属性重新下发title和offset', playerTitle, playerOffSet);
|
|
457
|
+
window.imosPlayer.changeSpySetting({
|
|
458
|
+
//对已经初始化过的悬浮控件重新下发追踪参数 title等 title必填,其余选填
|
|
459
|
+
title: playerTitle || _this.title,
|
|
460
|
+
offset: offset
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
callback();
|
|
464
|
+
} else {
|
|
465
|
+
console.log('UVideo-------------------ImosPlayer已加载,但还未初始化,组件开始初始化');
|
|
466
|
+
initImosPlayer();
|
|
467
|
+
}
|
|
468
|
+
} else {
|
|
469
|
+
console.log('UVideo-------------------ImosPlayer开始加载并且初始化');
|
|
470
|
+
var loadUrl = "".concat(_this._getLoadJsInfo(), "/static/imosPlayer.min.js");
|
|
471
|
+
loadScript(loadUrl, function () {
|
|
472
|
+
initImosPlayer();
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
//设置悬浮控件受限区域的方法
|
|
477
|
+
_this.setImosPlayerLimitDom = function (videoClassName, limitDomArray) {
|
|
478
|
+
window.imosPlayer && window.imosPlayer.setViewDomByClassName({
|
|
479
|
+
className: videoClassName,
|
|
480
|
+
doms: limitDomArray
|
|
481
|
+
});
|
|
482
|
+
};
|
|
483
|
+
//下发播放器媒体流协议配置(imosSdk和imosPlayer)
|
|
484
|
+
_this.setImosMediaConfig = function (localConfig) {
|
|
485
|
+
if (!localConfig || localConfig === {}) {
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
var innerVMSdkType = _this.state.innerVMSdkType;
|
|
489
|
+
if (window[innerVMSdkType]) {
|
|
490
|
+
var configKeys = Object.keys(localConfig);
|
|
491
|
+
var mediaTransformProtocal = localConfig.mediaTransformProtocal,
|
|
492
|
+
_localConfig$mediaTra = localConfig.mediaTransformServer,
|
|
493
|
+
mediaTransformServer = _localConfig$mediaTra === void 0 ? false : _localConfig$mediaTra,
|
|
494
|
+
videoReplayTransform = localConfig.videoReplayTransform,
|
|
495
|
+
_localConfig$replayOr = localConfig.replayOrLiveServer,
|
|
496
|
+
replayOrLiveServer = _localConfig$replayOr === void 0 ? false : _localConfig$replayOr,
|
|
497
|
+
_localConfig$antiLose = localConfig.antiLose,
|
|
498
|
+
antiLose = _localConfig$antiLose === void 0 ? true : _localConfig$antiLose,
|
|
499
|
+
_localConfig$randomDe = localConfig.randomDeal,
|
|
500
|
+
randomDeal = _localConfig$randomDe === void 0 ? true : _localConfig$randomDe,
|
|
501
|
+
dealModal = localConfig.dealModal;
|
|
502
|
+
configKeys.includes('mediaTransformProtocal') && configKeys.includes('mediaTransformServer') && window[innerVMSdkType].setLiveNetLinkMode(mediaTransformProtocal, mediaTransformServer); // 实况网络连接形式
|
|
503
|
+
configKeys.includes('videoReplayTransform') && configKeys.includes('replayOrLiveServer') && window[innerVMSdkType].setReplayNetLinkMode(videoReplayTransform, replayOrLiveServer); // 回放网络连接形式
|
|
504
|
+
configKeys.includes('antiLose') && configKeys.includes('randomDeal') && window[innerVMSdkType].setNetResistance(antiLose, randomDeal); // 设置网络抗丢包与乱序整理
|
|
505
|
+
configKeys.includes('dealModal') && typeof dealModal === 'number' && window[innerVMSdkType].setPictureFluency(dealModal); // 设置播放图像流畅性或实时性
|
|
506
|
+
(configKeys.includes('antiLose') || configKeys.includes('randomDeal') || configKeys.includes('dealModal') && typeof dealModal === 'number') && window[innerVMSdkType].sendWebPlayerCfg(); // 下发本地加速器绘制配置
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
// 初始化完成后,下发媒体配置以及挖孔
|
|
510
|
+
_this._afterInitSuccess = function () {
|
|
511
|
+
var _this$props8 = _this.props,
|
|
512
|
+
initSuccessCallback = _this$props8.initSuccessCallback,
|
|
513
|
+
defaultDigClassName = _this$props8.defaultDigClassName,
|
|
514
|
+
digClassName = _this$props8.digClassName,
|
|
515
|
+
excludeDigClassName = _this$props8.excludeDigClassName,
|
|
516
|
+
_this$props8$voidClas = _this$props8.voidClassName,
|
|
517
|
+
voidClassName = _this$props8$voidClas === void 0 ? 'uvideo-pluginVideo-show3' : _this$props8$voidClas,
|
|
518
|
+
imosPlayerLimitDom = _this$props8.imosPlayerLimitDom,
|
|
519
|
+
localConfig = _this$props8.localConfig,
|
|
520
|
+
digTime = _this$props8.digTime,
|
|
521
|
+
isTopIframe = _this$props8.isTopIframe,
|
|
522
|
+
mediaConfig = _this$props8.mediaConfig;
|
|
523
|
+
var _this$state = _this.state,
|
|
524
|
+
innerPlatFormType = _this$state.innerPlatFormType,
|
|
525
|
+
innerVMSdkType = _this$state.innerVMSdkType;
|
|
526
|
+
if (innerPlatFormType !== 1) {
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
//下发播放器媒体流协议配置,用于sw适配vm,配置信息保存在sw数据表
|
|
531
|
+
if (localConfig) {
|
|
532
|
+
console.log('UVideo-------------------下发组件属性传入的播放器本地配置', localConfig);
|
|
533
|
+
_this.setImosMediaConfig(localConfig);
|
|
534
|
+
} else {
|
|
535
|
+
// 查询播放器本地配置信息
|
|
536
|
+
queryLocalSettingInfo(function (localArray) {
|
|
537
|
+
localArray.forEach(function (item) {
|
|
538
|
+
switch (item.name) {
|
|
539
|
+
case 'mediaTransformProtocal':
|
|
540
|
+
_this.localConfig[item.name] = item.value === '0' ? 'auto' : 'tcp';
|
|
541
|
+
break;
|
|
542
|
+
case 'mediaTransformServer':
|
|
543
|
+
_this.localConfig[item.name] = item.value === '0' ? true : false;
|
|
544
|
+
break;
|
|
545
|
+
case 'videoReplayTransform':
|
|
546
|
+
_this.localConfig[item.name] = item.value === '0' ? 'udp' : 'tcp';
|
|
547
|
+
break;
|
|
548
|
+
case 'replayOrLiveServer':
|
|
549
|
+
_this.localConfig[item.name] = item.value === '0' ? false : true;
|
|
550
|
+
break;
|
|
551
|
+
case 'dealModal':
|
|
552
|
+
_this.localConfig[item.name] = Number(item.value);
|
|
553
|
+
break;
|
|
554
|
+
case 'randomDeal':
|
|
555
|
+
_this.localConfig[item.name] = item.value === 'true' ? true : false;
|
|
556
|
+
break;
|
|
557
|
+
case 'antiLose':
|
|
558
|
+
_this.localConfig[item.name] = item.value === 'true' ? true : false;
|
|
559
|
+
break;
|
|
560
|
+
default:
|
|
561
|
+
break;
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
if (Object.keys(_this.localConfig).length > 0) {
|
|
565
|
+
console.log('UVideo-------------------下发查询到的播放器本地配置', _this.localConfig);
|
|
566
|
+
_this.setImosMediaConfig(_this.localConfig);
|
|
567
|
+
}
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
//属性下发相关媒体配置的配置项在这里进行下发,适用于业务侧拿到配置传进来
|
|
572
|
+
if (mediaConfig) {
|
|
573
|
+
var shotConfig = mediaConfig.shotConfig,
|
|
574
|
+
recordConfig = mediaConfig.recordConfig;
|
|
575
|
+
if (shotConfig) {
|
|
576
|
+
var _window$innerVMSdkTyp, _window$innerVMSdkTyp2, _window$innerVMSdkTyp3;
|
|
577
|
+
console.log('UVideo-------------------属性下发播放器抓拍配置:', shotConfig);
|
|
578
|
+
var shotInterval = shotConfig.shotInterval,
|
|
579
|
+
shotNumber = shotConfig.shotNumber,
|
|
580
|
+
shotFormat = shotConfig.shotFormat;
|
|
581
|
+
(_window$innerVMSdkTyp = window[innerVMSdkType]) === null || _window$innerVMSdkTyp === void 0 ? void 0 : _window$innerVMSdkTyp.setCaptureInterval(shotInterval * 1000);
|
|
582
|
+
(_window$innerVMSdkTyp2 = window[innerVMSdkType]) === null || _window$innerVMSdkTyp2 === void 0 ? void 0 : _window$innerVMSdkTyp2.setCaptureMaxNum(shotNumber);
|
|
583
|
+
(_window$innerVMSdkTyp3 = window[innerVMSdkType]) === null || _window$innerVMSdkTyp3 === void 0 ? void 0 : _window$innerVMSdkTyp3.setCaptureType(shotFormat === 1 ? 'image/png' : 'image/jpeg');
|
|
584
|
+
}
|
|
585
|
+
if (recordConfig) {
|
|
586
|
+
var _window$innerVMSdkTyp4;
|
|
587
|
+
console.log('UVideo-------------------属性下发录屏的文件类型:', recordConfig);
|
|
588
|
+
var localRecordFormat = recordConfig.localRecordFormat;
|
|
589
|
+
(_window$innerVMSdkTyp4 = window[innerVMSdkType]) === null || _window$innerVMSdkTyp4 === void 0 ? void 0 : _window$innerVMSdkTyp4.setDefaultRecordVideoExt(localRecordFormat === 1 ? 0 : 3);
|
|
590
|
+
}
|
|
591
|
+
if (!!(mediaConfig === null || mediaConfig === void 0 ? void 0 : mediaConfig.loginMode) && (mediaConfig === null || mediaConfig === void 0 ? void 0 : mediaConfig.loginMode) === 'cloud') {
|
|
592
|
+
var _window$innerVMSdkTyp5;
|
|
593
|
+
var swIp = mediaConfig.swIp,
|
|
594
|
+
rtspPort = mediaConfig.rtspPort;
|
|
595
|
+
console.log('UVideo-------------------p2p播放时下发ip与端口给播放器:', swIp, rtspPort);
|
|
596
|
+
(_window$innerVMSdkTyp5 = window[innerVMSdkType]) === null || _window$innerVMSdkTyp5 === void 0 ? void 0 : _window$innerVMSdkTyp5.p2pInit(swIp || '', rtspPort || '', true);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
if (innerVMSdkType === 'imosPlayer') {
|
|
600
|
+
//向框架发送要获取偏移量的消息来触发重新下发偏移量
|
|
601
|
+
window.parent.postMessage({
|
|
602
|
+
message: 'getOffset'
|
|
603
|
+
}, '*');
|
|
604
|
+
}
|
|
605
|
+
setTimeout(function () {
|
|
606
|
+
if (innerVMSdkType === 'imosPlayer') {
|
|
607
|
+
// VM中台时,才会执行以下两个悬浮控件操作
|
|
608
|
+
hideDivElement({
|
|
609
|
+
defaultDigClassName: defaultDigClassName,
|
|
610
|
+
digClassName: digClassName,
|
|
611
|
+
excludeDigClassName: excludeDigClassName,
|
|
612
|
+
voidClassName: voidClassName,
|
|
613
|
+
times: digTime,
|
|
614
|
+
isTopIframe: isTopIframe
|
|
615
|
+
}); // 对外部传入的类名进行挖孔
|
|
616
|
+
imosPlayerLimitDom && _this.setImosPlayerLimitDom(voidClassName, imosPlayerLimitDom); // 限制悬浮控件区域
|
|
617
|
+
}
|
|
618
|
+
typeof initSuccessCallback === 'function' && initSuccessCallback(); // 调用外部传入的回调函数 initSuccessCallback
|
|
619
|
+
}, 1000);
|
|
620
|
+
|
|
621
|
+
//根据业务菜单url中指定的多语言类型下发到播放器
|
|
622
|
+
var languageType = _getUrlParamWithoutHash('languageTypeData');
|
|
623
|
+
switch (languageType) {
|
|
624
|
+
case 'zh_cn':
|
|
625
|
+
_this.useGloalImosInterface({
|
|
626
|
+
interfaceName: 'setLanguage',
|
|
627
|
+
language: 'zh'
|
|
628
|
+
});
|
|
629
|
+
return;
|
|
630
|
+
case 'en_us':
|
|
631
|
+
_this.useGloalImosInterface({
|
|
632
|
+
interfaceName: 'setLanguage',
|
|
633
|
+
language: 'en'
|
|
634
|
+
});
|
|
635
|
+
return;
|
|
636
|
+
default:
|
|
637
|
+
return null;
|
|
638
|
+
}
|
|
639
|
+
};
|
|
640
|
+
//#endregion
|
|
641
|
+
//#region 列表模式、资源树模式的操作
|
|
642
|
+
//资源树双击播放 (用户双击资源树节点时,资源树组件调用)
|
|
643
|
+
_this._doubleClickTree = function (event, item) {
|
|
644
|
+
var resType = item.resourceInfo.resType;
|
|
645
|
+
switch (resType) {
|
|
646
|
+
// 组织节点
|
|
647
|
+
case 1:
|
|
648
|
+
break;
|
|
649
|
+
// 相机节点
|
|
650
|
+
case 1001:
|
|
651
|
+
_this.play(item);
|
|
652
|
+
break;
|
|
653
|
+
default:
|
|
654
|
+
break;
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
//资源树拖拽 (用户拖拽资源树节点时,资源树组件调用)
|
|
658
|
+
_this.dragTreeNode = function (event, item) {
|
|
659
|
+
var _this$props$videoType = _this.props.videoType,
|
|
660
|
+
videoType = _this$props$videoType === void 0 ? 'live' : _this$props$videoType;
|
|
661
|
+
var playType = '';
|
|
662
|
+
if (item.resourceInfo.resType === 1001) {
|
|
663
|
+
// 拖拽的是相机节点
|
|
664
|
+
playType = videoType === 'live' || videoType === 'liveGrid' ? 'playLive' : 'playReply';
|
|
665
|
+
}
|
|
666
|
+
if (!GlobalFunc.isIe()) {
|
|
667
|
+
// 设置拖动缩影效果
|
|
668
|
+
event.dataTransfer.setDragImage(event.target.lastChild, 50, 0);
|
|
669
|
+
if (playType === 'playLive' || playType === 'playReply') {
|
|
670
|
+
event.dataTransfer.setData('playType', playType); //设置类型
|
|
671
|
+
}
|
|
672
|
+
event.dataTransfer.setData('resourceInfo', JSON.stringify(item.resourceInfo));
|
|
673
|
+
} else {
|
|
674
|
+
var data = JSON.parse(event.dataTransfer.getData('text'));
|
|
675
|
+
if (playType === 'playLive' || playType === 'playReply') {
|
|
676
|
+
data.playType = playType; //设置类型
|
|
677
|
+
}
|
|
678
|
+
data.resourceInfo = item.resourceInfo;
|
|
679
|
+
event.dataTransfer.setData('text', JSON.stringify(data));
|
|
680
|
+
}
|
|
681
|
+
window._selfDropVideo = {
|
|
682
|
+
code: 'tree-dragstart',
|
|
683
|
+
typeliveplay: playType,
|
|
684
|
+
resourceInfo: JSON.stringify(_objectSpread(_objectSpread({}, item.resourceInfo), {}, {
|
|
685
|
+
CameraCode: item.resourceInfo.resCode,
|
|
686
|
+
CameraName: item.resourceInfo.resName
|
|
687
|
+
})),
|
|
688
|
+
timeout: null
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
// 拖拽结束,记录结束时间
|
|
692
|
+
_this.dragTreeNodeEnd = function () {
|
|
693
|
+
window._selfDropVideo && (window._selfDropVideo.timeout = new Date().getTime() + 100);
|
|
694
|
+
};
|
|
695
|
+
//实况面板接受拖拽播放 (播放窗格Playwindow父级div onDrop事件回调函数,用于播放视频)
|
|
696
|
+
_this.drop = function (e) {
|
|
697
|
+
var data = e.dataTransfer;
|
|
698
|
+
var playType = null;
|
|
699
|
+
var dragStartIndex = -1;
|
|
700
|
+
var resourceInfo = null;
|
|
701
|
+
// ie情况下获取方式不同
|
|
702
|
+
if (GlobalFunc.isIe()) {
|
|
703
|
+
// 转换为json对象,再取值
|
|
704
|
+
var jsonData = JSON.parse(data.getData('text'));
|
|
705
|
+
playType = jsonData.playType;
|
|
706
|
+
resourceInfo = jsonData.resourceInfo;
|
|
707
|
+
} else {
|
|
708
|
+
playType = data.getData('playType');
|
|
709
|
+
resourceInfo = data.getData('resourceInfo') ? JSON.parse(data.getData('resourceInfo')) : null;
|
|
710
|
+
}
|
|
711
|
+
var targetVideoIndex = parseInt(e.currentTarget.getAttribute('data-index'), 10);
|
|
712
|
+
if (playType === 'playLive' || playType === 'playReply') {
|
|
713
|
+
_this.playVideo({
|
|
714
|
+
camera: {
|
|
715
|
+
CameraCode: resourceInfo.resCode,
|
|
716
|
+
CameraName: resourceInfo.resName
|
|
717
|
+
},
|
|
718
|
+
index: targetVideoIndex
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
e.preventDefault();
|
|
722
|
+
};
|
|
723
|
+
//播放
|
|
724
|
+
_this.play = function (item) {
|
|
725
|
+
var resId = item.resId; // 摄像机编码
|
|
726
|
+
var resName = item.nodeText; // 摄像机名称
|
|
727
|
+
_this.activeTreeNode = item;
|
|
728
|
+
_this.playVideo({
|
|
729
|
+
camera: {
|
|
730
|
+
CameraCode: resId,
|
|
731
|
+
CameraName: resName
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
};
|
|
735
|
+
//列表双击
|
|
736
|
+
_this.cameraItemClick = function (e, item) {
|
|
737
|
+
_this.playVideo({
|
|
738
|
+
camera: {
|
|
739
|
+
CameraCode: item.CameraCode,
|
|
740
|
+
CameraName: item.CameraName
|
|
741
|
+
}
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
//列表拖拽
|
|
745
|
+
_this.cameraItemDrag = function (event, item) {
|
|
746
|
+
var _this$props$videoType2 = _this.props.videoType,
|
|
747
|
+
videoType = _this$props$videoType2 === void 0 ? 'live' : _this$props$videoType2;
|
|
748
|
+
var playType = '';
|
|
749
|
+
if (item) {
|
|
750
|
+
playType = videoType === 'live' || videoType === 'liveGrid' ? 'playLive' : 'playReply';
|
|
751
|
+
}
|
|
752
|
+
if (!GlobalFunc.isIe()) {
|
|
753
|
+
// 设置拖动缩影效果
|
|
754
|
+
event.dataTransfer.setDragImage(event.target, 50, 0);
|
|
755
|
+
if (playType === 'playLive' || playType === 'playReply') {
|
|
756
|
+
event.dataTransfer.setData('playType', playType); //设置类型
|
|
757
|
+
}
|
|
758
|
+
event.dataTransfer.setData('resourceInfo', JSON.stringify(_objectSpread(_objectSpread({}, item), {}, {
|
|
759
|
+
resCode: item.CameraCode,
|
|
760
|
+
resName: item.CameraName
|
|
761
|
+
})));
|
|
762
|
+
} else {
|
|
763
|
+
var data = JSON.parse(event.dataTransfer.getData('text'));
|
|
764
|
+
if (playType === 'playLive' || playType === 'playReply') {
|
|
765
|
+
data.playType = playType; //设置类型
|
|
766
|
+
}
|
|
767
|
+
data.resourceInfo = _objectSpread(_objectSpread({}, item), {}, {
|
|
768
|
+
resCode: item.CameraCode,
|
|
769
|
+
resName: item.CameraName
|
|
770
|
+
});
|
|
771
|
+
event.dataTransfer.setData('text', JSON.stringify(data));
|
|
772
|
+
}
|
|
773
|
+
window._selfDropVideo = {
|
|
774
|
+
code: 'tree-dragstart',
|
|
775
|
+
typeliveplay: playType,
|
|
776
|
+
resourceInfo: JSON.stringify(_objectSpread(_objectSpread({}, item), {}, {
|
|
777
|
+
resCode: item.CameraCode,
|
|
778
|
+
resName: item.CameraName
|
|
779
|
+
})),
|
|
780
|
+
timeout: null
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
//列表移除某项
|
|
784
|
+
_this.removeCamera = function (cam) {
|
|
785
|
+
var cameras = _this.state.cameras;
|
|
786
|
+
var _this$props9 = _this.props,
|
|
787
|
+
_this$props9$videoTyp = _this$props9.videoType,
|
|
788
|
+
videoType = _this$props9$videoTyp === void 0 ? 'live' : _this$props9$videoTyp,
|
|
789
|
+
onRemoveCamera = _this$props9.onRemoveCamera,
|
|
790
|
+
_this$props9$keepCurr = _this$props9.keepCurrentGroupWhenRemove,
|
|
791
|
+
keepCurrentGroupWhenRemove = _this$props9$keepCurr === void 0 ? false : _this$props9$keepCurr;
|
|
792
|
+
if (cameras.length <= 1) {
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
795
|
+
var tempCameras = JSON.parse(JSON.stringify(cameras));
|
|
796
|
+
var newCams = tempCameras.map(function (item) {
|
|
797
|
+
return item.CameraCode === cam.CameraCode ? false : item;
|
|
798
|
+
}).filter(Boolean);
|
|
799
|
+
_this.setState({
|
|
800
|
+
cameras: newCams
|
|
801
|
+
}, function () {
|
|
802
|
+
videoType === 'live' && _this.videoLive && _this.videoLive.resetGroupPlay && _this.videoLive.resetGroupPlay(newCams, keepCurrentGroupWhenRemove, cam);
|
|
803
|
+
videoType === 'reply' && _this.videoReply && _this.videoReply.resetGroupPlay && _this.videoReply.resetGroupPlay(newCams, keepCurrentGroupWhenRemove, cam);
|
|
804
|
+
// 调用父组件传入的删除回调,通知父组件更新cameraList
|
|
805
|
+
typeof onRemoveCamera === 'function' && onRemoveCamera(cam);
|
|
806
|
+
});
|
|
807
|
+
};
|
|
808
|
+
//回放资源数选中批量播放
|
|
809
|
+
_this.multiPlay = function () {
|
|
810
|
+
var _this$uTree;
|
|
811
|
+
var textLocale = _this.props.textLocale;
|
|
812
|
+
var checkedList = (_this$uTree = _this.uTree) === null || _this$uTree === void 0 ? void 0 : _this$uTree.getCheckedItem()[2]; // 获取勾选的资源
|
|
813
|
+
if (!checkedList || checkedList.length === 0) {
|
|
814
|
+
UMessageBox.msgBox({
|
|
815
|
+
msg: textLocale.pleaseSelectCamera,
|
|
816
|
+
iconType: 'warn',
|
|
817
|
+
duration: 3000
|
|
818
|
+
});
|
|
819
|
+
return;
|
|
820
|
+
}
|
|
821
|
+
var checkedCamera = checkedList.map(function (item, index) {
|
|
822
|
+
return {
|
|
823
|
+
CameraName: item.nodeText,
|
|
824
|
+
CameraCode: item.resId,
|
|
825
|
+
CameraNumber: index
|
|
826
|
+
};
|
|
827
|
+
});
|
|
828
|
+
_this.playVideo({
|
|
829
|
+
camera: checkedCamera
|
|
830
|
+
});
|
|
831
|
+
};
|
|
832
|
+
// 录像回放时,资源树下方录像回放按钮单击回调事件
|
|
833
|
+
_this.onMultiPlay = function () {
|
|
834
|
+
_this.multiPlay();
|
|
835
|
+
};
|
|
836
|
+
//#endregion
|
|
837
|
+
//#region 对外暴露接口
|
|
838
|
+
//统一播放
|
|
839
|
+
_this.playVideo = function (param) {
|
|
840
|
+
var _this$props$videoType3 = _this.props.videoType,
|
|
841
|
+
videoType = _this$props$videoType3 === void 0 ? 'live' : _this$props$videoType3;
|
|
842
|
+
var camera = param.camera,
|
|
843
|
+
timeValue = param.timeValue,
|
|
844
|
+
index = param.index;
|
|
845
|
+
var platformType = _this.state.innerPlatFormType;
|
|
846
|
+
var playCameraList = [];
|
|
847
|
+
if (camera && camera instanceof Array && camera.length > 0) {
|
|
848
|
+
playCameraList = camera;
|
|
849
|
+
} else if (camera && _typeof(camera) === 'object') {
|
|
850
|
+
playCameraList.push(camera);
|
|
851
|
+
}
|
|
852
|
+
if (platformType !== 1) {
|
|
853
|
+
// VMS中台
|
|
854
|
+
playCameraList = playCameraList.map(function (item) {
|
|
855
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
856
|
+
CameraCode: item.CameraCode ? parseInt(item.CameraCode) : undefined
|
|
857
|
+
});
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
// VM 实况播放
|
|
862
|
+
(videoType === 'live' || videoType === 'liveGrid') && platformType === 1 && _this.videoLive && _this.videoLive.playLive && _this.videoLive.playLive(playCameraList, index);
|
|
863
|
+
|
|
864
|
+
// VMS 实况播放
|
|
865
|
+
(videoType === 'live' || videoType === 'liveGrid') && platformType === 3 && _this.videoLive && _this.videoLive.playLive && _this.videoLive.playLive(playCameraList, index);
|
|
866
|
+
|
|
867
|
+
// VM 回放播放
|
|
868
|
+
(videoType === 'reply' || videoType === 'replyGrid') && platformType === 1 && _this.videoReply && _this.videoReply.playReply && _this.videoReply.playReply(playCameraList, timeValue, index);
|
|
869
|
+
|
|
870
|
+
// VMS 回放播放
|
|
871
|
+
(videoType === 'reply' || videoType === 'replyGrid') && platformType === 3 && _this.videoReply && _this.videoReply.playReply && _this.videoReply.playReply(playCameraList, timeValue, index);
|
|
872
|
+
};
|
|
873
|
+
/**
|
|
874
|
+
* 通用业务层直接调用imos插件接口,某个指定索引的窗口调用,后边有新加直接调播放器接口尽量用这个透传到内部
|
|
875
|
+
* interfaceName目前支持[windowBtnConfig,playLocalFile,playURLFile,getVideoStatus,setVideoBarStatus]
|
|
876
|
+
*/
|
|
877
|
+
_this.useImosInterface = function (param) {
|
|
878
|
+
var platformType = _this.state.innerPlatFormType;
|
|
879
|
+
if (platformType === 1) {
|
|
880
|
+
var _this$_this$_getVideo;
|
|
881
|
+
console.log("UVideo-------------------useImosInterface.".concat(param.interfaceName), param);
|
|
882
|
+
return (_this$_this$_getVideo = _this[_this._getVideoRef()]) === null || _this$_this$_getVideo === void 0 ? void 0 : _this$_this$_getVideo.useImosInterface(param);
|
|
883
|
+
}
|
|
884
|
+
return Promise.reject('');
|
|
885
|
+
};
|
|
886
|
+
/**
|
|
887
|
+
* 通用业务层直接调用imos插件接口,插件全局调用,后边有新加直接调播放器接口尽量用这个透传到内部
|
|
888
|
+
* interfaceName目前支持[setDefaultRecordVideoExt,setLanguage,setCaptureInterval,setCaptureMaxNum]
|
|
889
|
+
* setDefaultRecordVideoExt 设置播放窗格内下方录屏按钮启动的录屏的文件类型 0:TS;3:MP4;
|
|
890
|
+
* setLanguage 设置播放器多语言类型 'zh' 'en'
|
|
891
|
+
*/
|
|
892
|
+
_this.useGloalImosInterface = function (param) {
|
|
893
|
+
var _this$state2 = _this.state,
|
|
894
|
+
innerPlatFormType = _this$state2.innerPlatFormType,
|
|
895
|
+
innerVMSdkType = _this$state2.innerVMSdkType;
|
|
896
|
+
var interfaceName = param.interfaceName,
|
|
897
|
+
_param$paramType = param.paramType,
|
|
898
|
+
paramType = _param$paramType === void 0 ? 'arg' : _param$paramType,
|
|
899
|
+
resParam = _objectWithoutProperties(param, _excluded);
|
|
900
|
+
if (innerPlatFormType === 1 && window[innerVMSdkType] && window[innerVMSdkType][interfaceName]) {
|
|
901
|
+
console.log("UVideo-------------------useImosGlobalInterface.".concat(interfaceName), resParam);
|
|
902
|
+
if (paramType === 'arg') {
|
|
903
|
+
var _window$innerVMSdkTyp6;
|
|
904
|
+
return (_window$innerVMSdkTyp6 = window[innerVMSdkType])[interfaceName].apply(_window$innerVMSdkTyp6, _toConsumableArray(Object.values(resParam)));
|
|
905
|
+
}
|
|
906
|
+
return window[innerVMSdkType][interfaceName](resParam);
|
|
907
|
+
}
|
|
908
|
+
return Promise.reject('');
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* 关闭视频窗格
|
|
912
|
+
* @param {Number} index 播放窗格索引值,未传递index时,会关闭所有播放窗格
|
|
913
|
+
*/
|
|
914
|
+
_this.closeVideo = function (index) {
|
|
915
|
+
var _this$props$videoType4 = _this.props.videoType,
|
|
916
|
+
videoType = _this$props$videoType4 === void 0 ? 'live' : _this$props$videoType4;
|
|
917
|
+
// 实况关闭
|
|
918
|
+
videoType === 'live' && _this.videoLive && _this.videoLive.CloseVideo && _this.videoLive.CloseVideo(index);
|
|
919
|
+
|
|
920
|
+
// 回放关闭
|
|
921
|
+
videoType === 'reply' && _this.videoReply && _this.videoReply.CloseVideo && _this.videoReply.CloseVideo(index);
|
|
922
|
+
};
|
|
923
|
+
//最大化 (VM中台 只会最大化active状态的窗格)
|
|
924
|
+
_this.masVideo = function () {
|
|
925
|
+
var _this$props$videoType5 = _this.props.videoType,
|
|
926
|
+
videoType = _this$props$videoType5 === void 0 ? 'live' : _this$props$videoType5;
|
|
927
|
+
var platformType = _this.state.innerPlatFormType;
|
|
928
|
+
|
|
929
|
+
// 实况最大化
|
|
930
|
+
videoType === 'live' && platformType === 1 && _this.videoLive && _this.videoLive.masVideo && _this.videoLive.masVideo();
|
|
931
|
+
|
|
932
|
+
// 回放最大化
|
|
933
|
+
videoType === 'reply' && platformType === 1 && _this.videoReply && _this.videoReply.masVideo && _this.videoReply.masVideo();
|
|
934
|
+
};
|
|
935
|
+
//抓拍 (抓拍当前active状态的窗格) cameraName 是用于设置下载下来的文件的文件名称
|
|
936
|
+
_this.playCatch = function (cameraName) {
|
|
937
|
+
var _this$props$videoType6 = _this.props.videoType,
|
|
938
|
+
videoType = _this$props$videoType6 === void 0 ? 'live' : _this$props$videoType6;
|
|
939
|
+
var platformType = _this.state.innerPlatFormType;
|
|
940
|
+
|
|
941
|
+
// 实况抓拍
|
|
942
|
+
videoType === 'live' && platformType === 1 && _this.videoLive && _this.videoLive.playCatch && _this.videoLive.playCatch(cameraName);
|
|
943
|
+
|
|
944
|
+
// 回放抓拍
|
|
945
|
+
videoType === 'reply' && platformType === 1 && _this.videoReply && _this.videoReply.playCatch && _this.videoReply.playCatch(cameraName);
|
|
946
|
+
};
|
|
947
|
+
//VMS挖孔
|
|
948
|
+
_this.clippingPartWnd = function (rect) {
|
|
949
|
+
var _this$props$videoType7 = _this.props.videoType,
|
|
950
|
+
videoType = _this$props$videoType7 === void 0 ? 'live' : _this$props$videoType7;
|
|
951
|
+
var platformType = _this.state.innerPlatFormType;
|
|
952
|
+
|
|
953
|
+
// 实况挖孔
|
|
954
|
+
videoType === 'live' && platformType === 3 && _this.videoLive && _this.videoLive.clippingPartWnd && _this.videoLive.clippingPartWnd(rect);
|
|
955
|
+
|
|
956
|
+
// 回放挖孔
|
|
957
|
+
videoType === 'reply' && platformType === 3 && _this.videoReply && _this.videoReply.clippingPartWnd && _this.videoReply.clippingPartWnd(rect);
|
|
958
|
+
};
|
|
959
|
+
//VMS显示隐藏 (控制视频窗格显隐)
|
|
960
|
+
_this.showWnd = function (visible) {
|
|
961
|
+
var _this$props$videoType8 = _this.props.videoType,
|
|
962
|
+
videoType = _this$props$videoType8 === void 0 ? 'live' : _this$props$videoType8;
|
|
963
|
+
var platformType = _this.state.innerPlatFormType;
|
|
964
|
+
|
|
965
|
+
// 实况窗格控制
|
|
966
|
+
videoType === 'live' && platformType === 3 && _this.videoLive && _this.videoLive.showWnd && _this.videoLive.showWnd(visible);
|
|
967
|
+
|
|
968
|
+
// 回放窗格控制
|
|
969
|
+
videoType === 'reply' && platformType === 3 && _this.videoReply && _this.videoReply.showWnd && _this.videoReply.showWnd(visible);
|
|
970
|
+
};
|
|
971
|
+
//分组播放
|
|
972
|
+
_this.playVideoGroup = function (value) {
|
|
973
|
+
if (value && (value === 1 || value === -1)) {
|
|
974
|
+
var _this$props$videoType9 = _this.props.videoType,
|
|
975
|
+
videoType = _this$props$videoType9 === void 0 ? 'live' : _this$props$videoType9;
|
|
976
|
+
var platformType = _this.state.innerPlatFormType;
|
|
977
|
+
|
|
978
|
+
// 实况切换分组
|
|
979
|
+
videoType === 'live' && platformType === 1 && _this.videoLive && _this.videoLive.playVideoGroup && _this.videoLive.playVideoGroup(value);
|
|
980
|
+
|
|
981
|
+
// 回放切换分组
|
|
982
|
+
videoType === 'reply' && platformType === 1 && _this.videoReply && _this.videoReply.playVideoGroup && _this.videoReply.playVideoGroup(value);
|
|
983
|
+
}
|
|
984
|
+
};
|
|
985
|
+
//UVideo提供挖孔方法,会覆盖掉上次传入的挖孔类名
|
|
986
|
+
_this.digDom = function (param) {
|
|
987
|
+
hideDivElement(param);
|
|
988
|
+
};
|
|
989
|
+
_this._getVideoRef = function () {
|
|
990
|
+
var _this$props$videoType0 = _this.props.videoType,
|
|
991
|
+
videoType = _this$props$videoType0 === void 0 ? 'live' : _this$props$videoType0;
|
|
992
|
+
if (['replyGrid', 'reply'].includes(videoType)) {
|
|
993
|
+
return 'videoReply';
|
|
994
|
+
}
|
|
995
|
+
return 'videoLive';
|
|
996
|
+
};
|
|
997
|
+
//#endregion
|
|
998
|
+
/**
|
|
999
|
+
* 关闭窗口弹窗 (会在关闭Modal弹窗时,调用外部传入的onCloseModal函数)
|
|
1000
|
+
*/
|
|
1001
|
+
_this._onCancel = function () {
|
|
1002
|
+
var onCloseModal = _this.props.onCloseModal;
|
|
1003
|
+
typeof onCloseModal === 'function' && onCloseModal(false);
|
|
1004
|
+
};
|
|
1005
|
+
//最大化
|
|
1006
|
+
_this._masVideo = function () {
|
|
1007
|
+
var _this$props$videoType1 = _this.props.videoType,
|
|
1008
|
+
videoType = _this$props$videoType1 === void 0 ? 'live' : _this$props$videoType1;
|
|
1009
|
+
videoType === 'live' && _this.videoLive && _this.videoLive._onMaxScreen && _this.videoLive._onMaxScreen();
|
|
1010
|
+
videoType === 'reply' && _this.videoReply && _this.videoReply._onMaxScreen && _this.videoReply._onMaxScreen();
|
|
1011
|
+
};
|
|
1012
|
+
// 修改分屏数 (在用户修改分屏操作时,真正修改掉分屏数量前,会调用外部传入的changeScreen函数)
|
|
1013
|
+
_this._changeScreen = function (type) {
|
|
1014
|
+
if (_this.props.changeScreen) {
|
|
1015
|
+
_this.props.changeScreen(type);
|
|
1016
|
+
}
|
|
1017
|
+
_this.setState({});
|
|
1018
|
+
};
|
|
1019
|
+
// 处理VideoLive中currentGroupNumRef变化的回调
|
|
1020
|
+
_this._handleGroupNumChange = function (groupNum) {
|
|
1021
|
+
// 只有在外部没有传入currentGroupNum时,才使用内部维护的值
|
|
1022
|
+
if (_this.props.currentGroupNum === undefined) {
|
|
1023
|
+
_this.setState({
|
|
1024
|
+
innerCurrentGroupNum: groupNum
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
};
|
|
1028
|
+
// 处理VideoLive中分屏数变化的回调
|
|
1029
|
+
_this._handleScreenChange = function (screenType) {
|
|
1030
|
+
// 将内部或外部变化的分屏数值都赋值给innerCurrentScreen
|
|
1031
|
+
// 更新后,组件会重新渲染,VideoLive会收到新的screenSplitType,从而触发 componentWillReceiveProps 更新播放
|
|
1032
|
+
_this.setState({
|
|
1033
|
+
innerCurrentScreen: screenType
|
|
1034
|
+
});
|
|
1035
|
+
};
|
|
1036
|
+
// 判断相机是否正在播放(是否需要高亮)
|
|
1037
|
+
_this._isCameraPlaying = function (cameraIndex) {
|
|
1038
|
+
var screenSplitType = _this.props.screenSplitType;
|
|
1039
|
+
var _this$state3 = _this.state,
|
|
1040
|
+
innerCurrentGroupNum = _this$state3.innerCurrentGroupNum,
|
|
1041
|
+
innerCurrentScreen = _this$state3.innerCurrentScreen;
|
|
1042
|
+
|
|
1043
|
+
// 优先使用外部传入的currentGroupNum
|
|
1044
|
+
var currentGroupNum = _this.props.currentGroupNum;
|
|
1045
|
+
|
|
1046
|
+
// 如果外部没有传入,使用内部维护的值
|
|
1047
|
+
if (currentGroupNum === undefined) {
|
|
1048
|
+
currentGroupNum = innerCurrentGroupNum;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
// 如果两者都没有,不高亮
|
|
1052
|
+
if (currentGroupNum === undefined) {
|
|
1053
|
+
return false;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
// 优先使用内部维护的innerCurrentScreen,其次使用外部传入的screenSplitType
|
|
1057
|
+
var realScreenSplitType = innerCurrentScreen !== undefined ? innerCurrentScreen : screenSplitType;
|
|
1058
|
+
|
|
1059
|
+
// 计算实际分屏数
|
|
1060
|
+
var windowNum = _this._getRealScreen(realScreenSplitType);
|
|
1061
|
+
|
|
1062
|
+
// 计算当前组显示的相机索引范围
|
|
1063
|
+
var startIndex = currentGroupNum * windowNum;
|
|
1064
|
+
var endIndex = startIndex + windowNum - 1;
|
|
1065
|
+
|
|
1066
|
+
// 判断当前相机是否在当前播放组内
|
|
1067
|
+
return cameraIndex >= startIndex && cameraIndex <= endIndex;
|
|
1068
|
+
};
|
|
1069
|
+
// 获取实际分屏数
|
|
1070
|
+
_this._getRealScreen = function (screenSplitType) {
|
|
1071
|
+
if (!screenSplitType) {
|
|
1072
|
+
screenSplitType = _this._autoScreen();
|
|
1073
|
+
}
|
|
1074
|
+
switch (screenSplitType) {
|
|
1075
|
+
case 1:
|
|
1076
|
+
return 1;
|
|
1077
|
+
case 4:
|
|
1078
|
+
return 4;
|
|
1079
|
+
case 6:
|
|
1080
|
+
return 6;
|
|
1081
|
+
case 9:
|
|
1082
|
+
return 9;
|
|
1083
|
+
case 13:
|
|
1084
|
+
return 13;
|
|
1085
|
+
case 16:
|
|
1086
|
+
return 16;
|
|
1087
|
+
default:
|
|
1088
|
+
return 1;
|
|
1089
|
+
}
|
|
1090
|
+
};
|
|
1091
|
+
// 自适应分屏数
|
|
1092
|
+
_this._autoScreen = function () {
|
|
1093
|
+
var cameras = _this.state.cameras;
|
|
1094
|
+
var num = (cameras && cameras.length) > 0 ? cameras.length : 1;
|
|
1095
|
+
if (num === 1) {
|
|
1096
|
+
return 1;
|
|
1097
|
+
} else if (num >= 2 && num <= 4) {
|
|
1098
|
+
return 4;
|
|
1099
|
+
} else if (num > 4 && num <= 6) {
|
|
1100
|
+
return 6;
|
|
1101
|
+
} else if (num > 6 && num <= 9) {
|
|
1102
|
+
return 9;
|
|
1103
|
+
} else if (num > 9 && num <= 13) {
|
|
1104
|
+
return 13;
|
|
1105
|
+
} else if (num > 13) {
|
|
1106
|
+
return 16;
|
|
1107
|
+
}
|
|
1108
|
+
};
|
|
1109
|
+
// 获取url中的offset偏移量参数
|
|
1110
|
+
_this._getUrlOffset = function () {
|
|
1111
|
+
var urlFragment = window.location.hash;
|
|
1112
|
+
var queryString = urlFragment.split('?')[1];
|
|
1113
|
+
if (queryString) {
|
|
1114
|
+
var searchParams = new URLSearchParams(queryString);
|
|
1115
|
+
var offsetValue = searchParams.get('offset');
|
|
1116
|
+
if (offsetValue) {
|
|
1117
|
+
var offsetArray = JSON.parse(offsetValue);
|
|
1118
|
+
_this.offset = offsetArray;
|
|
1119
|
+
console.log("UVideo-------------------\u4E09\u56DB\u7EA7\u83DC\u5355\u521D\u59CB\u5316offset.".concat(offsetArray));
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
};
|
|
1123
|
+
//渲染视频组件主体部分 主渲染函数
|
|
1124
|
+
_this._renderVideo = function () {
|
|
1125
|
+
var _this$props0 = _this.props,
|
|
1126
|
+
_this$props0$videoTyp = _this$props0.videoType,
|
|
1127
|
+
videoType = _this$props0$videoTyp === void 0 ? 'live' : _this$props0$videoTyp,
|
|
1128
|
+
className = _this$props0.className,
|
|
1129
|
+
style = _this$props0.style,
|
|
1130
|
+
isModal = _this$props0.isModal,
|
|
1131
|
+
isNeedTree = _this$props0.isNeedTree,
|
|
1132
|
+
isNeedSider = _this$props0.isNeedSider,
|
|
1133
|
+
showVideoNumber = _this$props0.showVideoNumber,
|
|
1134
|
+
screenSplitType = _this$props0.screenSplitType,
|
|
1135
|
+
_this$props0$dataType = _this$props0.dataTypes,
|
|
1136
|
+
dataTypes = _this$props0$dataType === void 0 ? [0, 1, 2, 1001] : _this$props0$dataType,
|
|
1137
|
+
iframeId = _this$props0.iframeId,
|
|
1138
|
+
gridTraceByCamera = _this$props0.gridTraceByCamera,
|
|
1139
|
+
onRecordDownload = _this$props0.onRecordDownload,
|
|
1140
|
+
timeValue = _this$props0.timeValue,
|
|
1141
|
+
isShowPtz = _this$props0.isShowPtz,
|
|
1142
|
+
textLocale = _this$props0.textLocale,
|
|
1143
|
+
theme = _this$props0.theme,
|
|
1144
|
+
toolsConfig = _this$props0.toolsConfig,
|
|
1145
|
+
colorObj = _this$props0.colorObj,
|
|
1146
|
+
initSucess = _this$props0.initSucess,
|
|
1147
|
+
eventCallback = _this$props0.eventCallback,
|
|
1148
|
+
scrollPanelId = _this$props0.scrollPanelId,
|
|
1149
|
+
onMaxScreen = _this$props0.onMaxScreen,
|
|
1150
|
+
VMSdkType = _this$props0.VMSdkType,
|
|
1151
|
+
_this$props0$voidClas = _this$props0.voidClassName,
|
|
1152
|
+
voidClassName = _this$props0$voidClas === void 0 ? 'uvideo-pluginVideo-show3' : _this$props0$voidClas,
|
|
1153
|
+
videoBtnConfig = _this$props0.videoBtnConfig,
|
|
1154
|
+
initSuccessCallback = _this$props0.initSuccessCallback,
|
|
1155
|
+
playCallback = _this$props0.playCallback,
|
|
1156
|
+
playAllCallback = _this$props0.playAllCallback,
|
|
1157
|
+
ajustPlayByScreen = _this$props0.ajustPlayByScreen,
|
|
1158
|
+
registerLiveMsg = _this$props0.registerLiveMsg,
|
|
1159
|
+
isShowBottomPtzIcon = _this$props0.isShowBottomPtzIcon,
|
|
1160
|
+
layoutDirection = _this$props0.layoutDirection,
|
|
1161
|
+
videoDraggable = _this$props0.videoDraggable;
|
|
1162
|
+
var _this$state4 = _this.state,
|
|
1163
|
+
cameras = _this$state4.cameras,
|
|
1164
|
+
innerPlatFormType = _this$state4.innerPlatFormType,
|
|
1165
|
+
innerVMSPlatFormLoginInfo = _this$state4.innerVMSPlatFormLoginInfo,
|
|
1166
|
+
sdkLoaded = _this$state4.sdkLoaded,
|
|
1167
|
+
innerVMSdkType = _this$state4.innerVMSdkType,
|
|
1168
|
+
innerCurrentScreen = _this$state4.innerCurrentScreen;
|
|
1169
|
+
var liveClassName = classNames(className, "".concat(CUSTOM_PREFIX, "-video-live")); // 接受外部类名
|
|
1170
|
+
var initCallback = function initCallback() {
|
|
1171
|
+
typeof initSucess === 'function' && initSucess();
|
|
1172
|
+
typeof initSuccessCallback === 'function' && initSuccessCallback();
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
// 录像回放时相机支持勾选
|
|
1176
|
+
var treeResProps = videoType !== 'live' ? {
|
|
1177
|
+
checkboxTypes: [U_RES_TYPE_E.IMOS_TYPE_CAMERA]
|
|
1178
|
+
} : {};
|
|
1179
|
+
// 判断分屏类型:优先使用内部维护的innerCurrentScreen,其次使用外部传入的screenSplitType
|
|
1180
|
+
var realScreenSplitType = innerCurrentScreen !== undefined ? innerCurrentScreen : screenSplitType;
|
|
1181
|
+
// 没有传分屏类型或者传的是一个自适应时,分屏类型自适应
|
|
1182
|
+
if (!realScreenSplitType) {
|
|
1183
|
+
realScreenSplitType = _this._autoScreen();
|
|
1184
|
+
}
|
|
1185
|
+
var videoProps = {
|
|
1186
|
+
cameraList: innerPlatFormType !== 1 ? cameras === null || cameras === void 0 ? void 0 : cameras.map(function (item) {
|
|
1187
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
1188
|
+
CameraCode: item.CameraCode ? parseInt(item.CameraCode) : undefined
|
|
1189
|
+
});
|
|
1190
|
+
}) : cameras,
|
|
1191
|
+
showVideoNumber: showVideoNumber,
|
|
1192
|
+
isModal: isModal,
|
|
1193
|
+
isShowBlank: isNeedTree || isNeedSider,
|
|
1194
|
+
onDrop: _this.drop,
|
|
1195
|
+
onMaxScreen: onMaxScreen,
|
|
1196
|
+
//内部窗格双击最大化时将状态传给外侧
|
|
1197
|
+
screenSplitType: realScreenSplitType,
|
|
1198
|
+
isAutoScreenSplit: !screenSplitType,
|
|
1199
|
+
iframeId: iframeId,
|
|
1200
|
+
onRecordDownload: onRecordDownload,
|
|
1201
|
+
platFormLoginInfo: innerVMSPlatFormLoginInfo,
|
|
1202
|
+
isShowPtz: isShowPtz || false,
|
|
1203
|
+
textLocale: textLocale,
|
|
1204
|
+
theme: theme,
|
|
1205
|
+
videoType: videoType,
|
|
1206
|
+
toolsConfig: toolsConfig,
|
|
1207
|
+
colorObj: colorObj,
|
|
1208
|
+
initSucess: initCallback,
|
|
1209
|
+
//初始化完成回调
|
|
1210
|
+
eventCallback: eventCallback,
|
|
1211
|
+
//窗格点击、双击、鼠标移入移出、右键点击事件回调
|
|
1212
|
+
scrollPanelId: scrollPanelId,
|
|
1213
|
+
sdkLoaded: sdkLoaded,
|
|
1214
|
+
VMSdkType: innerVMSdkType,
|
|
1215
|
+
voidClassName: voidClassName,
|
|
1216
|
+
videoBtnConfig: videoBtnConfig,
|
|
1217
|
+
playCallback: playCallback,
|
|
1218
|
+
//启动播放完成的回调
|
|
1219
|
+
playAllCallback: playAllCallback,
|
|
1220
|
+
ajustPlayByScreen: ajustPlayByScreen,
|
|
1221
|
+
registerLiveMsg: registerLiveMsg,
|
|
1222
|
+
//播放器内部事件回调
|
|
1223
|
+
layoutDirection: layoutDirection,
|
|
1224
|
+
isShowBottomPtzIcon: isShowBottomPtzIcon,
|
|
1225
|
+
videoDraggable: videoDraggable,
|
|
1226
|
+
currentGroupNum: _this.props.currentGroupNum,
|
|
1227
|
+
// 外部传入的当前播放组号(从0开始)
|
|
1228
|
+
onGroupNumChange: _this._handleGroupNumChange,
|
|
1229
|
+
// 当VideoLive中currentGroupNumRef变化时的回调
|
|
1230
|
+
onScreenChange: _this._handleScreenChange // 当VideoLive中分屏数变化时的回调
|
|
1231
|
+
};
|
|
1232
|
+
if (videoType === 'liveGrid' || videoType === 'replyGrid') {
|
|
1233
|
+
Object.assign(videoProps, {
|
|
1234
|
+
showVideoNumber: true,
|
|
1235
|
+
gridTraceByCamera: gridTraceByCamera,
|
|
1236
|
+
screenSplitType: 6,
|
|
1237
|
+
// 网格追踪模式下,分屏数固定6分屏
|
|
1238
|
+
toolsConfig: Object.assign(toolsConfig, {
|
|
1239
|
+
isShowSplit: false
|
|
1240
|
+
})
|
|
1241
|
+
});
|
|
1242
|
+
}
|
|
1243
|
+
if ((videoType === 'reply' || videoType === 'replyGrid') && timeValue) {
|
|
1244
|
+
Object.assign(videoProps, {
|
|
1245
|
+
timeValue: timeValue
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1249
|
+
className: liveClassName,
|
|
1250
|
+
style: style
|
|
1251
|
+
}, /*#__PURE__*/React.createElement(UPanel, {
|
|
1252
|
+
className: "".concat(CUSTOM_PREFIX, "-video-panel")
|
|
1253
|
+
}, /*#__PURE__*/React.createElement(USider, {
|
|
1254
|
+
theme: theme,
|
|
1255
|
+
className: "".concat(CUSTOM_PREFIX, "-video-list"),
|
|
1256
|
+
collapsible: isNeedTree || isNeedSider,
|
|
1257
|
+
width: "".concat(isNeedTree ? '300px' : isNeedSider ? '220px' : '0')
|
|
1258
|
+
}, isNeedTree && /*#__PURE__*/React.createElement("div", {
|
|
1259
|
+
className: "".concat(CUSTOM_PREFIX, "-video-res-tree")
|
|
1260
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1261
|
+
style: {
|
|
1262
|
+
width: '100%',
|
|
1263
|
+
height: "calc(100% - ".concat(videoType !== 'live' ? '50px' : '0px', ")")
|
|
1264
|
+
}
|
|
1265
|
+
}, /*#__PURE__*/React.createElement(UResTree, _extends({
|
|
1266
|
+
needRootNode: true,
|
|
1267
|
+
isNeedSearch: true,
|
|
1268
|
+
theme: 'dark',
|
|
1269
|
+
dataTypes: dataTypes,
|
|
1270
|
+
ref: function ref(self) {
|
|
1271
|
+
return _this.uTree = self;
|
|
1272
|
+
},
|
|
1273
|
+
onDoubleClick: _this._doubleClickTree,
|
|
1274
|
+
onDragStart: _this.dragTreeNode,
|
|
1275
|
+
onDragEnd: _this.dragTreeNodeEnd,
|
|
1276
|
+
canDragType: dataTypes
|
|
1277
|
+
}, treeResProps))), videoType === 'reply' && /*#__PURE__*/React.createElement("div", {
|
|
1278
|
+
style: {
|
|
1279
|
+
height: '40px',
|
|
1280
|
+
margin: '5px 0',
|
|
1281
|
+
textAlign: 'center'
|
|
1282
|
+
}
|
|
1283
|
+
}, /*#__PURE__*/React.createElement(UButton, {
|
|
1284
|
+
key: "1",
|
|
1285
|
+
btnType: 'primary',
|
|
1286
|
+
onClick: _this.onMultiPlay,
|
|
1287
|
+
style: {
|
|
1288
|
+
width: '80%'
|
|
1289
|
+
},
|
|
1290
|
+
theme: theme
|
|
1291
|
+
}, textLocale.videoPlayback))), !isNeedTree && isNeedSider && cameras && cameras.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
1292
|
+
className: "".concat(CUSTOM_PREFIX, "-video-camera-list")
|
|
1293
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1294
|
+
className: "left-title"
|
|
1295
|
+
}, textLocale.cameraList), /*#__PURE__*/React.createElement(List, {
|
|
1296
|
+
theme: theme,
|
|
1297
|
+
className: "camera-list",
|
|
1298
|
+
itemLayout: "horizontal",
|
|
1299
|
+
dataSource: cameras,
|
|
1300
|
+
renderItem: function renderItem(item, index) {
|
|
1301
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1302
|
+
className: "item ".concat(_this._isCameraPlaying(index) ? 'item-playing' : ''),
|
|
1303
|
+
onDoubleClick: function onDoubleClick(e) {
|
|
1304
|
+
return _this.cameraItemClick(e, item);
|
|
1305
|
+
},
|
|
1306
|
+
draggable: true,
|
|
1307
|
+
onDragStart: function onDragStart(e) {
|
|
1308
|
+
return _this.cameraItemDrag(e, item);
|
|
1309
|
+
},
|
|
1310
|
+
onDragEnd: _this.dragTreeNodeEnd
|
|
1311
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1312
|
+
className: "item-Content"
|
|
1313
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1314
|
+
className: "".concat(CUSTOM_PREFIX, "-tree-icon ").concat(_this.treeIcon.getIconClass(1001, item.CameraType, item.CameraStatus, null, false))
|
|
1315
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
1316
|
+
title: item.CameraName
|
|
1317
|
+
}, item.CameraName)), /*#__PURE__*/React.createElement("div", {
|
|
1318
|
+
className: "item-Operate"
|
|
1319
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1320
|
+
className: "camera-delete",
|
|
1321
|
+
onClick: function onClick() {
|
|
1322
|
+
return _this.removeCamera(item);
|
|
1323
|
+
}
|
|
1324
|
+
})));
|
|
1325
|
+
}
|
|
1326
|
+
}))), /*#__PURE__*/React.createElement(UContent, null, innerPlatFormType === 1 && (videoType === 'live' || videoType === 'liveGrid') && /*#__PURE__*/React.createElement(VideoLive, _extends({
|
|
1327
|
+
ref: function ref(el) {
|
|
1328
|
+
return _this.videoLive = el;
|
|
1329
|
+
},
|
|
1330
|
+
changeScreen: _this._changeScreen
|
|
1331
|
+
}, videoProps)), innerPlatFormType === 1 && (videoType === 'reply' || videoType === 'replyGrid') && /*#__PURE__*/React.createElement(VideoReply, _extends({
|
|
1332
|
+
ref: function ref(el) {
|
|
1333
|
+
return _this.videoReply = el;
|
|
1334
|
+
},
|
|
1335
|
+
changeScreen: _this._changeScreen
|
|
1336
|
+
}, videoProps)), innerPlatFormType === 3 && (videoType === 'live' || videoType === 'liveGrid') && /*#__PURE__*/React.createElement(VmsVideoLive, _extends({
|
|
1337
|
+
ref: function ref(el) {
|
|
1338
|
+
return _this.videoLive = el;
|
|
1339
|
+
},
|
|
1340
|
+
changeScreen: _this._changeScreen
|
|
1341
|
+
}, videoProps)), innerPlatFormType === 3 && (videoType === 'reply' || videoType === 'replyGrid') && /*#__PURE__*/React.createElement(VmsVideoReplay, _extends({
|
|
1342
|
+
ref: function ref(el) {
|
|
1343
|
+
return _this.videoReply = el;
|
|
1344
|
+
},
|
|
1345
|
+
changeScreen: _this._changeScreen
|
|
1346
|
+
}, videoProps)))));
|
|
1347
|
+
};
|
|
1348
|
+
_this.state = {
|
|
1349
|
+
cameras: props.cameraList || [],
|
|
1350
|
+
innerPlatFormType: 1,
|
|
1351
|
+
// UVideo组件内部自判断的中台类型 VM:1; VMS:3
|
|
1352
|
+
innerVMSPlatFormLoginInfo: {
|
|
1353
|
+
// 内部获取的VMS视频登录信息,包括地址、用户名及密码
|
|
1354
|
+
vmsIP: '',
|
|
1355
|
+
vmsUser: '',
|
|
1356
|
+
vmsPassword: ''
|
|
1357
|
+
},
|
|
1358
|
+
innerVMSdkType: 'imosSdk',
|
|
1359
|
+
// 内部VM中台播放器插件类型,默认悬浮控件
|
|
1360
|
+
sdkLoaded: false,
|
|
1361
|
+
// 播放器是否加载成功
|
|
1362
|
+
innerCurrentGroupNum: undefined,
|
|
1363
|
+
// 内部维护的当前播放组号(从0开始)
|
|
1364
|
+
innerCurrentScreen: props.screenSplitType // 内部维护的分屏数,默认使用props的值
|
|
1365
|
+
};
|
|
1366
|
+
_this.uTree = null; // UTree实例
|
|
1367
|
+
props.V5Token ? window['UdDesignAuthorization'] = props.V5Token : '';
|
|
1368
|
+
_this.treeIcon = new UTreeIcon();
|
|
1369
|
+
_this.treeIcon.init();
|
|
1370
|
+
_this.newInfo = GlobalFunc.getHttpsUrl(); // 当前iframe的url信息对象
|
|
1371
|
+
_this.v5Token = v5Token(); // 保存token
|
|
1372
|
+
_this.voidPath = _getUrlParamWithoutHash('VoidPath') || _getUrlParamWithoutHash('pp'); // 保存SW框架的广播路径,pp为ums的框架中url拼接的字段
|
|
1373
|
+
_this.title = window.name || document.title; // 保存页面标题,在Iframe框架里面使用window.name,在top层使用document.title。
|
|
1374
|
+
_this.localConfig = {}; // VM播放器本地配置数据
|
|
1375
|
+
_this.offset = null; // VM播放器偏移量,初始值为null,三四级菜单在初始化的时候使用
|
|
1376
|
+
return _this;
|
|
1377
|
+
}
|
|
1378
|
+
_inherits(UVideo, _Component);
|
|
1379
|
+
return _createClass(UVideo, [{
|
|
1380
|
+
key: "componentWillMount",
|
|
1381
|
+
value: function componentWillMount() {
|
|
1382
|
+
console.log('UVideo-------------------↓↓↓↓↓↓↓');
|
|
1383
|
+
var _this$props1 = this.props,
|
|
1384
|
+
appointPlatform = _this$props1.appointPlatform,
|
|
1385
|
+
defaultDigClassName = _this$props1.defaultDigClassName,
|
|
1386
|
+
_this$props1$voidClas = _this$props1.voidClassName,
|
|
1387
|
+
voidClassName = _this$props1$voidClas === void 0 ? 'uvideo-pluginVideo-show3' : _this$props1$voidClas;
|
|
1388
|
+
|
|
1389
|
+
//组件所在业务中默认需要挖孔的类名,加入到默认挖孔缓存类名数据中去,不论多少次挖孔,这部分不能少
|
|
1390
|
+
if (defaultDigClassName && Array.isArray(defaultDigClassName) && defaultDigClassName.length > 0) {
|
|
1391
|
+
HideDivClass.addHideInfoList({
|
|
1392
|
+
voidClassName: voidClassName,
|
|
1393
|
+
digClassName: defaultDigClassName
|
|
1394
|
+
});
|
|
1395
|
+
console.log('UVideo-------------------默认挖孔类名属性defaultDigClassName', defaultDigClassName);
|
|
1396
|
+
}
|
|
1397
|
+
this._getUrlOffset();
|
|
1398
|
+
this._queryPlatformType(appointPlatform);
|
|
1399
|
+
window.addEventListener('message', this._resolveMessage);
|
|
1400
|
+
}
|
|
1401
|
+
}, {
|
|
1402
|
+
key: "componentWillReceiveProps",
|
|
1403
|
+
value: function componentWillReceiveProps(nextProps, nextContext) {
|
|
1404
|
+
var _this$props10 = this.props,
|
|
1405
|
+
playerTitle = _this$props10.playerTitle,
|
|
1406
|
+
playerOffSet = _this$props10.playerOffSet,
|
|
1407
|
+
digClassName = _this$props10.digClassName,
|
|
1408
|
+
defaultDigClassName = _this$props10.defaultDigClassName,
|
|
1409
|
+
excludeDigClassName = _this$props10.excludeDigClassName,
|
|
1410
|
+
_this$props10$voidCla = _this$props10.voidClassName,
|
|
1411
|
+
voidClassName = _this$props10$voidCla === void 0 ? 'uvideo-pluginVideo-show3' : _this$props10$voidCla,
|
|
1412
|
+
digTime = _this$props10.digTime,
|
|
1413
|
+
isTopIframe = _this$props10.isTopIframe,
|
|
1414
|
+
currentGroupNum = _this$props10.currentGroupNum,
|
|
1415
|
+
screenSplitType = _this$props10.screenSplitType;
|
|
1416
|
+
if (this.props.V5Token !== nextProps.V5Token) {
|
|
1417
|
+
window['UDesignAuthorization'] = nextProps.V5Token || '';
|
|
1418
|
+
}
|
|
1419
|
+
if (this.state.cameras !== nextProps.cameraList) {
|
|
1420
|
+
this.setState({
|
|
1421
|
+
cameras: nextProps.cameraList
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1424
|
+
if (nextProps.playerTitle && nextProps.playerTitle !== playerTitle && window.imosPlayer) {
|
|
1425
|
+
console.log('UVideo-------------------悬浮控件属性title改变:', nextProps.playerTitle, playerOffSet);
|
|
1426
|
+
window.imosPlayer.changeSpySetting({
|
|
1427
|
+
title: nextProps.playerTitle,
|
|
1428
|
+
offset: playerOffSet
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1431
|
+
if (playerTitle && nextProps.playerOffSet && nextProps.playerOffSet !== playerOffSet && window.imosPlayer) {
|
|
1432
|
+
console.log('UVideo-------------------悬浮控件组件属性playerOffSet改变:', playerTitle, nextProps.playerOffSet);
|
|
1433
|
+
window.imosPlayer.changeSpySetting({
|
|
1434
|
+
title: playerTitle,
|
|
1435
|
+
offset: nextProps.playerOffSet
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
if (nextProps.digClassName && JSON.stringify(nextProps.digClassName) !== JSON.stringify(digClassName) && window.imosPlayer) {
|
|
1439
|
+
console.log('UVideo-------------------悬浮控件属性digClassName改变:', nextProps.digClassName, digClassName);
|
|
1440
|
+
hideDivElement({
|
|
1441
|
+
defaultDigClassName: defaultDigClassName,
|
|
1442
|
+
digClassName: nextProps.digClassName,
|
|
1443
|
+
excludeDigClassName: excludeDigClassName,
|
|
1444
|
+
voidClassName: voidClassName,
|
|
1445
|
+
times: digTime,
|
|
1446
|
+
isTopIframe: isTopIframe
|
|
1447
|
+
}); // 对外部传入的类名进行挖孔
|
|
1448
|
+
}
|
|
1449
|
+
if (nextProps.currentGroupNum !== currentGroupNum && nextProps.currentGroupNum !== undefined) {
|
|
1450
|
+
// 如果外部传入了currentGroupNum,清除内部维护的值
|
|
1451
|
+
this.setState({
|
|
1452
|
+
innerCurrentGroupNum: undefined
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
if (nextProps.screenSplitType !== screenSplitType && nextProps.screenSplitType !== undefined) {
|
|
1456
|
+
// 如果外部传入了screenSplitType,更新内部维护的值
|
|
1457
|
+
this.setState({
|
|
1458
|
+
innerCurrentScreen: nextProps.screenSplitType
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}, {
|
|
1463
|
+
key: "componentWillUnmount",
|
|
1464
|
+
value: function componentWillUnmount() {
|
|
1465
|
+
window.removeEventListener('message', this._resolveMessage);
|
|
1466
|
+
}
|
|
1467
|
+
}, {
|
|
1468
|
+
key: "_getSWPort",
|
|
1469
|
+
value:
|
|
1470
|
+
/**
|
|
1471
|
+
* 获取sw端口信息
|
|
1472
|
+
*/
|
|
1473
|
+
function _getSWPort() {
|
|
1474
|
+
var port = window.location.port;
|
|
1475
|
+
if (!!port) {
|
|
1476
|
+
return port;
|
|
1477
|
+
}
|
|
1478
|
+
if (window.location.protocol.toLowerCase() === 'https:') {
|
|
1479
|
+
return '443';
|
|
1480
|
+
}
|
|
1481
|
+
return '80';
|
|
1482
|
+
}
|
|
1483
|
+
}, {
|
|
1484
|
+
key: "getVideoStatus",
|
|
1485
|
+
value:
|
|
1486
|
+
/**
|
|
1487
|
+
*业务查询播放窗格状态
|
|
1488
|
+
* @param {*} obj { forceQuery = false 是否重新查一次, index 窗格序号
|
|
1489
|
+
* @returns [{i:obj}]
|
|
1490
|
+
*/
|
|
1491
|
+
function getVideoStatus(obj) {
|
|
1492
|
+
var platformType = this.state.innerPlatFormType;
|
|
1493
|
+
if (platformType === 1) {
|
|
1494
|
+
var _this$this$_getVideoR;
|
|
1495
|
+
return (_this$this$_getVideoR = this[this._getVideoRef()]) === null || _this$this$_getVideoR === void 0 ? void 0 : _this$this$_getVideoR.useImosInterface(_objectSpread(_objectSpread({}, obj), {}, {
|
|
1496
|
+
interfaceName: 'getVideoStatus'
|
|
1497
|
+
}));
|
|
1498
|
+
}
|
|
1499
|
+
return Promise.reject('');
|
|
1500
|
+
}
|
|
1501
|
+
}, {
|
|
1502
|
+
key: "render",
|
|
1503
|
+
value: function render() {
|
|
1504
|
+
var _this$props11 = this.props,
|
|
1505
|
+
isModal = _this$props11.isModal,
|
|
1506
|
+
_this$props11$modalPr = _this$props11.modalProps,
|
|
1507
|
+
modalProps = _this$props11$modalPr === void 0 ? {} : _this$props11$modalPr,
|
|
1508
|
+
theme = _this$props11.theme,
|
|
1509
|
+
canClickBack = _this$props11.canClickBack,
|
|
1510
|
+
modalTitle = _this$props11.modalTitle,
|
|
1511
|
+
_this$props11$videoTy = _this$props11.videoType,
|
|
1512
|
+
videoType = _this$props11$videoTy === void 0 ? 'live' : _this$props11$videoTy,
|
|
1513
|
+
textLocale = _this$props11.textLocale;
|
|
1514
|
+
var videoTitle = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, modalTitle || (videoType === 'live' ? textLocale.liveVideo : textLocale.videoPlayback)));
|
|
1515
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isModal ? /*#__PURE__*/React.createElement(UModal, _extends({
|
|
1516
|
+
className: "".concat(CUSTOM_PREFIX, "-video-modal"),
|
|
1517
|
+
title: videoTitle,
|
|
1518
|
+
visible: true,
|
|
1519
|
+
canDragm: true,
|
|
1520
|
+
canZoom: true,
|
|
1521
|
+
footer: null,
|
|
1522
|
+
canClickBack: canClickBack,
|
|
1523
|
+
onCancel: this._onCancel,
|
|
1524
|
+
width: 960,
|
|
1525
|
+
theme: theme
|
|
1526
|
+
}, modalProps), this._renderVideo()) : this._renderVideo());
|
|
1527
|
+
}
|
|
1528
|
+
}]);
|
|
1529
|
+
}(Component);
|
|
1530
|
+
export { UVideo as default };
|