light-chaser-pro 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.trae/.ignore +1 -0
- package/LICENSE +21 -0
- package/README.md +99 -0
- package/UI_DESIGN_SPEC.md +130 -0
- package/deploy.bat +98 -0
- package/doc//344/277/256/345/244/215/347/224/273/345/270/203/350/207/252/351/200/202/345/272/224bug/350/203/214/345/220/216/347/232/204/347/220/206/350/256/272/347/237/245/350/257/206.md +291 -0
- package/light-chaser-app/.dockerignore +6 -0
- package/light-chaser-app/.eslintrc.cjs +19 -0
- package/light-chaser-app/Dockerfile +40 -0
- package/light-chaser-app/command.md +23 -0
- package/light-chaser-app/index.html +30 -0
- package/light-chaser-app/nginx.conf +31 -0
- package/light-chaser-app/package.json +74 -0
- package/light-chaser-app/public/favicon.ico +0 -0
- package/light-chaser-app/release.html +38 -0
- package/light-chaser-app/src/api/ReponseHandler.ts +49 -0
- package/light-chaser-app/src/api/RoleApi.ts +28 -0
- package/light-chaser-app/src/api/engineering/AbstractApi.ts +75 -0
- package/light-chaser-app/src/api/engineering/ApiManager.ts +26 -0
- package/light-chaser-app/src/api/engineering/BaseApi.ts +131 -0
- package/light-chaser-app/src/api/engineering/PureShowApi.ts +28 -0
- package/light-chaser-app/src/comps/antd/area-base/AntdBaseAreaConfig.tsx +269 -0
- package/light-chaser-app/src/comps/antd/area-base/AntdBaseAreaDefinition.ts +232 -0
- package/light-chaser-app/src/comps/antd/area-base/base-area.png +0 -0
- package/light-chaser-app/src/comps/antd/area-percent/AntdPercentAreaDefinition.ts +241 -0
- package/light-chaser-app/src/comps/antd/area-percent/percent-area.png +0 -0
- package/light-chaser-app/src/comps/antd/area-stack/AntdStackAreaDefinition.ts +212 -0
- package/light-chaser-app/src/comps/antd/area-stack/stack-area.png +0 -0
- package/light-chaser-app/src/comps/antd/bar-base/AntdBaseBarDefinition.ts +134 -0
- package/light-chaser-app/src/comps/antd/bar-base/base-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/bar-group/AntdGroupBarDefinition.ts +160 -0
- package/light-chaser-app/src/comps/antd/bar-group/group-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/bar-percent/AntdPercentBarController.ts +21 -0
- package/light-chaser-app/src/comps/antd/bar-percent/AntdPercentBarDefinition.ts +167 -0
- package/light-chaser-app/src/comps/antd/bar-percent/percent-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/bar-range/AntdRangeBarDefinition.ts +180 -0
- package/light-chaser-app/src/comps/antd/bar-range/range-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/bar-stack/AntdStackBarDefinition.ts +144 -0
- package/light-chaser-app/src/comps/antd/bar-stack/stack-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/column-base/AntdBaseColumnDefinition.ts +144 -0
- package/light-chaser-app/src/comps/antd/column-base/base-column.png +0 -0
- package/light-chaser-app/src/comps/antd/column-group/AntdGroupColumnDefinition.ts +154 -0
- package/light-chaser-app/src/comps/antd/column-group/group-column.png +0 -0
- package/light-chaser-app/src/comps/antd/column-percent/AntdPercentColumnDefinition.ts +168 -0
- package/light-chaser-app/src/comps/antd/column-percent/percent-column.png +0 -0
- package/light-chaser-app/src/comps/antd/column-range/AntdRangeColumnDefinition.ts +178 -0
- package/light-chaser-app/src/comps/antd/column-range/range-column.png +0 -0
- package/light-chaser-app/src/comps/antd/column-stack/AntdStackColumnDefinition.ts +152 -0
- package/light-chaser-app/src/comps/antd/column-stack/stack-column.png +0 -0
- package/light-chaser-app/src/comps/antd/g2plot-custom/G2PlotCustomConfig.tsx +80 -0
- package/light-chaser-app/src/comps/antd/g2plot-custom/G2PlotCustomController.ts +83 -0
- package/light-chaser-app/src/comps/antd/g2plot-custom/G2PlotCustomDefinition.ts +160 -0
- package/light-chaser-app/src/comps/antd/g2plot-custom/g2-plot-custom.png +0 -0
- package/light-chaser-app/src/comps/antd/gauge/AntdGaugeConfig.tsx +423 -0
- package/light-chaser-app/src/comps/antd/gauge/AntdGaugeController.ts +110 -0
- package/light-chaser-app/src/comps/antd/gauge/AntdGaugeDefinition.ts +162 -0
- package/light-chaser-app/src/comps/antd/gauge/gauge.png +0 -0
- package/light-chaser-app/src/comps/antd/line-base/AntdBaseLineDefinition.ts +147 -0
- package/light-chaser-app/src/comps/antd/line-base/base-line.png +0 -0
- package/light-chaser-app/src/comps/antd/line-multi/AntdMultiLineConfig.tsx +241 -0
- package/light-chaser-app/src/comps/antd/line-multi/AntdMultiLineDefinition.ts +244 -0
- package/light-chaser-app/src/comps/antd/line-multi/multi-line.png +0 -0
- package/light-chaser-app/src/comps/antd/line-step/AntdStepLineDefinition.ts +171 -0
- package/light-chaser-app/src/comps/antd/line-step/step-line.png +0 -0
- package/light-chaser-app/src/comps/antd/liquid/AntdLiquidConfig.tsx +338 -0
- package/light-chaser-app/src/comps/antd/liquid/AntdLiquidController.ts +106 -0
- package/light-chaser-app/src/comps/antd/liquid/AntdLiquidDefinition.ts +152 -0
- package/light-chaser-app/src/comps/antd/liquid/liquid.png +0 -0
- package/light-chaser-app/src/comps/antd/pie/AntdPieController.ts +74 -0
- package/light-chaser-app/src/comps/antd/pie/AntdPieDefinition.ts +165 -0
- package/light-chaser-app/src/comps/antd/pie/AntdPieStyleConfig.tsx +528 -0
- package/light-chaser-app/src/comps/antd/pie/pie.png +0 -0
- package/light-chaser-app/src/comps/antd/radar/AntdRadarController.ts +110 -0
- package/light-chaser-app/src/comps/antd/radar/AntdRadarDefinition.ts +187 -0
- package/light-chaser-app/src/comps/antd/radar/AntdRadarStyleConfig.tsx +270 -0
- package/light-chaser-app/src/comps/antd/radar/radar.png +0 -0
- package/light-chaser-app/src/comps/antd/radial-bar-base/AntdBaseRadialBarController.ts +79 -0
- package/light-chaser-app/src/comps/antd/radial-bar-base/AntdBaseRadialBarDefinition.ts +124 -0
- package/light-chaser-app/src/comps/antd/radial-bar-base/AntdBaseRadialBarStyleConfig.tsx +275 -0
- package/light-chaser-app/src/comps/antd/radial-bar-base/base-radial-bar.png +0 -0
- package/light-chaser-app/src/comps/antd/ring-progress/AntdRingProgressConfig.tsx +334 -0
- package/light-chaser-app/src/comps/antd/ring-progress/AntdRingProgressController.ts +85 -0
- package/light-chaser-app/src/comps/antd/ring-progress/AntdRingProgressDefinition.ts +138 -0
- package/light-chaser-app/src/comps/antd/ring-progress/ring-progress.png +0 -0
- package/light-chaser-app/src/comps/antd/rose-base/AntdBaseRoseDefinition.ts +102 -0
- package/light-chaser-app/src/comps/antd/rose-base/base-rose.png +0 -0
- package/light-chaser-app/src/comps/antd/rose-group/AntdGroupRoseDefinition.ts +127 -0
- package/light-chaser-app/src/comps/antd/rose-group/group-rose.png +0 -0
- package/light-chaser-app/src/comps/antd/rose-stack/AntdStackRoseDefinition.ts +142 -0
- package/light-chaser-app/src/comps/antd/rose-stack/stack-rose.png +0 -0
- package/light-chaser-app/src/comps/antd/scatter-bubble/AntdScatterBubbleDefinition.ts +192 -0
- package/light-chaser-app/src/comps/antd/scatter-bubble/scatter-bubble.png +0 -0
- package/light-chaser-app/src/comps/antd/scatter-point/AntdScatterPointDefinition.ts +143 -0
- package/light-chaser-app/src/comps/antd/scatter-point/scatter-point.png +0 -0
- package/light-chaser-app/src/comps/antd/word-cloud/AntdWordCloudConfig.tsx +167 -0
- package/light-chaser-app/src/comps/antd/word-cloud/AntdWordCloudController.ts +75 -0
- package/light-chaser-app/src/comps/antd/word-cloud/AntdWordCloudDefinition.ts +198 -0
- package/light-chaser-app/src/comps/antd/word-cloud/word-cloud.png +0 -0
- package/light-chaser-app/src/comps/antd-common/AntdBaseDesignerController.ts +96 -0
- package/light-chaser-app/src/comps/antd-common/AntdCommonDefinition.ts +51 -0
- package/light-chaser-app/src/comps/antd-common/AntdCommonUtil.ts +27 -0
- package/light-chaser-app/src/comps/antd-common/area/AbstractAreaDefinition.ts +53 -0
- package/light-chaser-app/src/comps/antd-common/area/AntdAreaCommonConfig.tsx +276 -0
- package/light-chaser-app/src/comps/antd-common/area/AntdCommonAreaController.ts +108 -0
- package/light-chaser-app/src/comps/antd-common/bar/AbstractBarDefinition.ts +52 -0
- package/light-chaser-app/src/comps/antd-common/bar/AntdBarCommonConfig.tsx +177 -0
- package/light-chaser-app/src/comps/antd-common/bar/AntdCommonBarController.ts +98 -0
- package/light-chaser-app/src/comps/antd-common/column/AbstractColumnDefinition.ts +51 -0
- package/light-chaser-app/src/comps/antd-common/column/AntdColumnCommonConfig.tsx +185 -0
- package/light-chaser-app/src/comps/antd-common/column/AntdCommonColumnController.ts +99 -0
- package/light-chaser-app/src/comps/antd-common/config/AntdFragment.tsx +40 -0
- package/light-chaser-app/src/comps/antd-common/config/axis/AxisConfig.tsx +555 -0
- package/light-chaser-app/src/comps/antd-common/config/legend/AntdLegend.tsx +279 -0
- package/light-chaser-app/src/comps/antd-common/config/legend/Legend.less +68 -0
- package/light-chaser-app/src/comps/antd-common/config/tooltip/G2Tooltip.tsx +62 -0
- package/light-chaser-app/src/comps/antd-common/line/AbstractLineDefinition.ts +53 -0
- package/light-chaser-app/src/comps/antd-common/line/AntdCommonLineController.ts +109 -0
- package/light-chaser-app/src/comps/antd-common/line/AntdLineCommonConfig.tsx +229 -0
- package/light-chaser-app/src/comps/antd-common/rose/AbstractRoseDefinition.ts +52 -0
- package/light-chaser-app/src/comps/antd-common/rose/AntdCommonRoseController.ts +67 -0
- package/light-chaser-app/src/comps/antd-common/rose/AntdRoseCommonConfig.tsx +279 -0
- package/light-chaser-app/src/comps/antd-common/scatter/AbstractScatterDefinition.ts +51 -0
- package/light-chaser-app/src/comps/antd-common/scatter/AntdCommonScatterController.ts +96 -0
- package/light-chaser-app/src/comps/antd-common/scatter/AntdScatterCommonConfig.tsx +210 -0
- package/light-chaser-app/src/comps/antd-common/types.ts +82 -0
- package/light-chaser-app/src/comps/antd-common/util/G2ColorUtil.ts +129 -0
- package/light-chaser-app/src/comps/common-component/animation-config/AnimationConfig.less +23 -0
- package/light-chaser-app/src/comps/common-component/animation-config/AnimationConfig.tsx +26 -0
- package/light-chaser-app/src/comps/common-component/base-info/BaseInfo.tsx +238 -0
- package/light-chaser-app/src/comps/common-component/base-info/BaseInfoStore.ts +36 -0
- package/light-chaser-app/src/comps/common-component/config-code/ConfigCode.tsx +62 -0
- package/light-chaser-app/src/comps/common-component/data-config/DataConfig.tsx +130 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/ApiDataConfig.tsx +285 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/CommonApiConfig.tsx +210 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/DataSourceConfig.less +19 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/DataSourceConfig.tsx +151 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/DatabaseConfig.tsx +241 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/GlobalVariableConfig.tsx +178 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/MQTTConfig.tsx +311 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/StaticDataConfig.tsx +156 -0
- package/light-chaser-app/src/comps/common-component/data-source-config/WebSocketConfig.tsx +183 -0
- package/light-chaser-app/src/comps/common-component/filter-config/FilterConfig.less +18 -0
- package/light-chaser-app/src/comps/common-component/filter-config/FilterConfig.tsx +175 -0
- package/light-chaser-app/src/comps/common-component/floating-modal/FloatingModal.less +116 -0
- package/light-chaser-app/src/comps/common-component/floating-modal/FloatingModal.tsx +166 -0
- package/light-chaser-app/src/comps/common-component/schema-fragment/SchemaFragment.ts +137 -0
- package/light-chaser-app/src/comps/common-component/theme-config/ThemeConfig.tsx +57 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-editor/ThemeEditor.less +189 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-editor/ThemeEditor.tsx +199 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-item/ColorPreviewItem.less +16 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-item/ColorPreviewItem.tsx +16 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-item/ThemeItem.less +82 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-item/ThemeItem.tsx +66 -0
- package/light-chaser-app/src/comps/common-component/theme-config/theme-list/ThemeList.tsx +66 -0
- package/light-chaser-app/src/comps/echarts/EChartsConfig.tsx +80 -0
- package/light-chaser-app/src/comps/echarts/EChartsController.ts +121 -0
- package/light-chaser-app/src/comps/echarts/EChartsCustomDataUpdateConfig.tsx +80 -0
- package/light-chaser-app/src/comps/echarts/EChartsDefinition.ts +186 -0
- package/light-chaser-app/src/comps/echarts/echarts.png +0 -0
- package/light-chaser-app/src/comps/group-layer/GroupLayer.tsx +90 -0
- package/light-chaser-app/src/comps/group-layer/GroupLayerController.ts +64 -0
- package/light-chaser-app/src/comps/group-layer/GroupLayerDefinition.ts +95 -0
- package/light-chaser-app/src/comps/lc/base-button/BaseButtonComponent.less +105 -0
- package/light-chaser-app/src/comps/lc/base-button/BaseButtonComponent.tsx +81 -0
- package/light-chaser-app/src/comps/lc/base-button/BaseButtonConfig.tsx +186 -0
- package/light-chaser-app/src/comps/lc/base-button/BaseButtonController.ts +75 -0
- package/light-chaser-app/src/comps/lc/base-button/BaseButtonDefinition.ts +112 -0
- package/light-chaser-app/src/comps/lc/base-button/base-button.png +0 -0
- package/light-chaser-app/src/comps/lc/base-color-block/BaseColorBlockComponent.tsx +65 -0
- package/light-chaser-app/src/comps/lc/base-color-block/BaseColorBlockConfig.tsx +97 -0
- package/light-chaser-app/src/comps/lc/base-color-block/BaseColorBlockController.ts +69 -0
- package/light-chaser-app/src/comps/lc/base-color-block/BaseColorBlockDefinition.ts +95 -0
- package/light-chaser-app/src/comps/lc/base-color-block/base-color-block.png +0 -0
- package/light-chaser-app/src/comps/lc/base-iframe/BaseIframeComponent.tsx +65 -0
- package/light-chaser-app/src/comps/lc/base-iframe/BaseIframeConfig.tsx +45 -0
- package/light-chaser-app/src/comps/lc/base-iframe/BaseIframeController.ts +57 -0
- package/light-chaser-app/src/comps/lc/base-iframe/BaseIframeDefinition.ts +77 -0
- package/light-chaser-app/src/comps/lc/base-iframe/base-iframe.png +0 -0
- package/light-chaser-app/src/comps/lc/base-image/BaseImageComponent.tsx +86 -0
- package/light-chaser-app/src/comps/lc/base-image/BaseImageConfig.tsx +100 -0
- package/light-chaser-app/src/comps/lc/base-image/BaseImageController.ts +72 -0
- package/light-chaser-app/src/comps/lc/base-image/BaseImageDefinition.ts +89 -0
- package/light-chaser-app/src/comps/lc/base-image/baseImage.png +0 -0
- package/light-chaser-app/src/comps/lc/base-input/BaseInputComponent.less +44 -0
- package/light-chaser-app/src/comps/lc/base-input/BaseInputComponent.tsx +92 -0
- package/light-chaser-app/src/comps/lc/base-input/BaseInputConfig.tsx +173 -0
- package/light-chaser-app/src/comps/lc/base-input/BaseInputController.ts +77 -0
- package/light-chaser-app/src/comps/lc/base-input/BaseInputDefinition.ts +114 -0
- package/light-chaser-app/src/comps/lc/base-input/base-input.png +0 -0
- package/light-chaser-app/src/comps/lc/base-select/BaseSelectComponent.less +17 -0
- package/light-chaser-app/src/comps/lc/base-select/BaseSelectComponent.tsx +91 -0
- package/light-chaser-app/src/comps/lc/base-select/BaseSelectConfig.tsx +182 -0
- package/light-chaser-app/src/comps/lc/base-select/BaseSelectController.ts +92 -0
- package/light-chaser-app/src/comps/lc/base-select/BaseSelectDefinition.ts +116 -0
- package/light-chaser-app/src/comps/lc/base-select/base-select.png +0 -0
- package/light-chaser-app/src/comps/lc/base-switch/BaseSwitchComponent.less +9 -0
- package/light-chaser-app/src/comps/lc/base-switch/BaseSwitchComponent.tsx +190 -0
- package/light-chaser-app/src/comps/lc/base-switch/BaseSwitchController.ts +104 -0
- package/light-chaser-app/src/comps/lc/base-switch/BaseSwitchDefinition.ts +134 -0
- package/light-chaser-app/src/comps/lc/base-switch/BaseSwitchStyleConfig.tsx +187 -0
- package/light-chaser-app/src/comps/lc/base-switch/base-switch.png +0 -0
- package/light-chaser-app/src/comps/lc/base-tab/BaseTabComponent.less +90 -0
- package/light-chaser-app/src/comps/lc/base-tab/BaseTabComponent.tsx +240 -0
- package/light-chaser-app/src/comps/lc/base-tab/BaseTabController.ts +112 -0
- package/light-chaser-app/src/comps/lc/base-tab/BaseTabDefinition.ts +137 -0
- package/light-chaser-app/src/comps/lc/base-tab/BaseTabStyleConfig.tsx +278 -0
- package/light-chaser-app/src/comps/lc/base-tab/tab.jpg +0 -0
- package/light-chaser-app/src/comps/lc/base-table/BaseTableComponent.less +55 -0
- package/light-chaser-app/src/comps/lc/base-table/BaseTableComponent.tsx +214 -0
- package/light-chaser-app/src/comps/lc/base-table/BaseTableConfig.tsx +252 -0
- package/light-chaser-app/src/comps/lc/base-table/BaseTableController.ts +72 -0
- package/light-chaser-app/src/comps/lc/base-table/BaseTableDefinition.ts +185 -0
- package/light-chaser-app/src/comps/lc/base-table/base-table.png +0 -0
- package/light-chaser-app/src/comps/lc/base-text/BaseTextComponent.less +57 -0
- package/light-chaser-app/src/comps/lc/base-text/BaseTextComponent.tsx +124 -0
- package/light-chaser-app/src/comps/lc/base-text/BaseTextConfig.tsx +255 -0
- package/light-chaser-app/src/comps/lc/base-text/BaseTextController.ts +79 -0
- package/light-chaser-app/src/comps/lc/base-text/BaseTextDefinition.ts +102 -0
- package/light-chaser-app/src/comps/lc/base-text/base-text.png +0 -0
- package/light-chaser-app/src/comps/lc/base-video/BaseVideoComponent.tsx +64 -0
- package/light-chaser-app/src/comps/lc/base-video/BaseVideoConfig.tsx +43 -0
- package/light-chaser-app/src/comps/lc/base-video/BaseVideoController.ts +68 -0
- package/light-chaser-app/src/comps/lc/base-video/BaseVideoDefinition.ts +86 -0
- package/light-chaser-app/src/comps/lc/base-video/baseVideo.png +0 -0
- package/light-chaser-app/src/comps/lc/carousel/CarouselComponent.less +17 -0
- package/light-chaser-app/src/comps/lc/carousel/CarouselComponent.tsx +80 -0
- package/light-chaser-app/src/comps/lc/carousel/CarouselConfig.tsx +69 -0
- package/light-chaser-app/src/comps/lc/carousel/CarouselController.ts +62 -0
- package/light-chaser-app/src/comps/lc/carousel/CarouselDefinition.ts +91 -0
- package/light-chaser-app/src/comps/lc/carousel/carousel.png +0 -0
- package/light-chaser-app/src/comps/lc/date-time/DateTimeComponent.less +16 -0
- package/light-chaser-app/src/comps/lc/date-time/DateTimeComponent.tsx +106 -0
- package/light-chaser-app/src/comps/lc/date-time/DateTimeConfig.tsx +163 -0
- package/light-chaser-app/src/comps/lc/date-time/DateTimeController.ts +70 -0
- package/light-chaser-app/src/comps/lc/date-time/DateTimeDefinition.ts +93 -0
- package/light-chaser-app/src/comps/lc/date-time/date-time.png +0 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/DateTimePickerComponent.less +15 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/DateTimePickerComponent.tsx +259 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/DateTimePickerConfig.tsx +219 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/DateTimePickerController.ts +114 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/DateTimePickerDefinition.ts +170 -0
- package/light-chaser-app/src/comps/lc/date-time-picker/datetime-picker.jpg +0 -0
- package/light-chaser-app/src/comps/lc/digital-flipper/DigitalFlipperComponent.tsx +106 -0
- package/light-chaser-app/src/comps/lc/digital-flipper/DigitalFlipperConfig.tsx +197 -0
- package/light-chaser-app/src/comps/lc/digital-flipper/DigitalFlipperController.ts +76 -0
- package/light-chaser-app/src/comps/lc/digital-flipper/DigitalFlipperDefinition.ts +99 -0
- package/light-chaser-app/src/comps/lc/digital-flipper/digital-flipper.png +0 -0
- package/light-chaser-app/src/comps/lc/flv-player/FlvPlayerComponent.tsx +89 -0
- package/light-chaser-app/src/comps/lc/flv-player/FlvPlayerConfig.tsx +44 -0
- package/light-chaser-app/src/comps/lc/flv-player/FlvPlayerController.ts +56 -0
- package/light-chaser-app/src/comps/lc/flv-player/FlvPlayerDefinition.ts +89 -0
- package/light-chaser-app/src/comps/lc/flv-player/flv-player.png +0 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/FourAngleGloeBorder.less +64 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/FourAngleGlowBorder.tsx +64 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/FourAngleGlowBorderConfig.tsx +67 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/FourAngleGlowBorderController.ts +71 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/FourAngleGlowBorderDefinition.ts +91 -0
- package/light-chaser-app/src/comps/lc/four-angle-glow-border/four-angle-glow-border.png +0 -0
- package/light-chaser-app/src/comps/lc/hls-player/HlsPlayerComponent.tsx +90 -0
- package/light-chaser-app/src/comps/lc/hls-player/HlsPlayerConfig.tsx +44 -0
- package/light-chaser-app/src/comps/lc/hls-player/HlsPlayerController.ts +51 -0
- package/light-chaser-app/src/comps/lc/hls-player/HlsPlayerDefinition.ts +89 -0
- package/light-chaser-app/src/comps/lc/hls-player/hls-player.png +0 -0
- package/light-chaser-app/src/comps/lc/screen-reference/ScreenReferenceComponent.tsx +144 -0
- package/light-chaser-app/src/comps/lc/screen-reference/ScreenReferenceConfig.tsx +63 -0
- package/light-chaser-app/src/comps/lc/screen-reference/ScreenReferenceController.ts +55 -0
- package/light-chaser-app/src/comps/lc/screen-reference/ScreenReferenceDefinition.ts +89 -0
- package/light-chaser-app/src/comps/lc/screen-reference/screen-reference.png +0 -0
- package/light-chaser-app/src/comps/lc/text-scroller/TextScrollerComponent.less +41 -0
- package/light-chaser-app/src/comps/lc/text-scroller/TextScrollerComponent.tsx +82 -0
- package/light-chaser-app/src/comps/lc/text-scroller/TextScrollerConfig.tsx +115 -0
- package/light-chaser-app/src/comps/lc/text-scroller/TextScrollerController.ts +71 -0
- package/light-chaser-app/src/comps/lc/text-scroller/TextScrollerDefinition.ts +89 -0
- package/light-chaser-app/src/comps/lc/text-scroller/text-scroller.png +0 -0
- package/light-chaser-app/src/comps/loop-container/LoopContainer.less +26 -0
- package/light-chaser-app/src/comps/loop-container/LoopContainer.tsx +69 -0
- package/light-chaser-app/src/comps/loop-container/LoopContainerConfig.tsx +84 -0
- package/light-chaser-app/src/comps/loop-container/LoopContainerController.ts +115 -0
- package/light-chaser-app/src/comps/loop-container/LoopContainerDefinition.ts +127 -0
- package/light-chaser-app/src/comps/map/AMapComponent.less +27 -0
- package/light-chaser-app/src/comps/map/AMapComponent.tsx +79 -0
- package/light-chaser-app/src/comps/map/AMapConfig.tsx +103 -0
- package/light-chaser-app/src/comps/map/AMapController.ts +57 -0
- package/light-chaser-app/src/comps/map/AMapDefinition.ts +104 -0
- package/light-chaser-app/src/comps/map/AMapScaleObserver.ts +44 -0
- package/light-chaser-app/src/comps/map/MapLoader.ts +61 -0
- package/light-chaser-app/src/comps/map/a-map.d.ts +22 -0
- package/light-chaser-app/src/comps/map/a-map.png +0 -0
- package/light-chaser-app/src/constant/GlobalConstant.ts +17 -0
- package/light-chaser-app/src/designer/Designer.tsx +146 -0
- package/light-chaser-app/src/designer/blueprint/BPCanvas.less +24 -0
- package/light-chaser-app/src/designer/blueprint/BPCanvas.tsx +79 -0
- package/light-chaser-app/src/designer/blueprint/BluePrint.tsx +39 -0
- package/light-chaser-app/src/designer/blueprint/IBPTyps.ts +27 -0
- package/light-chaser-app/src/designer/blueprint/bp-context-menu/BpContextMenu.tsx +112 -0
- package/light-chaser-app/src/designer/blueprint/core/BPExecutor.ts +43 -0
- package/light-chaser-app/src/designer/blueprint/core/BPTask.ts +67 -0
- package/light-chaser-app/src/designer/blueprint/drag/BPMovable.tsx +89 -0
- package/light-chaser-app/src/designer/blueprint/drag/BPSelectable.tsx +75 -0
- package/light-chaser-app/src/designer/blueprint/footer/BPFooter.less +268 -0
- package/light-chaser-app/src/designer/blueprint/footer/BPFooter.tsx +172 -0
- package/light-chaser-app/src/designer/blueprint/header/BPHeader.less +41 -0
- package/light-chaser-app/src/designer/blueprint/header/BPHeader.tsx +31 -0
- package/light-chaser-app/src/designer/blueprint/left/BPLeft.less +262 -0
- package/light-chaser-app/src/designer/blueprint/left/BPLeft.tsx +245 -0
- package/light-chaser-app/src/designer/blueprint/left/BPLeftStore.ts +44 -0
- package/light-chaser-app/src/designer/blueprint/line/LineLayer.tsx +301 -0
- package/light-chaser-app/src/designer/blueprint/manager/BluePrintManager.ts +503 -0
- package/light-chaser-app/src/designer/blueprint/manager/BluePrintPageManager.ts +94 -0
- package/light-chaser-app/src/designer/blueprint/node/BPNode.less +154 -0
- package/light-chaser-app/src/designer/blueprint/node/BPNode.tsx +77 -0
- package/light-chaser-app/src/designer/blueprint/node/NodeLayer.tsx +43 -0
- package/light-chaser-app/src/designer/blueprint/node/core/AbstractBPNodeController.ts +48 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/condition/BPConditionNodeController.ts +108 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/condition/ConditionNodeConfig.tsx +39 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/global/BPGlobalNodeController.ts +67 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/global-variable/BPGlobalVariableNodeController.ts +92 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/layer/BPLayerNodeController.ts +95 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/logical-process/BPLogicalProcessNodeController.ts +102 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/logical-process/LogicalProcessNodeConfig.tsx +39 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/mqtt/BPMqttNodeController.ts +165 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/mqtt/MqttNodeConfig.tsx +33 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/popup-box/BPPopupBoxNodeController.ts +79 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/popup-box/ModalRenderUtil.tsx +181 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/popup-box/PopupBoxNodeConfig.tsx +84 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/timer/BPTimerNodeController.ts +73 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/timer/TimerNodeConfig.tsx +51 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/visible/BPVisibleNodeController.ts +93 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/visible/VisibleNodeConfig.tsx +60 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/websocket/BPWebSocketNodeController.ts +129 -0
- package/light-chaser-app/src/designer/blueprint/node/core/impl/websocket/WebSocketNodeConfig.tsx +33 -0
- package/light-chaser-app/src/designer/blueprint/node/core/node-container/BPNodeContainer.less +25 -0
- package/light-chaser-app/src/designer/blueprint/node/core/node-container/BPNodeContainer.tsx +87 -0
- package/light-chaser-app/src/designer/blueprint/right/BPRight.less +181 -0
- package/light-chaser-app/src/designer/blueprint/right/BPRight.tsx +66 -0
- package/light-chaser-app/src/designer/blueprint/right/BPRightStore.ts +34 -0
- package/light-chaser-app/src/designer/blueprint/util/BpCanvasUtil.ts +254 -0
- package/light-chaser-app/src/designer/blueprint/util/EventUtil.ts +60 -0
- package/light-chaser-app/src/designer/canvas/DesignerCanvas.tsx +73 -0
- package/light-chaser-app/src/designer/canvas/DesignerDragScaleContainer.tsx +77 -0
- package/light-chaser-app/src/designer/canvas/DesignerRuler.tsx +164 -0
- package/light-chaser-app/src/designer/event/ContextMenuStore.ts +71 -0
- package/light-chaser-app/src/designer/footer/DesignerFooter.less +110 -0
- package/light-chaser-app/src/designer/footer/DesignerFooter.tsx +125 -0
- package/light-chaser-app/src/designer/footer/FooterStore.ts +56 -0
- package/light-chaser-app/src/designer/footer/auto-save/AutoSaveManager.ts +130 -0
- package/light-chaser-app/src/designer/footer/auto-save/EnhanceFetch.ts +41 -0
- package/light-chaser-app/src/designer/footer/auto-save/RestoreLocalStorage.less +80 -0
- package/light-chaser-app/src/designer/footer/auto-save/RestoreLocalStorage.tsx +158 -0
- package/light-chaser-app/src/designer/footer/cover/CoverConfig.less +131 -0
- package/light-chaser-app/src/designer/footer/cover/CoverConfig.tsx +113 -0
- package/light-chaser-app/src/designer/footer/hotkey-des/HotKeyDes.less +63 -0
- package/light-chaser-app/src/designer/footer/hotkey-des/HotKeyDes.tsx +111 -0
- package/light-chaser-app/src/designer/header/DesignerHeader.less +132 -0
- package/light-chaser-app/src/designer/header/DesignerHeader.tsx +172 -0
- package/light-chaser-app/src/designer/header/DesignerHeaderStore.ts +30 -0
- package/light-chaser-app/src/designer/header/items/blue-print/BluePrintHdImpl.tsx +32 -0
- package/light-chaser-app/src/designer/header/items/canvas/CanvasHdConfigImpl.less +180 -0
- package/light-chaser-app/src/designer/header/items/canvas/CanvasHdConfigImpl.tsx +128 -0
- package/light-chaser-app/src/designer/header/items/canvas/CanvasManager.ts +55 -0
- package/light-chaser-app/src/designer/header/items/global-filter/GlobalFilterConfigImpl.tsx +42 -0
- package/light-chaser-app/src/designer/header/items/project/ProjectHdItemImpl.less +34 -0
- package/light-chaser-app/src/designer/header/items/project/ProjectHdItemImpl.tsx +64 -0
- package/light-chaser-app/src/designer/header/items/project/ProjectManager.ts +56 -0
- package/light-chaser-app/src/designer/header/items/release/ReleaseHdConfigImpl.less +205 -0
- package/light-chaser-app/src/designer/header/items/release/ReleaseHdConfigImpl.tsx +189 -0
- package/light-chaser-app/src/designer/header/items/theme/ThemeHdItem.less +161 -0
- package/light-chaser-app/src/designer/header/items/theme/ThemeHdItemImpl.tsx +76 -0
- package/light-chaser-app/src/designer/header/items/theme/ThemeManager.ts +81 -0
- package/light-chaser-app/src/designer/left/DesignerLeft.less +15 -0
- package/light-chaser-app/src/designer/left/DesignerLeft.tsx +55 -0
- package/light-chaser-app/src/designer/left/DesignerLeftStore.ts +40 -0
- package/light-chaser-app/src/designer/left/compoent-lib/ComponentCategorize.ts +135 -0
- package/light-chaser-app/src/designer/left/compoent-lib/ComponentList.less +129 -0
- package/light-chaser-app/src/designer/left/compoent-lib/ComponentList.tsx +89 -0
- package/light-chaser-app/src/designer/left/compoent-lib/ComponentListStore.ts +64 -0
- package/light-chaser-app/src/designer/left/compoent-lib/list/CompList.less +112 -0
- package/light-chaser-app/src/designer/left/compoent-lib/list/CompList.tsx +155 -0
- package/light-chaser-app/src/designer/left/designer-left-menus/LeftMenus.less +63 -0
- package/light-chaser-app/src/designer/left/designer-left-menus/LeftMenus.tsx +87 -0
- package/light-chaser-app/src/designer/left/filter-lilst/AddFilterDialog.tsx +76 -0
- package/light-chaser-app/src/designer/left/filter-lilst/FilterList.less +105 -0
- package/light-chaser-app/src/designer/left/filter-lilst/FilterList.tsx +65 -0
- package/light-chaser-app/src/designer/left/global-variable/GlobalVariable.less +231 -0
- package/light-chaser-app/src/designer/left/global-variable/GlobalVariable.ts +151 -0
- package/light-chaser-app/src/designer/left/global-variable/GlobalVariableEditPanel.tsx +79 -0
- package/light-chaser-app/src/designer/left/global-variable/GlobalVariableList.tsx +89 -0
- package/light-chaser-app/src/designer/left/global-variable/parse/ComponentDataGvParser.ts +298 -0
- package/light-chaser-app/src/designer/left/layer-list/CanvasRender.ts +69 -0
- package/light-chaser-app/src/designer/left/layer-list/DesignerRender.ts +70 -0
- package/light-chaser-app/src/designer/left/layer-list/LayerList.less +371 -0
- package/light-chaser-app/src/designer/left/layer-list/LayerList.tsx +129 -0
- package/light-chaser-app/src/designer/left/layer-list/LayerListStore.ts +197 -0
- package/light-chaser-app/src/designer/left/layer-list/LayerRender.ts +67 -0
- package/light-chaser-app/src/designer/left/layer-list/item/BaseLayer.tsx +125 -0
- package/light-chaser-app/src/designer/left/layer-list/item/LayerGroupItem.tsx +61 -0
- package/light-chaser-app/src/designer/left/layer-list/item/LayerItem.tsx +48 -0
- package/light-chaser-app/src/designer/left/layer-list/search-layer/SearchLayer.less +121 -0
- package/light-chaser-app/src/designer/left/layer-list/search-layer/SearchLayer.tsx +82 -0
- package/light-chaser-app/src/designer/left/layer-list/util/LayerUtil.ts +370 -0
- package/light-chaser-app/src/designer/left/source-list/SourceList.less +99 -0
- package/light-chaser-app/src/designer/left/source-list/SourceList.tsx +50 -0
- package/light-chaser-app/src/designer/left/source-list/image-source/ImageSource.less +139 -0
- package/light-chaser-app/src/designer/left/source-list/image-source/ImageSource.tsx +155 -0
- package/light-chaser-app/src/designer/left/sub-project/SubProject.less +200 -0
- package/light-chaser-app/src/designer/left/sub-project/SubProject.tsx +231 -0
- package/light-chaser-app/src/designer/left/template-lib/TemplateLib.less +226 -0
- package/light-chaser-app/src/designer/left/template-lib/TemplateLib.tsx +165 -0
- package/light-chaser-app/src/designer/loader/DesignerLoader.ts +334 -0
- package/light-chaser-app/src/designer/loader/EditDesignerLoader.ts +75 -0
- package/light-chaser-app/src/designer/loader/PureReleaseDesignerLoader.ts +123 -0
- package/light-chaser-app/src/designer/loader/ReleaseDesignerLoader.ts +129 -0
- package/light-chaser-app/src/designer/loader/ViewDesignerLoader.ts +57 -0
- package/light-chaser-app/src/designer/manager/DesignerManager.ts +96 -0
- package/light-chaser-app/src/designer/manager/FilterManager.ts +69 -0
- package/light-chaser-app/src/designer/manager/GlobalFilterManger.ts +69 -0
- package/light-chaser-app/src/designer/manager/GlobalVariableManager.ts +148 -0
- package/light-chaser-app/src/designer/manager/LayerManager.ts +170 -0
- package/light-chaser-app/src/designer/manager/ManagerStore.ts +93 -0
- package/light-chaser-app/src/designer/manager/core/AbstractManager.ts +18 -0
- package/light-chaser-app/src/designer/operate-provider/EventOperateStore.ts +150 -0
- package/light-chaser-app/src/designer/operate-provider/canvas-context-menu/CanvasContextMenu.tsx +204 -0
- package/light-chaser-app/src/designer/operate-provider/hot-key/HotKey.tsx +51 -0
- package/light-chaser-app/src/designer/operate-provider/hot-key/HotKeyConfig.ts +226 -0
- package/light-chaser-app/src/designer/operate-provider/hot-key/HotKeyImpl.ts +871 -0
- package/light-chaser-app/src/designer/operate-provider/hot-key/HotKeyType.ts +29 -0
- package/light-chaser-app/src/designer/operate-provider/movable/DesignerMovable.less +19 -0
- package/light-chaser-app/src/designer/operate-provider/movable/DesignerMovable.tsx +461 -0
- package/light-chaser-app/src/designer/operate-provider/movable/DesignerSelectable.tsx +123 -0
- package/light-chaser-app/src/designer/operate-provider/scale/ScaleCore.ts +43 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/HistoryOperator.ts +37 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/HistoryQueue.ts +170 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/HistoryRecordOperateProxy.ts +1740 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/OperateType.ts +183 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/AbstractRollback.ts +27 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/AddRollbackImpl.ts +89 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/DelRollbackImpl.ts +99 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/DragRollbackImpl.ts +59 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/HideRollbackImpl.ts +61 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/LockRollbackImpl.ts +57 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/OrderRollbackImpl.ts +34 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/ResizeRollbackImpl.ts +59 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/RotateRollbackImpl.ts +58 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/StyleRollbackImpl.ts +62 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/UpdLayerGroupRollbackImpl.ts +62 -0
- package/light-chaser-app/src/designer/operate-provider/undo-redo/core/index.ts +37 -0
- package/light-chaser-app/src/designer/release/DesignerRelease.less +41 -0
- package/light-chaser-app/src/designer/release/DesignerRelease.tsx +91 -0
- package/light-chaser-app/src/designer/right/ConfigContent.tsx +186 -0
- package/light-chaser-app/src/designer/right/DesignerRight.less +325 -0
- package/light-chaser-app/src/designer/right/DesignerRight.tsx +28 -0
- package/light-chaser-app/src/designer/right/MenuList.tsx +70 -0
- package/light-chaser-app/src/designer/right/MenuType.ts +23 -0
- package/light-chaser-app/src/designer/right/RightStore.ts +122 -0
- package/light-chaser-app/src/designer/right/status-list/ComponentStatusList.tsx +73 -0
- package/light-chaser-app/src/designer/right/status-list/StatusListStore.ts +175 -0
- package/light-chaser-app/src/designer/right/util.ts +53 -0
- package/light-chaser-app/src/designer/store/RuntimeStore.ts +32 -0
- package/light-chaser-app/src/designer/style/DesignerGlobalStyle.less +75 -0
- package/light-chaser-app/src/designer/view/DesignerView.less +41 -0
- package/light-chaser-app/src/designer/view/DesignerView.tsx +61 -0
- package/light-chaser-app/src/framework/cache/AbstractCache.ts +38 -0
- package/light-chaser-app/src/framework/cache/ImageSourceCache.ts +23 -0
- package/light-chaser-app/src/framework/cache/LocalCoverCache.ts +29 -0
- package/light-chaser-app/src/framework/context-menu/ContextMenu.less +57 -0
- package/light-chaser-app/src/framework/context-menu/ContextMenu.tsx +76 -0
- package/light-chaser-app/src/framework/convert/AbstractConvert.ts +31 -0
- package/light-chaser-app/src/framework/core/AbstractController.ts +76 -0
- package/light-chaser-app/src/framework/core/AbstractDefinition.ts +77 -0
- package/light-chaser-app/src/framework/core/AbstractDesignerController.ts +129 -0
- package/light-chaser-app/src/framework/core/AbstractDesignerDefinition.ts +136 -0
- package/light-chaser-app/src/framework/core/AbstractScaleObserver.ts +15 -0
- package/light-chaser-app/src/framework/core/ComponentContainer.tsx +130 -0
- package/light-chaser-app/src/framework/core/ScaleAction.ts +33 -0
- package/light-chaser-app/src/framework/core/tools/ComponentDataUpdater.ts +260 -0
- package/light-chaser-app/src/framework/drag-scale/DragAddProvider.ts +45 -0
- package/light-chaser-app/src/framework/drag-scale/DragScaleProvider.tsx +202 -0
- package/light-chaser-app/src/framework/screen-fit/ScreenFit.less +25 -0
- package/light-chaser-app/src/framework/screen-fit/ScreenFit.tsx +177 -0
- package/light-chaser-app/src/global/ExportEditGlobalMember.ts +54 -0
- package/light-chaser-app/src/global/ExportViewGlobalMember.ts +40 -0
- package/light-chaser-app/src/global/GlobalConstants.ts +16 -0
- package/light-chaser-app/src/images/lock.svg +23 -0
- package/light-chaser-app/src/images/login-logo.png +0 -0
- package/light-chaser-app/src/images/logo.png +0 -0
- package/light-chaser-app/src/images/user.svg +23 -0
- package/light-chaser-app/src/index.less +359 -0
- package/light-chaser-app/src/index.tsx +47 -0
- package/light-chaser-app/src/pages/auth-reminder/AuthReminders.less +218 -0
- package/light-chaser-app/src/pages/auth-reminder/AuthReminders.tsx +174 -0
- package/light-chaser-app/src/pages/auth-reminder/AuthRemindersStore.ts +30 -0
- package/light-chaser-app/src/pages/designer/DesignerPage.tsx +18 -0
- package/light-chaser-app/src/pages/home/Home.less +123 -0
- package/light-chaser-app/src/pages/home/Home.tsx +81 -0
- package/light-chaser-app/src/pages/home/api-management/ApiEditPanel.tsx +79 -0
- package/light-chaser-app/src/pages/home/api-management/ApiManagement.module.less +234 -0
- package/light-chaser-app/src/pages/home/api-management/ApiManagement.tsx +152 -0
- package/light-chaser-app/src/pages/home/api-management/ApiManagementStore.ts +187 -0
- package/light-chaser-app/src/pages/home/database/DataBaseList.module.less +369 -0
- package/light-chaser-app/src/pages/home/database/DataBaseList.tsx +264 -0
- package/light-chaser-app/src/pages/home/database/DataBasePanel.less +170 -0
- package/light-chaser-app/src/pages/home/database/DataBasePanel.tsx +172 -0
- package/light-chaser-app/src/pages/home/database/DataBaseStore.ts +220 -0
- package/light-chaser-app/src/pages/home/dynamic-script/DynamicScriptList.module.less +305 -0
- package/light-chaser-app/src/pages/home/dynamic-script/DynamicScriptList.tsx +248 -0
- package/light-chaser-app/src/pages/home/dynamic-script/DynamicScriptManagement.tsx +19 -0
- package/light-chaser-app/src/pages/home/dynamic-script/DynamicScriptManagementStore.ts +192 -0
- package/light-chaser-app/src/pages/home/font-management/FontManagement.module.less +281 -0
- package/light-chaser-app/src/pages/home/font-management/FontManagement.tsx +218 -0
- package/light-chaser-app/src/pages/home/font-management/FontManagementStore.ts +153 -0
- package/light-chaser-app/src/pages/home/image/default-snapshot.jpg +0 -0
- package/light-chaser-app/src/pages/home/menus/HomeMenus.less +175 -0
- package/light-chaser-app/src/pages/home/menus/HomeMenus.tsx +148 -0
- package/light-chaser-app/src/pages/home/more-info/MoreInfo.module.less +154 -0
- package/light-chaser-app/src/pages/home/more-info/MoreInfo.tsx +71 -0
- package/light-chaser-app/src/pages/home/page-container/PageContainer.less +130 -0
- package/light-chaser-app/src/pages/home/page-container/PageContainer.tsx +41 -0
- package/light-chaser-app/src/pages/home/project-list/CloneProjectDialog.tsx +43 -0
- package/light-chaser-app/src/pages/home/project-list/DelProjectDialog.tsx +37 -0
- package/light-chaser-app/src/pages/home/project-list/NewProjectDialog.less +262 -0
- package/light-chaser-app/src/pages/home/project-list/NewProjectDialog.tsx +152 -0
- package/light-chaser-app/src/pages/home/project-list/ProjectItem.less +192 -0
- package/light-chaser-app/src/pages/home/project-list/ProjectItem.tsx +136 -0
- package/light-chaser-app/src/pages/home/project-list/ProjectList.less +137 -0
- package/light-chaser-app/src/pages/home/project-list/ProjectList.tsx +180 -0
- package/light-chaser-app/src/pages/home/project-management/ProjectManagement.tsx +18 -0
- package/light-chaser-app/src/pages/home/project-setting/ProjectSetting.less +39 -0
- package/light-chaser-app/src/pages/home/project-setting/ProjectSetting.tsx +39 -0
- package/light-chaser-app/src/pages/home/release-management/ReleaseEditPanel.tsx +62 -0
- package/light-chaser-app/src/pages/home/release-management/ReleaseManagement.module.less +216 -0
- package/light-chaser-app/src/pages/home/release-management/ReleaseManagement.tsx +213 -0
- package/light-chaser-app/src/pages/home/release-management/ReleaseStore.ts +138 -0
- package/light-chaser-app/src/pages/home/remote-component/RemoteComponentManagement.module.less +290 -0
- package/light-chaser-app/src/pages/home/remote-component/RemoteComponentManagement.tsx +244 -0
- package/light-chaser-app/src/pages/home/remote-component/RemoteComponentStore.ts +143 -0
- package/light-chaser-app/src/pages/home/resource-management/ResourceManagement.tsx +18 -0
- package/light-chaser-app/src/pages/home/server-list/ServerProjectList.tsx +21 -0
- package/light-chaser-app/src/pages/home/setting/Setting.module.less +298 -0
- package/light-chaser-app/src/pages/home/setting/Setting.tsx +123 -0
- package/light-chaser-app/src/pages/home/template-market/TemplateMarket.tsx +22 -0
- package/light-chaser-app/src/pages/home/user-info/UserInfo.less +279 -0
- package/light-chaser-app/src/pages/home/user-info/UserInfo.tsx +186 -0
- package/light-chaser-app/src/pages/home/user-management/UserManagement.module.less +211 -0
- package/light-chaser-app/src/pages/home/user-management/UserManagement.tsx +209 -0
- package/light-chaser-app/src/pages/home/user-management/UserManagementStore.ts +183 -0
- package/light-chaser-app/src/pages/home/user-management/UserPanel.tsx +113 -0
- package/light-chaser-app/src/pages/login/Login.less +282 -0
- package/light-chaser-app/src/pages/login/Login.tsx +77 -0
- package/light-chaser-app/src/pages/login/ServiceTerms.tsx +118 -0
- package/light-chaser-app/src/pages/login/bg.png +0 -0
- package/light-chaser-app/src/pages/preview/DesignerViewPage.tsx +18 -0
- package/light-chaser-app/src/pages/release/DesignerReleasePage.tsx +19 -0
- package/light-chaser-app/src/pages/result/Error.tsx +24 -0
- package/light-chaser-app/src/pages/result/NoAuth.tsx +24 -0
- package/light-chaser-app/src/pages/result/NotFound.tsx +24 -0
- package/light-chaser-app/src/pureRelease/home/PureHome.less +100 -0
- package/light-chaser-app/src/pureRelease/home/PureHome.tsx +90 -0
- package/light-chaser-app/src/pureRelease/index.less +335 -0
- package/light-chaser-app/src/pureRelease/index.tsx +59 -0
- package/light-chaser-app/src/pureRelease/list/PureList.less +173 -0
- package/light-chaser-app/src/pureRelease/list/PureList.tsx +118 -0
- package/light-chaser-app/src/pureRelease/release/PureRelease.less +41 -0
- package/light-chaser-app/src/pureRelease/release/PureRelease.tsx +53 -0
- package/light-chaser-app/src/router/AuthGuard.tsx +48 -0
- package/light-chaser-app/src/router/router.tsx +76 -0
- package/light-chaser-app/src/test/Demo.tsx +22 -0
- package/light-chaser-app/src/test/DemoMain.less +47 -0
- package/light-chaser-app/src/test/DemoStore.ts +51 -0
- package/light-chaser-app/src/test/alone-store-demo/AloneStore.ts +28 -0
- package/light-chaser-app/src/test/alone-store-demo/TestStoreA.tsx +28 -0
- package/light-chaser-app/src/test/alone-store-demo/TestStoreB.tsx +28 -0
- package/light-chaser-app/src/test/canvas-grid-animation/CanvasGridAnimation.tsx +59 -0
- package/light-chaser-app/src/test/drag-demo/LayerDemo.less +35 -0
- package/light-chaser-app/src/test/drag-demo/LayerDemo.tsx +53 -0
- package/light-chaser-app/src/test/drag-demo/LayerDemoStore.ts +33 -0
- package/light-chaser-app/src/test/drag-demo/MovableDemo.tsx +77 -0
- package/light-chaser-app/src/test/drag-demo/SelectableDemo.tsx +75 -0
- package/light-chaser-app/src/test/other-designer/_demo.js +99 -0
- package/light-chaser-app/src/test/test-json-schema/JsonSchemaDemo.tsx +120 -0
- package/light-chaser-app/src/theme/AntdTheme.ts +1285 -0
- package/light-chaser-app/src/theme/default.less +41 -0
- package/light-chaser-app/src/util/AuthFetchUtil.ts +37 -0
- package/light-chaser-app/src/util/BoundsValidatorUtil.ts +27 -0
- package/light-chaser-app/src/util/ControllerUtil.ts +14 -0
- package/light-chaser-app/src/util/CoordinateUtil.ts +105 -0
- package/light-chaser-app/src/util/DataUtil.ts +111 -0
- package/light-chaser-app/src/util/DomUtil.ts +57 -0
- package/light-chaser-app/src/util/EnvUtil.ts +27 -0
- package/light-chaser-app/src/util/FetchUtil.ts +193 -0
- package/light-chaser-app/src/util/HybridCryptoUtil.ts +137 -0
- package/light-chaser-app/src/util/LogoUtil.ts +34 -0
- package/light-chaser-app/src/util/ProjectUtil.ts +209 -0
- package/light-chaser-app/src/util/RequestAnimationFrameUtil.ts +31 -0
- package/light-chaser-app/src/util/TextUtil.ts +63 -0
- package/light-chaser-app/src/util/Tooles.ts +45 -0
- package/light-chaser-app/src/vite-env.d.ts +53 -0
- package/light-chaser-app/tsconfig.json +40 -0
- package/light-chaser-app/tsconfig.node.json +15 -0
- package/light-chaser-app/vite.base.config.ts +23 -0
- package/light-chaser-app/vite.build.config.ts +18 -0
- package/light-chaser-app/vite.dev.config.ts +43 -0
- package/light-chaser-app/vite.pure.release.config.ts +41 -0
- package/light-chaser-cli/bin/index.js +176 -0
- package/light-chaser-cli/config/vite.config.dev.js +24 -0
- package/light-chaser-cli/config/vite.config.prod.js +47 -0
- package/light-chaser-cli/package.json +41 -0
- package/light-chaser-cli/page/index.html +36 -0
- package/light-chaser-cli/pnpm-lock.yaml +494 -0
- package/light-chaser-cli/template/index.html +35 -0
- package/light-chaser-cli/template/package.json +38 -0
- package/light-chaser-cli/template/src/components/remote-button/base-button.png +0 -0
- package/light-chaser-cli/template/src/components/remote-button/component.module.less +105 -0
- package/light-chaser-cli/template/src/components/remote-button/component.tsx +82 -0
- package/light-chaser-cli/template/src/components/remote-button/config.tsx +179 -0
- package/light-chaser-cli/template/src/components/remote-button/controller.ts +108 -0
- package/light-chaser-cli/template/src/components/remote-button/definition.ts +125 -0
- package/light-chaser-cli/template/src/index.module.less +89 -0
- package/light-chaser-cli/template/src/index.tsx +140 -0
- package/light-chaser-cli/template/src/vite-env.d.ts +22 -0
- package/light-chaser-cli/template/tsconfig.json +39 -0
- package/light-chaser-cli/template/tsconfig.node.json +11 -0
- package/light-chaser-interface/README.md +3 -0
- package/light-chaser-interface/lib/AbstractController.ts +69 -0
- package/light-chaser-interface/lib/AbstractDefinition.ts +84 -0
- package/light-chaser-interface/lib/AbstractDesignerController.ts +80 -0
- package/light-chaser-interface/lib/AbstractDesignerDefinition.ts +71 -0
- package/light-chaser-interface/lib/BPExecutor.ts +28 -0
- package/light-chaser-interface/lib/ConfigComponents.tsx +40 -0
- package/light-chaser-interface/lib/main.ts +17 -0
- package/light-chaser-interface/package.json +46 -0
- package/light-chaser-interface/tsconfig-build.json +6 -0
- package/light-chaser-interface/tsconfig.json +40 -0
- package/light-chaser-interface/tsconfig.node.json +15 -0
- package/light-chaser-interface/vite.config.ts +22 -0
- package/light-chaser-types/package.json +38 -0
- package/light-chaser-types/tsconfig-build.json +6 -0
- package/light-chaser-types/tsconfig.json +41 -0
- package/light-chaser-types/tsconfig.node.json +12 -0
- package/light-chaser-types/types/BluePrintTypes.ts +85 -0
- package/light-chaser-types/types/CanvasTypes.ts +33 -0
- package/light-chaser-types/types/ComponentTypes.ts +100 -0
- package/light-chaser-types/types/DataSourceTypes.ts +96 -0
- package/light-chaser-types/types/DesignerToolsTypes.ts +18 -0
- package/light-chaser-types/types/DesignerTypes.ts +136 -0
- package/light-chaser-types/types/FilterTypes.ts +44 -0
- package/light-chaser-types/types/GlobalVariableTypes.ts +43 -0
- package/light-chaser-types/types/LayerTypes.ts +90 -0
- package/light-chaser-types/types/ReleaseTypes.ts +22 -0
- package/light-chaser-types/types/ThemeTypes.ts +34 -0
- package/light-chaser-types/types/main.ts +69 -0
- package/light-chaser-types/vite.config.ts +14 -0
- package/light-chaser-ui/index.html +24 -0
- package/light-chaser-ui/lib/accordion/Accordion.less +158 -0
- package/light-chaser-ui/lib/accordion/Accordion.tsx +43 -0
- package/light-chaser-ui/lib/accordion/IAccordionType.ts +35 -0
- package/light-chaser-ui/lib/accordion/SubAccordion.tsx +44 -0
- package/light-chaser-ui/lib/button/Button.tsx +37 -0
- package/light-chaser-ui/lib/card-panel/CardPanel.less +32 -0
- package/light-chaser-ui/lib/card-panel/CardPanel.tsx +36 -0
- package/light-chaser-ui/lib/checkbox/CheckBox.tsx +42 -0
- package/light-chaser-ui/lib/code-editor/CodeEditor.tsx +55 -0
- package/light-chaser-ui/lib/code-editor/FullEditor.tsx +45 -0
- package/light-chaser-ui/lib/code-editor/MonacoEditor.less +35 -0
- package/light-chaser-ui/lib/code-editor/MonacoEditor.tsx +83 -0
- package/light-chaser-ui/lib/color-mode/ColorMode.less +20 -0
- package/light-chaser-ui/lib/color-mode/ColorMode.tsx +80 -0
- package/light-chaser-ui/lib/color-picker/ColorPicker.less +104 -0
- package/light-chaser-ui/lib/color-picker/ColorPicker.tsx +315 -0
- package/light-chaser-ui/lib/color-picker/RecentColors.ts +46 -0
- package/light-chaser-ui/lib/colors-picker/ColorsPicker.less +77 -0
- package/light-chaser-ui/lib/colors-picker/ColorsPicker.tsx +78 -0
- package/light-chaser-ui/lib/control-group/ControlGroup.less +49 -0
- package/light-chaser-ui/lib/control-group/ControlGroup.tsx +101 -0
- package/light-chaser-ui/lib/frame-layout/FrameLayout.less +47 -0
- package/light-chaser-ui/lib/frame-layout/FrameLayout.tsx +42 -0
- package/light-chaser-ui/lib/grid/Grid.less +20 -0
- package/light-chaser-ui/lib/grid/Grid.tsx +33 -0
- package/light-chaser-ui/lib/group-button/GroupButton.less +52 -0
- package/light-chaser-ui/lib/group-button/GroupButton.tsx +54 -0
- package/light-chaser-ui/lib/gui/GUITheme.ts +547 -0
- package/light-chaser-ui/lib/gui/LCGUI.tsx +186 -0
- package/light-chaser-ui/lib/gui/LCGUIUtil.ts +108 -0
- package/light-chaser-ui/lib/imag-upload/ImageUpload.less +26 -0
- package/light-chaser-ui/lib/imag-upload/ImageUpload.tsx +102 -0
- package/light-chaser-ui/lib/input/Input.tsx +48 -0
- package/light-chaser-ui/lib/input/NumberInput.tsx +52 -0
- package/light-chaser-ui/lib/loading/Loading.less +211 -0
- package/light-chaser-ui/lib/loading/Loading.tsx +38 -0
- package/light-chaser-ui/lib/main.ts +71 -0
- package/light-chaser-ui/lib/message/GlobalMessage.tsx +44 -0
- package/light-chaser-ui/lib/message/GlobalModal.tsx +44 -0
- package/light-chaser-ui/lib/radio/Radio.tsx +53 -0
- package/light-chaser-ui/lib/searchable-select/SearchableSelect.tsx +239 -0
- package/light-chaser-ui/lib/select/Select.tsx +89 -0
- package/light-chaser-ui/lib/slider/Slider.tsx +51 -0
- package/light-chaser-ui/lib/switch/Switch.tsx +42 -0
- package/light-chaser-ui/lib/text-area/TextArea.tsx +49 -0
- package/light-chaser-ui/lib/text-only/TextOnly.tsx +25 -0
- package/light-chaser-ui/lib/types.ts +257 -0
- package/light-chaser-ui/lib/ui-container/UIContainer.less +44 -0
- package/light-chaser-ui/lib/ui-container/UIContainer.tsx +40 -0
- package/light-chaser-ui/lib/ui-map.ts +59 -0
- package/light-chaser-ui/package.json +57 -0
- package/light-chaser-ui/public/favicon.ico +0 -0
- package/light-chaser-ui/src/test.tsx +24 -0
- package/light-chaser-ui/tsconfig-build.json +6 -0
- package/light-chaser-ui/tsconfig.json +42 -0
- package/light-chaser-ui/tsconfig.node.json +12 -0
- package/light-chaser-ui/vite.config.ts +25 -0
- package/light-chaser-util/lib/AuthTools.ts +75 -0
- package/light-chaser-util/lib/Base64Util.ts +31 -0
- package/light-chaser-util/lib/ColorUtil.ts +110 -0
- package/light-chaser-util/lib/ComponentUtil.ts +45 -0
- package/light-chaser-util/lib/FileUtil.ts +49 -0
- package/light-chaser-util/lib/IdGenerate.ts +23 -0
- package/light-chaser-util/lib/ObjectUtil.ts +130 -0
- package/light-chaser-util/lib/SafeEvalUtil.ts +63 -0
- package/light-chaser-util/lib/URLUtil.ts +27 -0
- package/light-chaser-util/lib/main.ts +21 -0
- package/light-chaser-util/package.json +40 -0
- package/light-chaser-util/src/test.ts +12 -0
- package/light-chaser-util/tsconfig-build.json +6 -0
- package/light-chaser-util/tsconfig.json +36 -0
- package/light-chaser-util/vite.config.ts +18 -0
- package/package.json +12 -0
- package/pnpm-workspace.yaml +7 -0
- package/prompt/UI/344/274/230/345/214/226/346/217/220/347/244/272/350/257/215.md +144 -0
- package/prompt//347/273/204/344/273/266/345/274/200/345/217/221/346/217/220/347/244/272/350/257/215.md +1090 -0
- package/prompt//351/200/273/350/276/221/344/274/230/345/214/226/346/217/220/347/244/272/350/257/215.md +98 -0
- package/prompt//351/205/215/347/275/256/351/241/271/347/224/237/346/210/220/345/267/245/344/275/234/346/265/201.md +401 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
.lc-login {
|
|
13
|
+
color: #a0a0b2;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
background: url('./bg.png') center/cover no-repeat;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
background-size: cover;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
.lc-login-container {
|
|
25
|
+
z-index: 2;
|
|
26
|
+
width: 440px;
|
|
27
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
|
|
28
|
+
0 0 0 1px rgba(79, 184, 255, 0.1);
|
|
29
|
+
background: rgba(44, 44, 62, 0.95);
|
|
30
|
+
backdrop-filter: blur(10px);
|
|
31
|
+
border-radius: 12px;
|
|
32
|
+
padding: 48px 0 40px;
|
|
33
|
+
border: 1px solid rgba(79, 184, 255, 0.2);
|
|
34
|
+
transform: translateY(0);
|
|
35
|
+
transition: all 0.3s ease;
|
|
36
|
+
position: relative;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
|
|
39
|
+
&::after {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: -2px;
|
|
43
|
+
left: -2px;
|
|
44
|
+
right: -2px;
|
|
45
|
+
bottom: -2px;
|
|
46
|
+
background: linear-gradient(45deg, transparent, transparent, rgba(79, 184, 255, 0.1), transparent, transparent);
|
|
47
|
+
z-index: -1;
|
|
48
|
+
animation: borderGlow 4s ease-in-out infinite;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
transform: translateY(-2px);
|
|
53
|
+
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
|
|
54
|
+
0 0 0 1px rgba(79, 184, 255, 0.3);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.login-header {
|
|
58
|
+
text-align: center;
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
align-items: center;
|
|
62
|
+
margin-bottom: 32px;
|
|
63
|
+
position: relative;
|
|
64
|
+
|
|
65
|
+
.header-logo {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
width: 80px;
|
|
69
|
+
height: 80px;
|
|
70
|
+
margin-bottom: 20px;
|
|
71
|
+
background: linear-gradient(145deg, #2c2c3e, #3a3a4e);
|
|
72
|
+
border-radius: 16px;
|
|
73
|
+
padding: 12px;
|
|
74
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
75
|
+
border: 1px solid rgba(79, 184, 255, 0.2);
|
|
76
|
+
transition: all 0.3s ease;
|
|
77
|
+
|
|
78
|
+
&:hover {
|
|
79
|
+
transform: scale(1.05);
|
|
80
|
+
box-shadow: 0 6px 20px rgba(79, 184, 255, 0.3);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
img {
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
object-fit: contain;
|
|
87
|
+
filter: brightness(1.2) drop-shadow(0 0 8px rgba(79, 184, 255, 0.4));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.header-des {
|
|
92
|
+
margin-bottom: 0;
|
|
93
|
+
color: #ffffff;
|
|
94
|
+
font-size: 16px;
|
|
95
|
+
line-height: 24px;
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
98
|
+
background: linear-gradient(135deg, #4fb8ff, #3ced92);
|
|
99
|
+
-webkit-background-clip: text;
|
|
100
|
+
-webkit-text-fill-color: transparent;
|
|
101
|
+
background-clip: text;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.login-body {
|
|
106
|
+
padding: 0 40px;
|
|
107
|
+
|
|
108
|
+
.login-item {
|
|
109
|
+
margin-bottom: 20px;
|
|
110
|
+
position: relative;
|
|
111
|
+
|
|
112
|
+
.ant-input-affix-wrapper {
|
|
113
|
+
background: rgba(44, 44, 62, 0.8);
|
|
114
|
+
border: 2px solid #3a3a4e;
|
|
115
|
+
border-radius: 8px;
|
|
116
|
+
transition: all 0.3s ease;
|
|
117
|
+
backdrop-filter: blur(5px);
|
|
118
|
+
|
|
119
|
+
input:-webkit-autofill,
|
|
120
|
+
input:-webkit-autofill:hover,
|
|
121
|
+
input:-webkit-autofill:focus,
|
|
122
|
+
input:-webkit-autofill:active {
|
|
123
|
+
-webkit-box-shadow: 0 0 0 1000px #2c2c3e inset !important; /* 背景颜色 */
|
|
124
|
+
-webkit-text-fill-color: #cfcfcf !important; /* 文本颜色 */
|
|
125
|
+
border: none !important;
|
|
126
|
+
outline: none !important;
|
|
127
|
+
box-shadow: 0 0 0 1000px #2c2c3e inset !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:hover {
|
|
131
|
+
border-color: #4fb8ff;
|
|
132
|
+
box-shadow: 0 0 20px rgba(79, 184, 255, 0.3);
|
|
133
|
+
transform: translateY(-1px);
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:focus,
|
|
138
|
+
.ant-input-affix-wrapper-focused {
|
|
139
|
+
border-color: #4fb8ff;
|
|
140
|
+
box-shadow: 0 0 30px rgba(79, 184, 255, 0.4);
|
|
141
|
+
transform: translateY(-2px);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ant-input-prefix {
|
|
145
|
+
margin-inline-end: 12px;
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center;
|
|
148
|
+
|
|
149
|
+
img {
|
|
150
|
+
width: 20px;
|
|
151
|
+
height: 20px;
|
|
152
|
+
filter: brightness(1.2) drop-shadow(0 0 4px rgba(79, 184, 255, 0.3));
|
|
153
|
+
transition: all 0.3s ease;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&:hover .ant-input-prefix img {
|
|
158
|
+
filter: brightness(1.5) drop-shadow(0 0 8px rgba(79, 184, 255, 0.5));
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ant-input {
|
|
162
|
+
color: #ffffff;
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
line-height: 20px;
|
|
165
|
+
background: transparent;
|
|
166
|
+
|
|
167
|
+
&::placeholder {
|
|
168
|
+
color: #a0a0b2;
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
transition: all 0.3s ease;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&:hover .ant-input::placeholder {
|
|
175
|
+
color: #4fb8ff;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
input {
|
|
179
|
+
transition: background-color 9999s ease-in-out 0s !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ant-btn {
|
|
186
|
+
border-radius: 8px;
|
|
187
|
+
font-size: 16px;
|
|
188
|
+
font-weight: 600;
|
|
189
|
+
border: none;
|
|
190
|
+
background: linear-gradient(135deg, #4fb8ff, #3aa8ff);
|
|
191
|
+
box-shadow: 0 4px 16px rgba(79, 184, 255, 0.4);
|
|
192
|
+
transition: all 0.3s ease;
|
|
193
|
+
position: relative;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
|
|
196
|
+
&::before {
|
|
197
|
+
content: '';
|
|
198
|
+
position: absolute;
|
|
199
|
+
top: 0;
|
|
200
|
+
left: -100%;
|
|
201
|
+
width: 100%;
|
|
202
|
+
height: 100%;
|
|
203
|
+
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
204
|
+
transition: left 0.5s ease;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&:hover {
|
|
208
|
+
background: linear-gradient(135deg, #3aa8ff, #2c98ff);
|
|
209
|
+
box-shadow: 0 6px 24px rgba(79, 184, 255, 0.6);
|
|
210
|
+
transform: translateY(-2px);
|
|
211
|
+
|
|
212
|
+
&::before {
|
|
213
|
+
left: 100%;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&:active {
|
|
218
|
+
transform: translateY(0);
|
|
219
|
+
box-shadow: 0 2px 8px rgba(79, 184, 255, 0.3);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.service-terms {
|
|
225
|
+
text-align: center;
|
|
226
|
+
margin-top: 24px;
|
|
227
|
+
font-size: 12px;
|
|
228
|
+
line-height: 16px;
|
|
229
|
+
color: #a0a0b2;
|
|
230
|
+
|
|
231
|
+
span {
|
|
232
|
+
cursor: pointer;
|
|
233
|
+
color: #4fb8ff;
|
|
234
|
+
font-weight: 600;
|
|
235
|
+
transition: all 0.3s ease;
|
|
236
|
+
position: relative;
|
|
237
|
+
|
|
238
|
+
&::after {
|
|
239
|
+
content: '';
|
|
240
|
+
position: absolute;
|
|
241
|
+
bottom: -2px;
|
|
242
|
+
left: 0;
|
|
243
|
+
width: 0;
|
|
244
|
+
height: 1px;
|
|
245
|
+
background: linear-gradient(90deg, #4fb8ff, #3ced92);
|
|
246
|
+
transition: width 0.3s ease;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&:hover {
|
|
250
|
+
color: #3ced92;
|
|
251
|
+
text-shadow: 0 0 8px rgba(60, 237, 146, 0.4);
|
|
252
|
+
|
|
253
|
+
&::after {
|
|
254
|
+
width: 100%;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@keyframes shimmer {
|
|
264
|
+
0% {
|
|
265
|
+
background-position: 0% 50%;
|
|
266
|
+
}
|
|
267
|
+
50% {
|
|
268
|
+
background-position: 100% 50%;
|
|
269
|
+
}
|
|
270
|
+
100% {
|
|
271
|
+
background-position: 0% 50%;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
@keyframes borderGlow {
|
|
276
|
+
0%, 100% {
|
|
277
|
+
opacity: 0.5;
|
|
278
|
+
}
|
|
279
|
+
50% {
|
|
280
|
+
opacity: 1;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import './Login.less';
|
|
13
|
+
import {useNavigate} from "react-router-dom";
|
|
14
|
+
import {memo, useRef, useState} from "react";
|
|
15
|
+
import FetchUtil from "../../util/FetchUtil.ts";
|
|
16
|
+
import AuthTools, {IUserInfo} from "../../../../light-chaser-util/lib/AuthTools.ts";
|
|
17
|
+
import {Button, Input} from 'antd';
|
|
18
|
+
import logo from '../../images/login-logo.png';
|
|
19
|
+
import user from '../../images/user.svg';
|
|
20
|
+
import lock from '../../images/lock.svg';
|
|
21
|
+
import ServiceTerms from "./ServiceTerms.tsx";
|
|
22
|
+
import {HybridCryptoUtil} from "../../util/HybridCryptoUtil.ts";
|
|
23
|
+
|
|
24
|
+
const Login = memo(() => {
|
|
25
|
+
const navigate = useNavigate();
|
|
26
|
+
const usernameRef = useRef("");
|
|
27
|
+
const passwordRef = useRef("");
|
|
28
|
+
const [logoSrc, setLogoSrc] = useState("/static/logo/logo.png")
|
|
29
|
+
|
|
30
|
+
const [serviceTerms, setServiceTerms] = useState(false);
|
|
31
|
+
|
|
32
|
+
const login = async () => {
|
|
33
|
+
const pwd = await HybridCryptoUtil.encryptRequest(passwordRef.current);
|
|
34
|
+
FetchUtil.post<IUserInfo>("/api/authenticate/login",
|
|
35
|
+
{username: usernameRef.current, password: pwd},
|
|
36
|
+
).then(res => {
|
|
37
|
+
if (res !== null) {
|
|
38
|
+
AuthTools.setUserInfo(res, true);
|
|
39
|
+
navigate('/home/server');
|
|
40
|
+
}
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
console.log('ddd')
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<div className={'lc-login'}>
|
|
47
|
+
<div className={'lc-login-container'}>
|
|
48
|
+
<div className={'login-header'}>
|
|
49
|
+
<div className={'header-logo'}><img src={logoSrc} onError={() => setLogoSrc(logo)} alt={'logo'}/></div>
|
|
50
|
+
<p className={'header-des'}>快捷,高效的数据可视化设计工具</p>
|
|
51
|
+
</div>
|
|
52
|
+
<div className={'login-body'}>
|
|
53
|
+
<div className={'login-item'}>
|
|
54
|
+
<Input prefix={<img alt={'user'} src={user}/>} size={'large'}
|
|
55
|
+
onChange={e => usernameRef.current = e.target.value}
|
|
56
|
+
placeholder={'用户名'}
|
|
57
|
+
defaultValue={usernameRef.current}/>
|
|
58
|
+
</div>
|
|
59
|
+
<div className={'login-item'}>
|
|
60
|
+
<Input prefix={<img alt={'lock'} src={lock}/>} size={'large'}
|
|
61
|
+
onChange={e => passwordRef.current = e.target.value}
|
|
62
|
+
placeholder={'密码'}
|
|
63
|
+
defaultValue={passwordRef.current}
|
|
64
|
+
type={'password'}/>
|
|
65
|
+
</div>
|
|
66
|
+
<div className={'login-item'}><Button size={'large'} style={{width: '100%'}} type="primary"
|
|
67
|
+
onClick={login}>登录</Button>
|
|
68
|
+
</div>
|
|
69
|
+
<div className="service-terms">点击[登录]表示已阅读并同意<span onClick={() => setServiceTerms(true)}>《服务条款》</span></div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
{serviceTerms && <ServiceTerms onClose={() => setServiceTerms(false)}/>}
|
|
73
|
+
</div>
|
|
74
|
+
);
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
export default Login;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import {Modal} from "antd";
|
|
13
|
+
|
|
14
|
+
export default function ServiceTerms(props: { onClose: () => void }) {
|
|
15
|
+
return (
|
|
16
|
+
<Modal title={'LIGHT CHASER PRO数据可视化服务协议'} open={true} footer={null} width={800} onCancel={props.onClose}>
|
|
17
|
+
<div style={{height: 600, overflowY: 'auto', color: '#bcbcbc'}}>
|
|
18
|
+
<p>以下条款及协议是您与LIGHT CHASER RPO的软件开发者(以下简称“我们”)就使用LIGHT CHASER
|
|
19
|
+
PRO数据可视化服务(以下简称“LCP服务”)的相关事项签订的协议。您通过盖章、网络页面点击确认或以其他方式选择接受本服务协议,包括但不限于未点击确认本服务协议而事实上使用了LCP服务,即表示您与我们已达成协议并同意接受本服务协议的全部约定内容。请您务必认真阅读本声明,在确认充分了解后并同意后使用服务。
|
|
20
|
+
</p>
|
|
21
|
+
<p>1. 定义</p>
|
|
22
|
+
<p>1.1.本协议中的“您”是指:所有使用LCP服务的主体(包括但不限于个人、团队、公司、组织等),或称“用户”。</p>
|
|
23
|
+
<p>1.2.LCP服务指由我们独立研发并拥有自主知识产权的软件服务产品。</p>
|
|
24
|
+
<p>2. 协议范围与确认</p>
|
|
25
|
+
<p>2.1.本协议有助于您了解我们为您提供的LCP服务内容及您使用该服务的权利和义务,请您仔细阅读本协议(特别是以粗体及/或下划线标注的内容)。</p>
|
|
26
|
+
<p>2.2.我们可根据国家法律法规变化及服务内容升级、业务发展等需要,不时地修改本协议,本协议一经修订,修订后的协议版本将替代修订前的协议版本,并通过适当的方式(如网站公告、站内信等)向所有用户公布。您应当及时关注和了解本协议的修订情况,若您在协议生效后继续使用LCP服务的,表示您接受变更后的协议。若您不同意变更修改后的协议内容,您有权停止使用相关服务;双方协商一致的,也可另行变更相关服务和对应协议内容。</p>
|
|
27
|
+
<p>2.3.如果您对本服务协议的条款有疑问的,请通过网站(http://www.lcdesigner.cn:9000)公布的联系方式进行询问,我们将向您解释条款内容。如果您不同意本服务协议的任意内容,或者无法准确理解我们对条款的解释,请不要进行后续操作。</p>
|
|
28
|
+
<p>3. 购买与使用</p>
|
|
29
|
+
<p>3.1.一旦您使用了LCP服务,即视为您认可该项服务标明之价格;您购买成功后,该项服务即时生效,我们将授予您LCP服务的使用权限。</p>
|
|
30
|
+
<p>3.2.收费费用标准:具体收费服务的标准以购买合同实际支付标价为准。</p>
|
|
31
|
+
<p>3.3.我们保留您未按照约定支付全部费用之前不向您提供相对应的服务和技术支持,或者终止服务和技术支持的权利。</p>
|
|
32
|
+
<p>3.4.您同意开通LCP服务的使用权限后,您已支付的购买LCP服务的服务费均不作退返。</p>
|
|
33
|
+
<p>3.5.服务到期后,您将无法继续使用LCP服务的相关服务。为避免影响您的正常使用,若您需要继续使用本协议提供的服务,请在服务到期日前提前续费;若因您未及时续费导致的后果及责任由您承担。</p>
|
|
34
|
+
<p>3.6.用户仅可通过授权license +
|
|
35
|
+
账户(用户登陆名+密码)登录的方式使用LCP服务。我们根据用户使用的license和登录账户来确认使用LCP服务的用户身份。开通LCP服务使用权限的账户仅限于用户内部使用,用户不得将该license和账户以任何形式向任何第三方转让、出售、出租、出借等。</p>
|
|
36
|
+
<p>3.7.用户应妥善保管授权license和用户登录名、密码,并对其使用及其遗失自行承担责任。如license、用户登录名、密码遭到未获授权的使用或发生其他安全问题时,用户应立即通知我们,我们对因上述情形产生的遗失或损害不承担责任。</p>
|
|
37
|
+
<p>4. 权利义务</p>
|
|
38
|
+
<p>4.1.您的权利、义务</p>
|
|
39
|
+
<p>4.1.1.您同意遵守本服务协议以及服务展示页面的相关管理规范及流程。上述协议及规范等的内容可能会不时变更。如本服务协议的任何内容发生变动,我们应提前30天通过在网站(www.lcdesigner.cn:9000
|
|
40
|
+
)的适当版面公告的方式向您提示修改内容。如您不同意我们对本服务协议相关条款所做的修改,您有权停止使用LCP服务。如您继续使用LCP服务,则视为您接受我们对本服务协议相关条款所做的修改。
|
|
41
|
+
</p>
|
|
42
|
+
<p>4.1.2.您应按照本服务协议的约定支付相应服务费用。</p>
|
|
43
|
+
<p>4.1.3.您使用LCP服务进行存储、编辑、计算的信息、数据应为符合国家规定的合法数据。</p>
|
|
44
|
+
<p>4.1.4.您不得修改、翻译、改编、出租、在信息网络上传播或转让乙方提供的软件,也不得逆向工程、反编译或试图以其他方式发现乙方提供的软件的源代码。</p>
|
|
45
|
+
<p>4.1.5.您保证并承诺不利用我们提供的服务上传、下载、储存、发布违反法律法规、部门规章或国家政策的内容,不为他人发布该等信息提供任何便利。</p>
|
|
46
|
+
<p>4.1.6.您保证并承诺不进行任何破坏或试图破坏网络安全的行为(包括但不限于黑客,网络诈骗,网站或空间中含有或涉嫌散播:病毒、木马、恶意代码,及通过虚拟服务器对其他网站、服务器进行涉嫌攻击行为如扫描、嗅探、ARP欺骗、DOS等)。</p>
|
|
47
|
+
<p>4.1.7.您在LCP服务中上传、运行的数据及程序,不得包括并禁止任何直接或间接含有下列之目的功能或组件:</p>
|
|
48
|
+
<p>4.1.7.1.避开或试图避开LCP服务及我们所提供的系统防御工具;</p>
|
|
49
|
+
<p>4.1.7.2.含有可能对LCP服务产生不良影响的任何病毒或破坏性数据或程序;</p>
|
|
50
|
+
<p>4.1.7.3.以任何方式干扰或试图干扰LCP服务任何部分或功能的正常运行。</p>
|
|
51
|
+
<p>4.1.8.我们有权审查您的使用行为是否违反上述服务协议,如发现您违反上述条款的约定,我们有权采取包括但不限于立即删除相应信息、中止服务、终止服务等措施。如因您违反上述承诺而给我们造成损失的,您还应自行承担一切法律责任并赔偿损失。</p>
|
|
52
|
+
<p>4.1.9.您不应在LCP服务之上安装、使用盗版软件;您对自己行为(如自行安装的软件和进行的操作)所引起的结果承担全部责任。</p>
|
|
53
|
+
<p>4.1.10.您对自己存放在我们平台上的数据以及进入和管理我们平台上各类产品与服务的口令、密码的完整性和保密性负责。因您维护不当、保密不当或操作不当致使上述数据、密码等丢失或泄漏所引起的一切损失和后果均由您自行承担。</p>
|
|
54
|
+
<p>4.1.11.您须依照《互联网信息服务管理办法》、《互联网电子公告服务管理规定》等法律法规的规定保留自己网站的访问日志记录,包括发布的信息内容及其发布时间、互联网地址(IP)、域名等,国家有关机关依法查询时应配合提供。您自行承担未按规定保留相关记录而引起的全部法律责任。</p>
|
|
55
|
+
<p>4.1.12.您应自行备份存储于我们LCP服务中的数据,我们不负责数据备份。</p>
|
|
56
|
+
<p>4.1.13.为保证您对LCP服务的正常使用,您应仔细阅读我们就LCP服务在网站(https://xiaopujun.github.io/light-chaser-doc) 上的服务说明,依照相关操作指引进行操作。</p>
|
|
57
|
+
<p>4.1.14.您应自行上传需要使用我们LCP服务处理的相关数据。因您的原因致使数据在上传过程中出现的泄漏、丢失等任何风险,均由您自行承担责任。</p>
|
|
58
|
+
<p>4.2.我们的权利、义务</p>
|
|
59
|
+
<p>4.2.1.我们应按照本服务协议的约定及产品页面的服务标准,为您提供服务。</p>
|
|
60
|
+
<p>4.2.2.我们应按照本服务协议的约定,为您开通LCP服务的使用权限。</p>
|
|
61
|
+
<p>4.2.3.服务期限内我们将为您提供如下客户服务:我们为付费用户提供法定工作日内的售后故障服务,并为付费用户提供有效的联系方式并保证付费用户能够联系到故障联系人。故障联系人在明确故障后及时进行反馈。</p>
|
|
62
|
+
<p>4.2.4.我们提供本服务协议规定的技术支持,但不承担因您的原因(包括但不限于代码质量,人为管理疏漏,自身安全管理等)和/或不可抗力以及我们控制范围之外的事项引起的故障,造成的影响和损失。</p>
|
|
63
|
+
<p>5. 用户数据的保存、披露与删除</p>
|
|
64
|
+
<p>5.1.您的用户数据将在下述情况下部分或全部被披露:</p>
|
|
65
|
+
<p>5.1.1.经您同意,向第三方披露;</p>
|
|
66
|
+
<p>5.1.2.根据有管辖权的法律法规、监管机构、司法机构或仲裁机构要求,向第三方或者行政、司法机构披露;</p>
|
|
67
|
+
<p>5.1.3.如果您出现违反中国有关法律法规的情况,需要向第三方披露;</p>
|
|
68
|
+
<p>5.1.4.为提供您所要求的软件或服务,而必须和第三方分享您的数据;</p>
|
|
69
|
+
<p>6. 知识产权</p>
|
|
70
|
+
<p>6.1.您应保证上传到LCP服务的内容、对LCP服务的使用及使用LCP服务所产生的成果未侵犯任何第三方的合法权益。如有第三方基于侵犯版权、侵犯第三人之权益等原因而向我们提起索赔、诉讼,
|
|
71
|
+
您应自行处理上述索赔、诉讼事宜。如因您的行为造成我们损失的,您应赔偿我们因此承担的费用或损失。</p>
|
|
72
|
+
<p>6.2.如果第三方机构提出我们所提供的服务成果有侵权行为,则您应在知情后通知我们,向我们提供相关信息,并允许我们控制辩护与和解(包括减损措施),并在此过程中合理配合。</p>
|
|
73
|
+
<p>6.3.本服务协议签订前已经存在的设计方案图纸、各种说明书、测试数据资料、计算机软件、技术诀窍以及其他技术文档,其知识产权归属原权利人所有。除原权利人明示同意外,您无权复制、传播、转让、许可或提供他人使用上述资源,否则应承担相应的责任。</p>
|
|
74
|
+
<p>7. 保密</p>
|
|
75
|
+
<p>7.1.保密资料指由一方向另一方披露的所有技术及非技术信息(包括但不限于前述知识产权信息、技术资料、技术诀窍、业务经营信息、产品资料、产品计划、价格、客户信息、客户数据、技术说明、设计、特殊公式、算法等)。</p>
|
|
76
|
+
<p>7.2.本服务协议任何一方不得对外披露已获悉的对方的保密资料,并严格限制接触上述保密信息的员工遵守保密义务。</p>
|
|
77
|
+
<p>7.3.双方明确认可各自用户信息和业务数据等是各自的重要资产及重点保密信息。本服务协议双方同意尽最大的努力保护上述保密信息等不被披露。一旦发现有上述保密信息泄露事件,双方应合作采取一切合理措施避免或者减轻损害后果的产生。</p>
|
|
78
|
+
<p>7.4.在下列情形下,披露保密信息的一方不承担法律责任:</p>
|
|
79
|
+
<p>7.4.1.该等披露是根据有管辖权的法律法规、监管机构、司法机构或仲裁机构要求所作出的;</p>
|
|
80
|
+
<p>7.4.2.此信息由一方非基于保密义务获得且不知晓提供此信息的第三方对本合同另一方负有保密义务;</p>
|
|
81
|
+
<p>7.4.3.在没有保密义务的情况下,披露信息的一方在另一方向其提供之前就已获知的信息;</p>
|
|
82
|
+
<p>7.4.4.保密信息已进入公众领域,且这不是披露信息的一方之违约结果;</p>
|
|
83
|
+
<p>7.4.5.经另一方事先批准披露的信息。</p>
|
|
84
|
+
<p>7.5.保密期限不受本合同期限的限制,也不因本合同的变更、中止、解除而丧失对双方的约束力。在本合同履行完毕后两年内,保密信息接受方仍应承担保密义务。</p>
|
|
85
|
+
<p>8. 违约责任</p>
|
|
86
|
+
<p>8.1.除本服务协议另有约定外,双方任何一方不履行本服务协议义务或者履行本服务协议义务不符合约定的,均视为违约,违约方应当承担继续履行、采取补救措施或者赔偿损失等违约责任。</p>
|
|
87
|
+
<p>8.2.下述情形不属于我们违约:</p>
|
|
88
|
+
<p>8.2.1.我们在进行服务器配置、升级、维护时,短时间中断服务的行为;</p>
|
|
89
|
+
<p>8.2.2.由于互联网通路阻塞造成的网站访问速度下降。</p>
|
|
90
|
+
<p>8.3.在法律所允许的最大程度下,对任何一方可能在本服务协议项下所导致的间接的,特定的,偶发的,惩罚性的,超过实际损失的或后果性的损失(包括但不限于购买保险的支出,利润损失,数据丢失,业务损失,商誉损失或收入损失)
|
|
91
|
+
,另一方将不负责赔偿(无论基于何种法律理论,包括但不限于合同,疏忽,严格侵权责任或任何形式的保证),即使另一方已被告知存在导致此类损失可能性。</p>
|
|
92
|
+
<p>8.4.在任何情况下,我们对本服务协议所承担的违约赔偿责任总额不超过向您收取的该违约行为所对应的LCP服务之服务费总额。</p>
|
|
93
|
+
<p>9. 不可抗力</p>
|
|
94
|
+
<p>9.1.不可抗力是指本合同各方由于地震、台风、水灾、火灾、瘟疫流行、战争、网络主干线路中断、黑客攻击、病毒侵袭、网路堵塞、电信部门技术调整和政府管制以及其它不能预见、且对其发生和后果不能防止或不能避免且不可克服的客观情况。</p>
|
|
95
|
+
<p>9.2.因不可抗力或者其他意外事件,使得本服务协议的履行不可能、不必要或者无意义的,遭受不可抗力、意外事件的一方不承担责任。</p>
|
|
96
|
+
<p>9.3.一方迟延履行本合同义务后发生不可抗力的,不能免除责任。</p>
|
|
97
|
+
<p>10. 期限与终止</p>
|
|
98
|
+
<p>10.1.我们LCP服务自您开通服务之日起即可使用,至法律规定或本服务协议约定的终止情形出现之时终止。</p>
|
|
99
|
+
<p>10.2.发生下列情形,LCP服务终止:</p>
|
|
100
|
+
<p>10.2.1.双方协商一致终止;</p>
|
|
101
|
+
<p>10.2.2.您不再使用LCP服务而终止;</p>
|
|
102
|
+
<p>10.3.我们由于自身经营政策的变动,可提前30天通过发布公告、在网站内合适版面发通知或给您发站内通知、书面通知的方式,终止本服务协议项下的服务。</p>
|
|
103
|
+
<p>10.4.如果您严重违反本服务协议,我们有权按本服务协议的相关约定单方面终止服务,并不退还您已经支付的费用(如有):</p>
|
|
104
|
+
<p>10.4.1.您未按照本服务协议的约定履行付款义务;</p>
|
|
105
|
+
<p>10.4.2.您严重违反本服务协议中所做的承诺;</p>
|
|
106
|
+
<p>10.4.3.您严重违反法律规定等。</p>
|
|
107
|
+
<p>11. 法律适用及争议解决</p>
|
|
108
|
+
<p>11.1.本服务协议的成立、有效性、解释、履行及由此产生的争议的解决,均受中华人民共和国法律管辖。</p>
|
|
109
|
+
<p>11.2.在执行本服务协议过程中如发生纠纷,双方应本着友好合作的态度协商解决;如协商不成,任何一方有权向被告所在地有管辖权的法院提起诉讼。</p>
|
|
110
|
+
<p>12. 附则</p>
|
|
111
|
+
<p>12.1.我们在网站(http://www.lcdesigner.cn:9000)相关页面上的服务说明、价格说明和您确认同意的订购页面是本服务协议不可分割的一部分,如果我们在网站(http://www.lcdesigner.cn:9000)相关页面上的服务说明、价格说明和您确认同意的订购页面与本服务协议有不一致之处,以本服务协议为准。</p>
|
|
112
|
+
<p>12.2.本服务协议的知识产权条款(第5条)、保密条款(第6条)、违约责任(第7条)、法律适用及争议解决条款(第10条)在本服务协议终止或被解除后继续有效。</p>
|
|
113
|
+
<p>12.3.本服务协议项下,我们对您的所有通知均可通过网站内通知、手机短信等任一方式进行;该等通知于发送之日即视为已送达收件人。</p>
|
|
114
|
+
<p>12.4.本协议的标题仅为 方便阅读所设,非对条款的定义、限制、解释或描述其范围或界限。</p>
|
|
115
|
+
</div>
|
|
116
|
+
</Modal>
|
|
117
|
+
)
|
|
118
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import URLUtil from "../../../../light-chaser-util/lib/URLUtil.ts";
|
|
13
|
+
import DesignerView from "../../designer/view/DesignerView.tsx";
|
|
14
|
+
|
|
15
|
+
export default function DesignerViewPage() {
|
|
16
|
+
const {id} = URLUtil.parseUrlParams();
|
|
17
|
+
return <DesignerView id={id}/>
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import {useParams} from "react-router-dom";
|
|
13
|
+
import DesignerRelease from "../../designer/release/DesignerRelease.tsx";
|
|
14
|
+
import Base64Util from "light-chaser-util/lib/Base64Util.ts";
|
|
15
|
+
|
|
16
|
+
export default function DesignerReleasePage() {
|
|
17
|
+
const params = useParams();
|
|
18
|
+
return <DesignerRelease id={Base64Util.fromBase64(params.id as string)}/>
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import {useNavigate} from "react-router-dom";
|
|
13
|
+
import {Button, Result} from "antd";
|
|
14
|
+
|
|
15
|
+
export default function Error() {
|
|
16
|
+
const navigate = useNavigate();
|
|
17
|
+
return (
|
|
18
|
+
<Result
|
|
19
|
+
status="500"
|
|
20
|
+
subTitle="服务器错误,请联系管理员"
|
|
21
|
+
extra={<Button type="primary" onClick={() => navigate('/home/server')}>返回首页</Button>}
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import {Button, Result} from "antd";
|
|
13
|
+
import {useNavigate} from "react-router-dom";
|
|
14
|
+
|
|
15
|
+
export default function NoAuth() {
|
|
16
|
+
const navigate = useNavigate();
|
|
17
|
+
return (
|
|
18
|
+
<Result
|
|
19
|
+
status="403"
|
|
20
|
+
subTitle="没有权限访问此页面,请联系管理员申请权限。"
|
|
21
|
+
extra={<Button type="primary" onClick={() => navigate('/home/server')}>返回首页</Button>}
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright © 2023-2025 puyinzhen
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
|
|
6
|
+
*
|
|
7
|
+
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
8
|
+
*
|
|
9
|
+
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import {useNavigate} from "react-router-dom";
|
|
13
|
+
import {Button, Result} from "antd";
|
|
14
|
+
|
|
15
|
+
export default function NotFound() {
|
|
16
|
+
const navigate = useNavigate();
|
|
17
|
+
return (
|
|
18
|
+
<Result
|
|
19
|
+
status="404"
|
|
20
|
+
subTitle="找不到页面"
|
|
21
|
+
extra={<Button type="primary" onClick={() => navigate('/home/server')}>返回首页</Button>}
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
24
|
+
}
|