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,177 @@
|
|
|
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 {CSSProperties, ReactNode, useEffect, useRef, useState} from 'react'
|
|
13
|
+
import {debounce} from "lodash";
|
|
14
|
+
import './ScreenFit.less';
|
|
15
|
+
import {AdaptationType} from 'light-chaser-types/types/CanvasTypes';
|
|
16
|
+
|
|
17
|
+
interface ScreenFitProps {
|
|
18
|
+
children?: ReactNode
|
|
19
|
+
width: number | string
|
|
20
|
+
height: number | string,
|
|
21
|
+
bodyOverflowHidden?: boolean
|
|
22
|
+
delay?: number
|
|
23
|
+
mode?: AdaptationType
|
|
24
|
+
scaleChange?: (xScale: number, yScale: number) => void
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const screenFitStyleMap: Record<string, CSSProperties> = {
|
|
28
|
+
'scale': {overflow: 'hidden'},
|
|
29
|
+
'full-screen': {overflow: 'hidden'},
|
|
30
|
+
'full-x': {overflow: 'hidden scroll'},
|
|
31
|
+
'full-y': {overflow: 'scroll hidden'}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default function ScreenFit(props: ScreenFitProps) {
|
|
35
|
+
const {width, height, bodyOverflowHidden = true, delay = 200, scaleChange} = props
|
|
36
|
+
let bodyOverflow: string
|
|
37
|
+
const elRef = useRef<HTMLDivElement>(null)
|
|
38
|
+
const [size, setSize] = useState({width, height, originalHeight: 0, originalWidth: 0})
|
|
39
|
+
|
|
40
|
+
let observer: MutationObserver;
|
|
41
|
+
|
|
42
|
+
function updateSize() {
|
|
43
|
+
if (size.width && size.height) {
|
|
44
|
+
elRef.current!.style.width = `${size.width}px`
|
|
45
|
+
elRef.current!.style.height = `${size.height}px`
|
|
46
|
+
} else {
|
|
47
|
+
elRef.current!.style.width = `${size.originalWidth}px`
|
|
48
|
+
elRef.current!.style.height = ` ${size.originalHeight}px`
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function updateScale() {
|
|
53
|
+
// 获取真实视口尺寸
|
|
54
|
+
const currentWidth = document.body.clientWidth
|
|
55
|
+
const currentHeight = document.body.clientHeight
|
|
56
|
+
// 获取大屏最终的宽高
|
|
57
|
+
const realWidth = size.width || size.originalWidth
|
|
58
|
+
const realHeight = size.height || size.originalHeight
|
|
59
|
+
// 计算缩放比例
|
|
60
|
+
const widthScale = currentWidth / +realWidth
|
|
61
|
+
const heightScale = currentHeight / +realHeight
|
|
62
|
+
|
|
63
|
+
let scale, domWidth, domHeight, mx, my;
|
|
64
|
+
switch (props.mode) {
|
|
65
|
+
case 'full-screen':
|
|
66
|
+
// 若要铺满全屏,则按照各自比例缩放
|
|
67
|
+
elRef.current!.style.transform = `scale(${widthScale},${heightScale})`
|
|
68
|
+
scaleChange && scaleChange(widthScale, heightScale)
|
|
69
|
+
break;
|
|
70
|
+
case 'full-x': {
|
|
71
|
+
// 宽度铺满,高度按相同比例缩放(保持宽高比)
|
|
72
|
+
elRef.current!.style.transform = `scale(${widthScale}, ${widthScale})`
|
|
73
|
+
elRef.current!.style.transformOrigin = 'left top'
|
|
74
|
+
elRef.current!.style.margin = '0'
|
|
75
|
+
|
|
76
|
+
// 关键修复:计算缩放后的实际显示高度
|
|
77
|
+
const scaledHeight = +realHeight * widthScale
|
|
78
|
+
|
|
79
|
+
// 使用 padding-bottom 撑开父容器,消除 transform 导致的布局空白
|
|
80
|
+
// padding-bottom 会被计入布局高度,解决滚动条问题
|
|
81
|
+
const heightDiff = +realHeight - scaledHeight
|
|
82
|
+
if (heightDiff > 0) {
|
|
83
|
+
// 需要减去差值,因为 transform 缩小后占用空间变小了
|
|
84
|
+
elRef.current!.style.paddingBottom = `0px`
|
|
85
|
+
elRef.current!.style.marginBottom = `-${heightDiff}px`
|
|
86
|
+
} else {
|
|
87
|
+
elRef.current!.style.paddingBottom = `0px`
|
|
88
|
+
elRef.current!.style.marginBottom = `0px`
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
scaleChange && scaleChange(widthScale, widthScale)
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
case 'full-y': {
|
|
95
|
+
// 高度铺满,宽度按相同比例缩放(保持宽高比)
|
|
96
|
+
elRef.current!.style.transform = `scale(${heightScale}, ${heightScale})`
|
|
97
|
+
elRef.current!.style.transformOrigin = 'left top'
|
|
98
|
+
elRef.current!.style.margin = '0'
|
|
99
|
+
|
|
100
|
+
// 同样的逻辑应用到宽度
|
|
101
|
+
const scaledWidth = +realWidth * heightScale
|
|
102
|
+
const widthDiff = +realWidth - scaledWidth
|
|
103
|
+
if (widthDiff > 0) {
|
|
104
|
+
elRef.current!.style.paddingRight = `0px`
|
|
105
|
+
elRef.current!.style.marginRight = `-${widthDiff}px`
|
|
106
|
+
} else {
|
|
107
|
+
elRef.current!.style.paddingRight = `0px`
|
|
108
|
+
elRef.current!.style.marginRight = `0px`
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
scaleChange && scaleChange(heightScale, heightScale)
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
default:
|
|
115
|
+
// 按照宽高最小比例进行缩放
|
|
116
|
+
scale = Math.min(widthScale, heightScale)
|
|
117
|
+
elRef.current!.style.transform = `scale(${scale},${scale})`;
|
|
118
|
+
domWidth = elRef.current!.clientWidth
|
|
119
|
+
domHeight = elRef.current!.clientHeight
|
|
120
|
+
mx = Math.max((currentWidth - domWidth * scale) / 2, 0)
|
|
121
|
+
my = Math.max((currentHeight - domHeight * scale) / 2, 0)
|
|
122
|
+
elRef.current!.style.margin = `${my}px ${mx}px`
|
|
123
|
+
elRef.current!.style.marginBottom = `${my}px`
|
|
124
|
+
scaleChange && scaleChange(scale, scale)
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const onResize = debounce(() => {
|
|
130
|
+
if (!elRef.current) return;
|
|
131
|
+
updateSize()
|
|
132
|
+
updateScale()
|
|
133
|
+
}, delay)
|
|
134
|
+
|
|
135
|
+
function initState() {
|
|
136
|
+
if (bodyOverflowHidden) {
|
|
137
|
+
bodyOverflow = document.body.style.overflow
|
|
138
|
+
document.body.style.overflow = 'hidden'
|
|
139
|
+
}
|
|
140
|
+
observer = new MutationObserver(() => onResize());
|
|
141
|
+
observer.observe(elRef.current!, {
|
|
142
|
+
attributes: true,
|
|
143
|
+
attributeFilter: ['style'],
|
|
144
|
+
attributeOldValue: true
|
|
145
|
+
})
|
|
146
|
+
setSize({
|
|
147
|
+
...size,
|
|
148
|
+
originalWidth: window.screen.width,
|
|
149
|
+
originalHeight: window.screen.height
|
|
150
|
+
})
|
|
151
|
+
updateSize();
|
|
152
|
+
updateScale();
|
|
153
|
+
window.addEventListener('resize', onResize);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
useEffect(() => {
|
|
157
|
+
initState()
|
|
158
|
+
return () => {
|
|
159
|
+
observer.disconnect();
|
|
160
|
+
window.removeEventListener('resize', onResize);
|
|
161
|
+
if (bodyOverflowHidden)
|
|
162
|
+
document.body.style.overflow = bodyOverflow;
|
|
163
|
+
}
|
|
164
|
+
}, [])
|
|
165
|
+
|
|
166
|
+
const scrollStyle = screenFitStyleMap[props.mode || 'scale']
|
|
167
|
+
|
|
168
|
+
return (
|
|
169
|
+
<div style={{...scrollStyle}}
|
|
170
|
+
className={'react-screen-box'}>
|
|
171
|
+
<div className={'screen-wrapper'}
|
|
172
|
+
ref={elRef}>
|
|
173
|
+
{props.children}
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
)
|
|
177
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 React from "react";
|
|
13
|
+
import AbstractDesignerController from "../framework/core/AbstractDesignerController.ts";
|
|
14
|
+
import AbstractDesignerDefinition from "../framework/core/AbstractDesignerDefinition.ts";
|
|
15
|
+
import BaseInfo from "../comps/common-component/base-info/BaseInfo.tsx";
|
|
16
|
+
import AnimationConfig from "../comps/common-component/animation-config/AnimationConfig.tsx";
|
|
17
|
+
import ThemeConfig from "../comps/common-component/theme-config/ThemeConfig.tsx";
|
|
18
|
+
import FilterConfig from "../comps/common-component/filter-config/FilterConfig.tsx";
|
|
19
|
+
import {LCGUI} from "light-chaser-ui/lib/gui/LCGUI.tsx";
|
|
20
|
+
import DataConfig from "../comps/common-component/data-config/DataConfig.tsx";
|
|
21
|
+
import ReactDOM from "react-dom";
|
|
22
|
+
import ObjectUtil from "light-chaser-util/lib/ObjectUtil.ts";
|
|
23
|
+
import ComponentUtil from "light-chaser-util/lib/ComponentUtil.ts";
|
|
24
|
+
import FetchUtil from "../util/FetchUtil.ts";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 以下抛出的全局变量为服务器组件运行所需要的基础环境,在Edit环境下
|
|
28
|
+
* BaseInfo,AnimationConfig,ThemeConfig,FilterConfig,LCGUI必须抛出
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
window['React'] = React;
|
|
32
|
+
window['ReactDOM'] = ReactDOM;
|
|
33
|
+
|
|
34
|
+
window.LightChaserInterface = {
|
|
35
|
+
AbstractDesignerController,
|
|
36
|
+
AbstractDesignerDefinition,
|
|
37
|
+
BaseInfo,
|
|
38
|
+
AnimationConfig,
|
|
39
|
+
ThemeConfig,
|
|
40
|
+
DataConfig,
|
|
41
|
+
FilterConfig
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
window.LightChaserUtil = {
|
|
45
|
+
ObjectUtil,
|
|
46
|
+
ComponentUtil,
|
|
47
|
+
FetchUtil
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
window.LightChaserUI = {
|
|
51
|
+
LCGUI
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export {}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 React from "react";
|
|
13
|
+
import AbstractDesignerController from "../framework/core/AbstractDesignerController.ts";
|
|
14
|
+
import AbstractDesignerDefinition from "../framework/core/AbstractDesignerDefinition.ts";
|
|
15
|
+
import ReactDOM from "react-dom";
|
|
16
|
+
import ObjectUtil from "light-chaser-util/lib/ObjectUtil.ts";
|
|
17
|
+
import ComponentUtil from "light-chaser-util/lib/ComponentUtil.ts";
|
|
18
|
+
import FetchUtil from "../util/FetchUtil.ts";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 以下抛出的全局变量为服务器组件运行所需要的基础环境, 在View环境下仅需抛出组件运行的必要依赖即可。congfig,LCGUI等配置项不需要抛出
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
window['React'] = React;
|
|
25
|
+
window['ReactDOM'] = ReactDOM;
|
|
26
|
+
|
|
27
|
+
window.LightChaserInterface = {
|
|
28
|
+
AbstractDesignerController,
|
|
29
|
+
AbstractDesignerDefinition,
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
window.LightChaserUtil = {
|
|
33
|
+
ObjectUtil,
|
|
34
|
+
ComponentUtil,
|
|
35
|
+
FetchUtil
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
window.LightChaserUI = {}
|
|
39
|
+
|
|
40
|
+
export {}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
export const LIGHT_CHASER_PROJECT_LIST = 'light_chaser_project_list';
|
|
13
|
+
|
|
14
|
+
export const IMAGE_SOURCE_PREFIX = 'image_source_';
|
|
15
|
+
|
|
16
|
+
export const COVER_PREFIX = 'cover_';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
- Copyright © 2023-2025 puyinzhen
|
|
4
|
+
- All rights reserved.
|
|
5
|
+
-
|
|
6
|
+
- 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.
|
|
7
|
+
-
|
|
8
|
+
- This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
9
|
+
-
|
|
10
|
+
- For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
14
|
+
<title>lock</title>
|
|
15
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
16
|
+
<g id="登录" transform="translate(-533.000000, -572.000000)" fill-rule="nonzero">
|
|
17
|
+
<g id="lock" transform="translate(533.000000, 572.000000)">
|
|
18
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
19
|
+
<path d="M13,7.25 L11.9375,7.25 L11.9375,3.75 C11.9375,2.6453125 11.0421875,1.75 9.9375,1.75 L6.0625,1.75 C4.9578125,1.75 4.0625,2.6453125 4.0625,3.75 L4.0625,7.25 L3,7.25 C2.7234375,7.25 2.5,7.4734375 2.5,7.75 L2.5,13.75 C2.5,14.0265625 2.7234375,14.25 3,14.25 L13,14.25 C13.2765625,14.25 13.5,14.0265625 13.5,13.75 L13.5,7.75 C13.5,7.4734375 13.2765625,7.25 13,7.25 Z M5.1875,3.75 C5.1875,3.2671875 5.5796875,2.875 6.0625,2.875 L9.9375,2.875 C10.4203125,2.875 10.8125,3.2671875 10.8125,3.75 L10.8125,7.25 L5.1875,7.25 L5.1875,3.75 Z M12.375,13.125 L3.625,13.125 L3.625,8.375 L12.375,8.375 L12.375,13.125 Z M7.5625,10.953125 L7.5625,11.78125 C7.5625,11.85 7.61875,11.90625 7.6875,11.90625 L8.3125,11.90625 C8.38125,11.90625 8.4375,11.85 8.4375,11.78125 L8.4375,10.953125 C8.6265625,10.8171875 8.75,10.5953125 8.75,10.34375 C8.75,9.9296875 8.4140625,9.59375 8,9.59375 C7.5859375,9.59375 7.25,9.9296875 7.25,10.34375 C7.25,10.5953125 7.3734375,10.8171875 7.5625,10.953125 Z" id="形状" fill="#FFFFFF" opacity="0.65"></path>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
- Copyright © 2023-2025 puyinzhen
|
|
4
|
+
- All rights reserved.
|
|
5
|
+
-
|
|
6
|
+
- 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.
|
|
7
|
+
-
|
|
8
|
+
- This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
|
|
9
|
+
-
|
|
10
|
+
- For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
14
|
+
<title>user</title>
|
|
15
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.65">
|
|
16
|
+
<g id="登录" transform="translate(-533.000000, -508.000000)" fill-rule="nonzero">
|
|
17
|
+
<g id="user" transform="translate(533.000000, 508.000000)">
|
|
18
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
19
|
+
<path d="M13.4140625,11.93125 C13.11875,11.23125 12.69375,10.603125 12.1546875,10.0640625 C11.615625,9.525 10.9875,9.1015625 10.2875,8.8046875 C10.28125,8.8015625 10.275,8.8 10.26875,8.796875 C11.2421875,8.09375 11.875,6.9484375 11.875,5.65625 C11.875,3.515625 10.140625,1.78125 8,1.78125 C5.859375,1.78125 4.125,3.515625 4.125,5.65625 C4.125,6.9484375 4.7578125,8.09375 5.73125,8.7984375 C5.725,8.8015625 5.71875,8.803125 5.7125,8.80625 C5.0125,9.1015625 4.384375,9.525 3.8453125,10.065625 C3.30625,10.6046875 2.8828125,11.2328125 2.5859375,11.9328125 C2.2953125,12.6171875 2.140625,13.34375 2.12496822,14.090625 C2.1234375,14.1609375 2.1796875,14.21875 2.25,14.21875 L3.1875,14.21875 C3.25625,14.21875 3.3109375,14.1640625 3.3125,14.096875 C3.34375,12.890625 3.828125,11.7609375 4.684375,10.9046875 C5.5703125,10.01875 6.746875,9.53125 8,9.53125 C9.253125,9.53125 10.4296875,10.01875 11.315625,10.9046875 C12.171875,11.7609375 12.65625,12.890625 12.6875,14.096875 C12.6890625,14.165625 12.74375,14.21875 12.8125,14.21875 L13.75,14.21875 C13.8203125,14.21875 13.8765625,14.1609375 13.8750318,14.090625 C13.859375,13.34375 13.7046875,12.6171875 13.4140625,11.93125 Z M8,8.34375 C7.2828125,8.34375 6.6078125,8.0640625 6.1,7.55625 C5.5921875,7.0484375 5.3125,6.3734375 5.3125,5.65625 C5.3125,4.9390625 5.5921875,4.2640625 6.1,3.75625 C6.6078125,3.2484375 7.2828125,2.96875 8,2.96875 C8.7171875,2.96875 9.3921875,3.2484375 9.9,3.75625 C10.4078125,4.2640625 10.6875,4.9390625 10.6875,5.65625 C10.6875,6.3734375 10.4078125,7.0484375 9.9,7.55625 C9.3921875,8.0640625 8.7171875,8.34375 8,8.34375 Z" id="形状" fill="#FFFFFF"></path>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,359 @@
|
|
|
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
|
+
body {
|
|
13
|
+
margin: 0;
|
|
14
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
15
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
16
|
+
sans-serif;
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
code {
|
|
22
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
23
|
+
monospace;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* stylelint-disable */
|
|
27
|
+
html,
|
|
28
|
+
body {
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
background: #232323;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input::-ms-clear,
|
|
35
|
+
input::-ms-reveal {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
*,
|
|
40
|
+
*::before,
|
|
41
|
+
*::after {
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
html {
|
|
46
|
+
font-family: sans-serif;
|
|
47
|
+
line-height: 1.15;
|
|
48
|
+
-webkit-text-size-adjust: 100%;
|
|
49
|
+
-ms-text-size-adjust: 100%;
|
|
50
|
+
-ms-overflow-style: scrollbar;
|
|
51
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@-ms-viewport {
|
|
55
|
+
width: device-width;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
body {
|
|
59
|
+
margin: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[tabindex='-1']:focus {
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
hr {
|
|
67
|
+
box-sizing: content-box;
|
|
68
|
+
height: 0;
|
|
69
|
+
overflow: visible;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
h1,
|
|
73
|
+
h2,
|
|
74
|
+
h3,
|
|
75
|
+
h4,
|
|
76
|
+
h5,
|
|
77
|
+
h6 {
|
|
78
|
+
margin-top: 0;
|
|
79
|
+
margin-bottom: 0.5em;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
p {
|
|
84
|
+
margin-top: 0;
|
|
85
|
+
margin-bottom: 1em;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
abbr[title],
|
|
89
|
+
abbr[data-original-title] {
|
|
90
|
+
-webkit-text-decoration: underline dotted;
|
|
91
|
+
text-decoration: underline;
|
|
92
|
+
text-decoration: underline dotted;
|
|
93
|
+
border-bottom: 0;
|
|
94
|
+
cursor: help;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
address {
|
|
98
|
+
margin-bottom: 1em;
|
|
99
|
+
font-style: normal;
|
|
100
|
+
line-height: inherit;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
input[type='text'],
|
|
104
|
+
input[type='password'],
|
|
105
|
+
input[type='number'],
|
|
106
|
+
textarea {
|
|
107
|
+
-webkit-appearance: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
ol,
|
|
111
|
+
ul,
|
|
112
|
+
dl {
|
|
113
|
+
margin-top: 0;
|
|
114
|
+
margin-bottom: 1em;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
ol ol,
|
|
118
|
+
ul ul,
|
|
119
|
+
ol ul,
|
|
120
|
+
ul ol {
|
|
121
|
+
margin-bottom: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
dt {
|
|
125
|
+
font-weight: 500;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
dd {
|
|
129
|
+
margin-bottom: 0.5em;
|
|
130
|
+
margin-left: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
blockquote {
|
|
134
|
+
margin: 0 0 1em;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
dfn {
|
|
138
|
+
font-style: italic;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
b,
|
|
142
|
+
strong {
|
|
143
|
+
font-weight: bolder;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
small {
|
|
147
|
+
font-size: 80%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
sub,
|
|
151
|
+
sup {
|
|
152
|
+
position: relative;
|
|
153
|
+
font-size: 75%;
|
|
154
|
+
line-height: 0;
|
|
155
|
+
vertical-align: baseline;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
sub {
|
|
159
|
+
bottom: -0.25em;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
sup {
|
|
163
|
+
top: -0.5em;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
pre,
|
|
167
|
+
code,
|
|
168
|
+
kbd,
|
|
169
|
+
samp {
|
|
170
|
+
font-size: 1em;
|
|
171
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
pre {
|
|
175
|
+
margin-top: 0;
|
|
176
|
+
margin-bottom: 1em;
|
|
177
|
+
overflow: auto;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
figure {
|
|
181
|
+
margin: 0 0 1em;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
img {
|
|
185
|
+
vertical-align: middle;
|
|
186
|
+
border-style: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
a,
|
|
190
|
+
area,
|
|
191
|
+
button,
|
|
192
|
+
[role='button'],
|
|
193
|
+
input:not([type='range']),
|
|
194
|
+
label,
|
|
195
|
+
select,
|
|
196
|
+
summary,
|
|
197
|
+
textarea {
|
|
198
|
+
touch-action: manipulation;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
table {
|
|
202
|
+
border-collapse: collapse;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
caption {
|
|
206
|
+
padding-top: 0.75em;
|
|
207
|
+
padding-bottom: 0.3em;
|
|
208
|
+
text-align: left;
|
|
209
|
+
caption-side: bottom;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
input,
|
|
213
|
+
button,
|
|
214
|
+
select,
|
|
215
|
+
optgroup,
|
|
216
|
+
textarea {
|
|
217
|
+
margin: 0;
|
|
218
|
+
color: inherit;
|
|
219
|
+
font-size: inherit;
|
|
220
|
+
font-family: inherit;
|
|
221
|
+
line-height: inherit;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
button,
|
|
225
|
+
input {
|
|
226
|
+
overflow: visible;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
button,
|
|
230
|
+
select {
|
|
231
|
+
text-transform: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
button,
|
|
235
|
+
html [type='button'],
|
|
236
|
+
[type='reset'],
|
|
237
|
+
[type='submit'] {
|
|
238
|
+
-webkit-appearance: button;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
button::-moz-focus-inner,
|
|
242
|
+
[type='button']::-moz-focus-inner,
|
|
243
|
+
[type='reset']::-moz-focus-inner,
|
|
244
|
+
[type='submit']::-moz-focus-inner {
|
|
245
|
+
padding: 0;
|
|
246
|
+
border-style: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
input[type='radio'],
|
|
250
|
+
input[type='checkbox'] {
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
padding: 0;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
input[type='date'],
|
|
256
|
+
input[type='time'],
|
|
257
|
+
input[type='datetime-local'],
|
|
258
|
+
input[type='month'] {
|
|
259
|
+
-webkit-appearance: listbox;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
textarea {
|
|
263
|
+
overflow: auto;
|
|
264
|
+
resize: vertical;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
fieldset {
|
|
268
|
+
min-width: 0;
|
|
269
|
+
margin: 0;
|
|
270
|
+
padding: 0;
|
|
271
|
+
border: 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
legend {
|
|
275
|
+
display: block;
|
|
276
|
+
width: 100%;
|
|
277
|
+
max-width: 100%;
|
|
278
|
+
margin-bottom: 0.5em;
|
|
279
|
+
padding: 0;
|
|
280
|
+
color: inherit;
|
|
281
|
+
font-size: 1.5em;
|
|
282
|
+
line-height: inherit;
|
|
283
|
+
white-space: normal;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
progress {
|
|
287
|
+
vertical-align: baseline;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
[type='number']::-webkit-inner-spin-button,
|
|
291
|
+
[type='number']::-webkit-outer-spin-button {
|
|
292
|
+
height: auto;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
[type='search'] {
|
|
296
|
+
outline-offset: -2px;
|
|
297
|
+
-webkit-appearance: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
[type='search']::-webkit-search-cancel-button,
|
|
301
|
+
[type='search']::-webkit-search-decoration {
|
|
302
|
+
-webkit-appearance: none;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
::-webkit-file-upload-button {
|
|
306
|
+
font: inherit;
|
|
307
|
+
-webkit-appearance: button;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
output {
|
|
311
|
+
display: inline-block;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
summary {
|
|
315
|
+
display: list-item;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
template {
|
|
319
|
+
display: none;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
[hidden] {
|
|
323
|
+
display: none !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
mark {
|
|
327
|
+
padding: 0.2em;
|
|
328
|
+
background-color: #feffe6;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
body {
|
|
332
|
+
|
|
333
|
+
::-webkit-scrollbar {
|
|
334
|
+
width: 8px;
|
|
335
|
+
height: 8px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
::-webkit-scrollbar-track {
|
|
339
|
+
background-color: #1E1E2F;
|
|
340
|
+
border-radius: 4px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
::-webkit-scrollbar-thumb {
|
|
344
|
+
background-color: #2C2C3E;
|
|
345
|
+
border-radius: 4px;
|
|
346
|
+
border: 1px solid #3A3A4E;
|
|
347
|
+
transition: all 0.2s ease;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
::-webkit-scrollbar-thumb:hover {
|
|
351
|
+
background: #43435d;
|
|
352
|
+
border-color: #494961;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
::-webkit-scrollbar-corner {
|
|
356
|
+
background: #1E1E2F;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
}
|